ExplainedShare

How ChatGPT Ads track conversions: inside OpenAI's pixel and Conversions API

OpenAI measures what happens after someone clicks a ChatGPT ad with a browser pixel and a server-side API, the foundation for its conversion-optimized campaigns.

By MOBAEO Newsroom··3 min read

Follow
Black and white abstract view of reflections in modern architecture with urban elements.
Photo: Linjie Zhang/Pexels

ChatGPT ads are run through ChatGPT Ads Manager, OpenAI's platform that opened to all businesses in the United States on May 5, 2026. Until then, the only campaign objectives were reach and clicks. To let delivery be optimized for purchases or sign-ups, OpenAI built two measurement tools: a JavaScript pixel and the Conversions API.

According to PPC Land, OpenAI emailed beta advertisers to say that conversion-optimized campaigns would start rolling out in early June 2026. Accounts with conversions set up by June 1 would get early access by June 5. The Conversions objective sits alongside the Reach and Clicks objectives.

What the pixel does

The pixel is a tag that runs in the browser. When someone clicks an ad and lands on the site, it picks up a URL parameter called oppref, which OpenAI's documentation describes as a privacy-preserving identifier, and stores it in a first-party cookie, __oppref. That way, later pages on the same domain can reuse the value without any extra work from the advertiser.

The kit also records the page origin as source_url, timestamps every event and batches events that fire close together before sending them. If the advertiser doesn't supply an event ID, the pixel generates one on its own, which is all you need if you only measure in the browser.

According to Digiday, which reviewed the pixel's code, the action used as the example for developers is a completed registration. Ads Manager lists other events too: lead created, order created, page viewed, subscription created and trial started. At the time of the report, the pixel was available only to some advertisers in the pilot.

The Conversions API and deduplication

The Conversions API sends events straight from the advertiser's servers to OpenAI via a POST request. In the documentation's example, the value is passed in whole cents (2599, or $25.99), with USD as the currency and a list of products that includes an ID, name, type and quantity. Because it never touches the browser, it isn't affected by ad blockers or cookie restrictions.

If you run both tools at once, you need to make sure the same conversion isn't counted twice. To do that, the advertiser generates the event_id and passes the same value as id in the API and as event_id in the pixel, using the same Pixel ID. Matching is done on the Pixel ID, the event name and the event_id; for custom events, custom_event_name is also part of the match.

Implementation tips

The documentation recommends keeping debug: true on during testing so you can see pixel activity in the browser console, using integers for value and quantity, and sticking to documented fields in the product list. The Conversions API should never be called from page code: the pixel is for the browser, and the API is for server-to-server communication.

Much of the budget flowing into ChatGPT is still test-and-learn and innovation money. "What we're actually seeing is budget moving out of the top of the funnel to fund what's being positioned as a new direct-response channel," said Lauren Beerling, who leads performance media at Collective Measures.

For brand teams, the key point is that without a signal from the pixel or the API, the system can't optimize a campaign for outcomes. The same report notes that ChatGPT doesn't yet have the ecosystem of media mix models, incrementality tests and attribution tools that exists around Meta and Google, and that people who convert days later through organic search or direct traffic may lead to ChatGPT's contribution being undercounted, depending on the attribution model OpenAI adopts.

Key questions

How do ChatGPT ads (ChatGPT Ads) work?

Campaigns are created in ChatGPT Ads Manager, with Reach, Clicks and, since June 2026, Conversions as objectives. Conversion optimization depends on the signal sent by the pixel or the Conversions API.

Who can advertise on ChatGPT Ads?

The platform opened to all businesses in the United States on May 5, 2026.

What is the ChatGPT Ads pixel?

It's a JavaScript tag that runs in the browser, captures the oppref parameter from the URL and stores it in the __oppref cookie to measure what people do on the site after clicking an ad.

Which events does the ChatGPT Ads pixel track?

OpenAI's example is a completed registration, and Ads Manager also lists lead created, order created, page viewed, subscription created and trial started.

What's the difference between the ChatGPT Ads pixel and the Conversions API?

The pixel runs in the browser; the API sends events straight from the advertiser's server to OpenAI. Because it doesn't go through the browser, the API isn't affected by ad blockers or cookie restrictions.

How do you avoid duplicate conversions in ChatGPT Ads?

The advertiser generates the event_id and uses the same value as id in the API and as event_id in the pixel, with the same Pixel ID. For custom events, custom_event_name must also match on both sides.

Where can I find help testing the ChatGPT Ads pixel?

OpenAI's developer documentation recommends keeping debug: true on during testing so you can see pixel activity in the browser console. Value and quantity must be integers.

What are the latest updates to ChatGPT Ads?

The biggest is the arrival of conversion-optimized campaigns in early June 2026. Accounts with conversions set up by June 1 got early access by June 5.

Sources: PPC Land, Digiday.