conversion tracking for ChatGPT Ads: pixel and API
Without measurement, a ChatGPT Ads test remains a guess. OpenAI offers the OpenAI Pixel and the Conversions API for this. This post explains how attribution works and what you should set up before starting your first conversion campaign.
As of November 2026. These features are part of the beta. Check details in the Help Center and in OpenAI's developer documentation. For general basics on consent and server-side measurement, see our post setting up tracking properly.
how a conversion is attributed
A conversion is reported when four things come together:
- OpenAI receives an event from a data source connected to your advertising account.
- The event matches a conversion event configured for the campaign.
- It occurs within the attribution window.
- OpenAI can connect it to a click on an ad.
Attribution uses, among other signals, the click reference oppref, eligible matching data and, where available, modelled measurement.
the click reference oppref
OpenAI appends oppref to the landing page URL as a parameter, for example ?oppref=…. The pixel stores the value in a first-party cookie and assigns later events to it. With the Conversions API you can send it along when it is available. Typical mistakes:
- redirects that strip parameters,
- forms or checkout pages on another domain where the value is lost,
- server events sent without oppref.
pixel, conversions api or both?
You can use both. OpenAI recommends the combination for more resilient measurement. If you send the same conversion through both routes, assign the same event ID so OpenAI can recognise duplicates.
- Pixel: quick to install, but only sees what happens in the browser. Consent banners and browser settings affect the data.
- Conversions API: sends events from the server, for example after a purchase or a qualified inquiry. More effort, but less dependent on the browser.
advanced matching
If a click cannot be matched directly, contact data transmitted in normalised, hashed form (SHA-256) can help. The pixel can read it from recognisable forms via "automatic advanced matching" and hash it in the browser. According to OpenAI, raw data is not sent. Only use this if your legal basis and consent cover it.
consent and data protection
OpenAI points out explicitly: only send conversion data once you have clearly informed users and, where legally required, obtained their consent. For websites in the EU this usually means: load the pixel only after consent, update the privacy policy and document server-side transfers. This is not legal advice. Clarify the implementation with your data protection officer.
which campaign goals need tracking?
For the goals reach and clicks, standard reporting is enough. The goal conversion optimisation requires that tracking is set up and at least one supported standard event arrives. Custom events are currently not supported for it. Each campaign optimises for one event, which cannot be changed after launch.
billing with conversion optimisation
- Clicks: you pay for valid clicks. Delivery optimises for conversions after a click.
- Impressions: you pay for impressions served. Optimisation also takes into account conversions that happen after a view without a click. OpenAI notes that choosing clicks lowers the number of conversions.
In both cases you do not pay per conversion. The bid cap is the highest amount you are willing to bid for a conversion. OpenAI currently names no recommended amount.
checklist before launch
- Data source created in Ads Manager.
- Pixel on all relevant pages, event fires on the real action.
- oppref survives redirects and page changes.
- With pixel plus Conversions API: same event ID.
- Consent checked, privacy policy up to date.
- Test purchase or test inquiry made and verified in Ads Manager.
- Target event has enough volume. Rare events make evaluation hard.
why the numbers do not match google analytics
OpenAI itself names typical reasons: different attribution windows, time zones and date boundaries, consent and browser settings, different deduplication and modelled conversions. A difference is therefore not automatically an error. Decide before the test which source counts for the decision, and compare at the end by your own profitability, as described in ROAS is not profit.
Would you like to set up tracking for ChatGPT Ads, Meta and Google together? Ask us for a tracking check.
More on our service: ChatGPT Ads agency. You will find the process, setup and tracking at a glance.