ChatGPT Ads Conversion Tracking: Pixel and Conversions API, Step by Step
How to set up ChatGPT ads conversion tracking with OpenAI's pixel and Conversions API: the 4-step Ads Manager flow, the __oppref click id, event_id deduplication, and why the event you link now powers conversion-optimized bidding.
Viren Inaniyan · August 29, 2026 · ChatGPT Ads

ChatGPT ad clicks without conversion tracking are just expensive referrals you can't attribute. OpenAI ships two measurement paths - a JavaScript pixel and a server-side Conversions API - and the conversion event you wire up now also powers conversion-optimized bidding. Here's how both paths work, how they deduplicate, and the setup order that avoids losing your first campaign's data.
Why tracking got more important in 2026
When ChatGPT ads launched in the US on February 9, 2026, conversion tracking was a reporting nicety - campaigns bid on CPM or plain CPC either way. That changed with conversion-optimized CPC: OpenAI now optimizes delivery toward the conversion event you select, while still charging per click (OpenAI Help Center, "Create campaigns for ChatGPT," 2026).
That makes the pixel a bidding input, not just a scoreboard. A campaign with no linked conversion event can't use conversion optimization at all, and one linked to a weak event - page views dressed up as leads - optimizes toward the wrong thing. Agencies already report measurement gaps as their top complaint about the channel (eMarketer/Digiday, 2026). The fix is unglamorous: set tracking up in the right order before the first dollar of spend. New to the channel? Start with our campaign setup guide - but do the tracking below first.
The four-step flow Ads Manager walks you through
Under Tools → Conversions, OpenAI lays out the sequence: create a data source, create a conversion event, implement and log the event, link the event to a campaign. Each step gates the next.
1. Create the data source (your pixel)
The data source is the pixel - creating one issues a Pixel ID. One pixel per site is the right default; you'll reuse the same ID for the Conversions API later.
2. Create the conversion event
Name the event for the action, not the page - lead_created, not "thank-you-page." OpenAI supports standard event types including lead_created, registration_completed, checkout_started, order_created, subscription_created, and trial_started, plus custom events. Pick the standard type that matches your funnel; standard types are what campaign optimization can read. The default conversion window is 30 days.
3. Implement the pixel
The snippet loads oaiq.min.js from OpenAI's CDN and initializes with your Pixel ID - it belongs in the <head> of every page, not just the conversion page, because the landing-page visit is where the oppref click id gets captured into the __oppref cookie. Events then fire with one call:
oaiq("measure", "lead_created", {}, { event_id: crossSystemUniqueId });Two implementation notes that bite single-page apps:
- Client-side routing doesn't reload the page. If your site is Next.js, React, or anything with an app router, fire
page_viewedon route changes yourself - otherwise OpenAI sees one page view per session. - Generate an
event_idfor every conversion event now, even if you haven't built the server side yet. It's the dedup key that makes adding the Conversions API later painless.
4. Link the event to a campaign
The final step connects the conversion event to your campaign so reporting and bid optimization can see it. This is the step conversion-optimized CPC depends on: the linked event is the signal OpenAI optimizes delivery toward. An unlinked event still logs - but the campaign optimizes blind, and conversion-optimized bidding isn't an option at all.
The Conversions API, for when the browser isn't enough
Ad blockers, iOS privacy features, and consent choices all eat pixel events. The server-side path posts the same events to https://bzr.openai.com/v1/events with a bearer API key from Ads Manager; events can be batched, and OpenAI enforces recency limits on event timestamps (per OpenAI's Conversions API documentation).
Two things the API does not do for you:
- It doesn't capture
oppref. The pixel reads the click id from the URL automatically; your server has to capture it from the landing page (or the__opprefcookie) and pass it with the event, or the conversion can't be matched to the click. - It doesn't dedupe by accident. Send the same
event_idand event name from browser and server against the same Pixel ID, and OpenAI keeps the first arrival, discards the second. Different ids = double-counted conversions and inflated reporting.
User matching fields (email, phone, names) must be SHA-256 hashed after normalization - lowercase, trimmed. Only send what your privacy policy and user consent actually cover.
One more honesty note: pixel-tracked conversions are the floor, not the ceiling. ChatGPT-referred visits routinely land as Direct in GA4 - the attribution gap we cover in our dark agentic commerce traffic guide - so read your OpenAI numbers alongside, not instead of, your analytics.
The same setup works in every market - including India
The pixel, the Conversions API, and the four-step flow are identical whether your account bills in dollars, pounds, or rupees. What differs is timing. The US has had ads since February 2026; the UK, Canada, Australia, New Zealand, Japan, and Korea followed through mid-2026; and India switched on August 27, 2026, with 50+ brands live in the first week (The Hindu BusinessLine, Aug 28, 2026).
The date that matters for Indian merchants: self-serve opens September 4, 2026 - Ads Manager available to any Indian business at a ₹725 minimum daily budget, no agency required (Storyboard18, 2026). If that's you, wire the tracking above this week, before campaigns can go live; clicks that happen before your pixel exists are unrecoverable. For the market-by-market timeline, see our rollout tracker.
What we did on our own site
We wired the pixel behind an environment variable so the code shipped before the pixel existed, then mapped our existing GA4 lead events - form submits from the free Citation Rank scan, contact routes, and gated downloads - to a single OpenAI lead_created event with a generated event_id on every fire. One conversion event, six forms covered, and the Conversions API can slot in later without double-counting.
That single-event setup matters more now that campaigns optimize toward the event you link. Feed it your realest signal. For us that's a scan request - the entry point behind every engagement in our case studies. In our US campaigns running since July 2026, CTR has averaged ~1.3% (our campaign data) - decent clicks, but without this event wiring we'd have no idea which of them turned into revenue.
Where Tru Commerce fits
Conversion tracking tells you what the ad budget bought. It says nothing about the layer above it: whether ChatGPT recommends you organically when a shopper asks what to buy. Those are separate systems - ads never influence ChatGPT's answers (OpenAI, 2026) - and the organic layer is the only one Plus and Pro users ever see. It also converts remarkably well: ChatGPT-referred ecommerce traffic converts at 15.9% versus 1.76% for Google organic (Adobe, 2025).
So sequence it: measure the earned layer before you rent the paid one. Run the free Citation Rank scan to see whether ChatGPT already cites your brand - results in 24 hours, no login. Then, if you do buy the sponsored box, the pixel setup above tells you exactly what it's worth. Everything else we've learned about the channel lives on our ChatGPT Ads hub.
FAQ
Sources
- 1.Ads in ChatGPT: The Basics - OpenAI Help Center, 2026
- 2.Ads Measurement Pixel documentation - OpenAI Developers, 2026
- 3.Ads Conversions API documentation - OpenAI Developers, 2026
- 4.Conversion measurement - OpenAI Help Center, 2026
Continue reading
August 29, 2026
Context Hints, Not Keywords: How ChatGPT Ads Targeting Actually Works
There is no keyword bidding in ChatGPT ads - just a free-text field called context hints. How to write hints that put your ad inside the right conversations, with the framework we use for our own campaigns.
August 29, 2026
Who Is Advertising on ChatGPT? The Named Brands So Far
Target, Williams-Sonoma, Adobe, Ford, Audible, HelloFresh - the confirmed ChatGPT advertisers from the launch pilot, the agencies running them, the India wave, and what the roster tells you about who this channel is for.
August 29, 2026
ChatGPT Ads on Reddit: What Advertisers Actually Report
OpenAI publishes almost no benchmarks, so r/PPC built its own. We read the threads: real CPCs of $2-8, CTRs from 0% to 2.4%, and one recurring complaint that matters more than any number.