How do I track a ChatGPT Ads campaign?
ChatGPT Ads, OpenAI’s advertising platform, is tracked in one of two Eulerian channels, as you choose: Display or SEA (sponsored links). Here is the tracking link in Display format, the most common one:
LANDING_PAGE_URL?ead-publisher=chatgpt-ads&ead-name=chatgpt-ads-{campaign_id}&ead-location=chatgpt-ads-{ad_group_id}&ead-creative=chatgpt-ads-{ad_id}&ead-creativetype=1x1&eseg-name=SEGMENT_NAME&eseg-item=SEGMENT_ITEM
The SEA format, which puts ChatGPT Ads alongside Google Ads and Microsoft Advertising, is described further down.
Important
Use the same format in your tracking links and in the ChatGPT Ads spend connector. Otherwise, spend cannot be matched to your traffic.
Prerequisites
- access to your ChatGPT Ads account, to change your ads’ destination URLs;
- the ChatGPT Ads spend connector, configured with the same format and the same publisher name as your links.
Choose the channel
| Channel | What is filled in | Choose it if |
|---|---|---|
Display (ead-) | the Campaign, Location and Creative dimensions | you analyse ChatGPT Ads like your other display campaigns |
SEA (esl-k) | the fields of the esl-k parameter | you compare ChatGPT Ads with your Google Ads and Microsoft Advertising campaigns |
Tracking URL format: Display
LANDING_PAGE_URL?ead-publisher=chatgpt-ads&ead-name=chatgpt-ads-{campaign_id}&ead-location=chatgpt-ads-{ad_group_id}&ead-creative=chatgpt-ads-{ad_id}&ead-creativetype=1x1&eseg-name=SEGMENT_NAME&eseg-item=SEGMENT_ITEM
ChatGPT Ads fills in these macros when the user clicks:
{campaign_id}: the ChatGPT Ads campaign identifier;{ad_group_id}: the ad group identifier;{ad_id}: the ad identifier.
The values you replace yourself:
LANDING_PAGE_URL: the URL of your landing page, withhttp://orhttps://;chatgpt-ads: the publisher name. You can choose another one, on two conditions: use the same one in the spend connector, and keep “chatgpt” or “openai” in it, because the CAPI connector uses it to recognise OpenAI clicks;SEGMENT_NAMEandSEGMENT_ITEM: the name and value of the incoming segment to fill in. These two parameters are optional: remove them if you have no use for them.
Variant: redirect tracking
If your landing page does not carry the Eulerian JavaScript tag (server-side integration), the click first goes through the Eulerian server, which then redirects to your page:
https://TRACKING_SUBDOMAIN/dynclick/SITE_NAME/?ead-publisher=chatgpt-ads&ead-name=chatgpt-ads-{campaign_id}&ead-location=chatgpt-ads-{ad_group_id}&ead-creative=chatgpt-ads-{ad_id}&ead-creativetype=1x1&eseg-name=SEGMENT_NAME&eseg-item=SEGMENT_ITEM&eurl=LANDING_PAGE_URL
TRACKING_SUBDOMAIN: your first-party tracking subdomain, shown in Settings > Collection domain;SITE_NAME: the name of your Eulerian site;eurl: the URL of your landing page. This parameter always comes last in the link.
Tracking URL format: SEA
LANDING_PAGE_URL?esl-k=chatgpt-ads|n|c{ad_id}|m|kepc-{campaign_id}-{ad_group_id}-{ad_id}|p|t|d|a{ad_group_id}|g{campaign_id}&eseg-name=SEGMENT_NAME&eseg-item=SEGMENT_ITEM
The esl-k parameter chains fields separated by |:
| Field | Content |
|---|---|
chatgpt-ads | the publisher name, as declared in Eulerian (same conditions as for the Display format) |
n | the network, left empty |
c{ad_id} | the identifier of the ad behind the click |
m | the match type, left empty |
kepc-{campaign_id}-{ad_group_id}-{ad_id} | the keyword field, built from the campaign, ad group and ad identifiers |
p, t, d | the placement, targeting and device, left empty |
a{ad_group_id} | the ad group identifier |
g{campaign_id} | the campaign identifier |
LANDING_PAGE_URL, SEGMENT_NAME and SEGMENT_ITEM are replaced as in the Display format.
Setting it up
- Choose the channel, Display or SEA, using the table above.
- Build the tracking link: replace
LANDING_PAGE_URL, and the segment parameters if you use them. Leave the macros in curly brackets as they are. - Use this link as the destination URL of your ChatGPT Ads ads.
- In the ChatGPT Ads spend connector, select the same format and the same publisher name.
Check that it works
ChatGPT Ads clicks appear in the chosen channel, Display or sponsored links, under the chatgpt-ads publisher (or whatever name you gave it). Once the spend connector is active, the previous day’s spend is added to these clicks every morning.
Common problems
- Spend is not matched to traffic. The format or the publisher name differs between your links and the spend connector.
- The CAPI connector does not send the OpenAI click reference. The publisher name contains neither “chatgpt” nor “openai”.
- The Eulerian link is wrapped inside another platform’s tracking. Check that this platform does not encode the
|separators or the{ }curly brackets of the macros: they must arrive as they are.
For the general principle of tracking links, see Trafficking: tracking advertising campaigns.