ChatGPT Ads conversion tracking: Pixel, API, UTMs and GA4

ChatGPT Ads conversion tracking: the Measurement Pixel, the Conversions API without double counting, consent, UTMs and GA4, set up step by step.

12 min read

Cover card: ChatGPT Ads conversion tracking: Pixel, API, UTMs and GA4

ChatGPT Ads can only report and optimize on the conversions you send back to OpenAI. There are two ways to send them: the Measurement Pixel in the browser and the Conversions API from your server. Many setups should use both, with shared event IDs so nothing counts twice. The full setup follows, with UTMs, GA4 and the reporting details that trip people up.

The toolkit at a glance

ToolWhat it does
PixelJavaScript in the visitor’s browser that records actions on your website.
Conversions APISends events from your server, such as confirmed orders. The only way to send app installs and opens.
EventsTwelve standard events, from page views to purchases, plus custom events.
DeduplicationThe same event name and event ID sent from both places count once.
UTMsStatic UTM parameters, or macros such as {campaign_id}, added to landing page URLs.
AttributionClick-through windows of 7, 14 or 30 days; view-through off or 1 day.
DelayAllow 24 to 48 hours for attributed conversions to appear.

Step 1: Install the Measurement Pixel

  1. Create a Pixel ID in the conversions tab of Ads Manager.
  2. Add OpenAI’s snippet with your Pixel ID near the top of the head section. Do this on every page where you measure conversions. OpenAI puts it early so conversions aren’t lost while the rest of the page loads.
  3. Turn on debug mode while you test, to see Pixel activity in the browser console.

OpenAI says Google Tag Manager works. It must load the snippet on the right pages and not block or reorder the calls. If your site has a Content Security Policy, allow the domains OpenAI lists: bzrcdn.openai.com for the script and bzr.openai.com for sending events.

Step 2: Send the right events

Use a standard event whenever one fits. These are OpenAI’s:

EventUse it for
page_viewedA visit to an important page
contents_viewedA product, listing or article view
items_addedItems added to a cart or selection
checkout_startedThe start of checkout
order_createdA completed purchase
lead_createdA lead form sent or a contact request
appointment_scheduledA meeting, demo or consultation booked
registration_completedAn account or event registration finished
trial_startedA free trial started
subscription_createdA paid subscription started
app_installedAn app install (Conversions API only)
app_openedAn app open (Conversions API only)

Send the order value with purchases. Amounts are whole numbers in the currency’s smallest unit, so a $49.99 order is 4999. A purchase with an event ID for deduplication looks like this:

oaiq("measure", "order_created", {
  type: "contents",
  amount: 4999,
  currency: "USD"
}, {
  event_id: "order_1042"
});

Custom events cover actions no standard event describes. Their names must be 1 to 64 letters, numbers, underscores or dashes, and they can’t be the goal of a conversion-optimized campaign.

Step 3: Add the Conversions API

The Pixel only sees what happens in the browser. The Conversions API sends what your server confirms. That can be a paid order, a lead your team qualified, or an app install, which only the API can send. Our Conversions API implementation guide covers the request, hashing and testing in detail.

Its own key

Server events use a Conversions API key, separate from the Advertiser API key used for account management. Keep both on your server.

The click reference

Capture the oppref value from the ad’s landing page URL and send it with server events. The Pixel does this automatically. The API doesn’t.

The same event ID

Matching uses your Pixel ID, the event name and the event ID, and OpenAI keeps the first event it receives. Use one ID per action in both places.

Safe testing

Adding validate_only: true checks a request without saving the events. Validation-only requests don’t appear in event monitoring.

What a server event contains

A server event is a small record. The fields below are the ones OpenAI’s example uses.

FieldWhat it holds
idA unique ID for the action, reused when retrying and shared with the Pixel
typeThe event name, such as order_created
timestamp_msWhen the action actually happened, in Unix milliseconds
action_sourceWhere it happened, such as web
source_urlThe page where it happened
dataThe event data, such as the amount and currency

Use the real time of the action, not the time you upload it. OpenAI’s event quality checks look for server events arriving within an hour of the action.

US Shopify stores can skip much of this with OpenAI’s Shopify app. It syncs the catalog and sends commerce events through the OpenAI Pixel for Shopify.

TopicWhat OpenAI says
ConsentThe Pixel assumes consent is granted unless you set it to false or it finds a stored denial. If your site needs consent, call oaiq("consent", false) before initializing, and switch it to true when the visitor agrees. Events blocked while consent was off aren’t replayed.
CookiesWith consent, the Pixel sets two first-party cookies: __oppref for 30 days and __obref for 365 days. Setting consent to false removes both.
Customer dataDetails used for matching, such as email addresses, must be normalized and hashed with SHA-256, never sent raw. Automatic advanced matching can detect, hash and send supported form data for you.
What advertisers seeOpenAI shares aggregated performance reporting with advertisers, never people’s ChatGPT conversations.

OpenAI also says conversion data should be shared only when permitted by law and after telling people clearly what you collect. Your own legal advisers should confirm what your business must do.

Step 5: Connect events to campaigns

Three objects connect your site to a campaign, and confusing them is a common cause of zero conversions.

ObjectWhat it is
Data sourceReceives events from your site or server. It has two identifiers: a pixel ID for sending events, and an ID for creating settings.
Conversion event settingDefines which event from that source counts as a conversion, with an attribution window. Sending an event doesn’t create one.
CampaignUses the attached setting for reporting and, when configured, optimization.

A server-only integration still needs a pixel ID, though it doesn’t need the browser Pixel. Keep a note of both identifiers when you create a source, because mixing them up is an easy mistake. The pixel ID initializes the Pixel and sends server events. The other ID selects the source when you create a conversion event setting. Clicks and impressions campaigns can track conversions without changing their objective.

Events count toward a campaign only when a matching conversion event setting is attached to it.

  • For a standard event, the configured type must match the event you send.
  • For a custom event, choose the Custom type and match the event name exactly. A matching display name isn’t enough.
  • Attach the event before traffic starts. OpenAI says fixing a mismatch later doesn’t backfill earlier conversions.
  • A conversion-optimized campaign uses one standard event, chosen at creation and fixed after.

Two less common setups

Most sites need only the Pixel, the Conversions API or both. OpenAI documents two more options for special cases.

The image tag

An image tag sends a conversion when a page loads, without running JavaScript. Each image request sends one event. It suits pages where scripts can’t run, or a fallback inside a noscript element for visitors without JavaScript.

What to knowDetail
Where it goesA hidden 1 by 1 image in the page body
What it sendsOne event per load, with event data in the address
Click referenceIt doesn’t capture oppref. Add it yourself when you have it
DeduplicationReuse its event_id as the Conversions API event’s id, with the same Pixel ID
ConsentRender it only after any consent measurement needs

Use the Pixel for clicks and form submissions after the page loads. The image tag can’t see them.

Several Pixel IDs on one site

One website can measure conversions for more than one advertiser or brand. Load the Pixel once and initialize several Pixel IDs. The measure command sends an event to every initialized Pixel. measureSingle sends it to one named Pixel only. Initialize each Pixel before sending events to it.

Which setup fits your business

The right events depend on how you earn money. This table is our suggestion.

BusinessEvents to sendIntegration
Online storeorder_created with value, checkout_startedPixel, plus the Conversions API for confirmed orders
Lead generationlead_created, appointment_scheduledPixel for the form, the API for qualified leads from your CRM
Softwareregistration_completed, trial_started, subscription_createdPixel for sign-up, the API for billing events
Appapp_installed, app_openedThe Conversions API only

Pick the event that marks a real outcome, and one that happens often enough to learn from. OpenAI warns that an event that happens too rarely makes performance hard to judge. Our conversion tracking service sets this up and tests it.

A purchase, end to end

Take one purchase, to see how the pieces fit. The numbers are illustrative.

  1. A visitor clicks an ad. The landing page URL carries the oppref value, and the Pixel stores it.
  2. The visitor buys. The Pixel sends order_created with an amount of 4999 and the event ID order_1042.
  3. Your server confirms the payment and sends the same event, with the same ID and the oppref value.
  4. OpenAI sees two copies with the same Pixel ID, name and ID. It keeps the first and ignores the second.
  5. The event setting on the campaign matches order_created, so Ads Manager credits the sale.
  6. Order Created Sales and ROAS update after the 24 to 48 hour delay.

If step 3 used a different ID, the purchase would count twice. If step 5’s setting named a different event, it would show zero. Either fault is easy to miss in Ads Manager. So run the test below before any budget goes in. Repeat it after any change to your checkout.

Test before you spend

Test the whole path with real actions, in this order.

  1. Trigger a purchase or lead on your site, or send a test server event.
  2. Check recent events. OpenAI’s monitoring endpoint returns a sample from roughly the last 15 minutes. Browser events show as pixel_sdk, and server events as server_to_server.
  3. Confirm the event type and source match your test.
  4. Check that the event setting is attached to the campaign.
  5. Wait for the reporting delay, then check Ads Manager.

OpenAI also scores each data source, with warnings such as limited matching information or delayed server events. The score refreshes daily from seven complete days, and OpenAI says it doesn’t predict campaign performance. It also says not to send extra events or invent identifiers to raise it.

UTMs and GA4

Ads Manager and your analytics won’t agree exactly. OpenAI’s explanation: analytics sessions depend on page loads, redirects, consent settings, browser blocking, UTM handling, attribution windows and time zones. Compare the same date range and time zone before looking for a problem.

Add static UTM parameters to each ad’s landing page URL, and they carry through on clicks. Or use landing page query parameters with OpenAI’s macros: {campaign_id}, {ad_group_id}, {ad_id} and {ad_account_id}. Ads Manager fills them in at delivery, and the most specific setting wins.

In GA4, give ChatGPT Ads its own channel based on your UTM source and medium. Then paid clicks don’t blend into organic visits from ChatGPT. ad clicks showing as Direct walks through it.

OpenAI also offers a Google Analytics 4 connection in beta, by early access through your account manager. It shares GA4 data with OpenAI to support optimization where eligible, and lets you compare attribution between Ads Manager and GA4. Event mapping isn’t available yet. The event totals it shows cover the whole property, so they aren’t campaign conversions.

Measurement partners

If you already use a measurement tool, it may connect directly. OpenAI’s setup guide covers Fospha, Hightouch, INCRMNTAL, LiveRamp, Northbeam, Rockerbox, Triple Whale and WorkMagic. For apps, its mobile measurement partners are Adjust, Airbridge, AppsFlyer, Branch, Kochava, Singular and Tenjin.

Several ask you to add their own tracking parameters to the campaign’s landing page settings, beside your UTMs. Connections use an Ads Manager API key, or a pixel ID and Conversions API key.

OpenAI named more partners on 5 October 2026. Tealium joins Hightouch and LiveRamp for sending conversion data from your own systems. Haus, Measured and WorkMagic are working with OpenAI on geo-based incrementality experiments, which it says are at an early stage.

Reading the numbers

SettingHow it works
Click window7, 14 or 30 days after a click. OpenAI’s setup example uses 30.
View windowOff, or 1 day after an impression. When a click and a view both qualify, the click gets the credit.
ModelLast-touch, not multi-touch. Changing windows changes reporting only, not bidding or billing.
DatesConversions are dated by the ad click or impression by default. You can switch to the time of the conversion.
PurchasesOrder Created Sales and ROAS come only from order_created events.
DelaysImpressions and clicks about 15 minutes; spend 7 to 8 hours; attributed conversions 24 to 48 hours.

One caution. OpenAI’s Help Center and its reporting docs say the Conversions total includes view-through conversions when the view window is 1 day. Its Measurement Pixel page still describes Conversions as click-through only. Check which column you’re reading, and use the separate click-through and view-through columns when the difference matters.

Troubleshooting checklist

  • The Pixel initializes with the right Pixel ID, and debug mode shows events firing.
  • Amounts and quantities are whole numbers, not strings or decimals.
  • Event names match the conversion settings exactly.
  • Server events carry oppref and reuse the browser’s event IDs.
  • Consent settings aren’t blocking events for visitors who agreed.
  • You’ve waited 24 to 48 hours before calling conversions missing.

If an event fires but Ads Manager shows 0, check that it matches the conversion event set on the campaign. OpenAI says a custom event’s name must match exactly, and events sent under a mismatched setup don’t backfill.

Where to go next

Tracking feeds every other decision. These guides take the next steps.

If you want toRead
Fix visits filed as DirectAd clicks showing as Direct
Implement the server sideConversions API
Choose what to optimize forBidding strategies
Run a first testA 30-day test plan
Work out what conversions are worthWhat ChatGPT Ads cost
Check ads that aren’t deliveringAds not showing
Clear event quality warningsEvent quality
Read reports, windows and exportsReporting
Write hints that match your eventsContext hints

Questions

Do I need both the Pixel and the Conversions API?

Not always. The Pixel alone covers many websites. The Conversions API adds events your server confirms, and app events. If you use both, share event IDs so each conversion counts once. OpenAI also says using both together makes measurement more resilient, so it’s worth the extra setup when conversions are your goal.

Why do ChatGPT Ads and GA4 report different numbers?

They measure different things with different rules. Ad clicks aren’t sessions. OpenAI’s attribution windows aren’t GA4’s. Consent and blocking affect each differently. Compare the same dates and time zone, and treat each as its own view. OpenAI also says a difference doesn’t necessarily mean an error.

Does OpenAI use Pixel data to personalize ads?

OpenAI says it doesn’t currently use data collected through the Pixel for user-level personalization. If that changes, it says it will respect each event’s opt-out setting. An event can carry an opt-out flag now, so you can set it from the start. Keep your own privacy notice accurate either way.

Can I send CRM or offline conversions?

Yes. The Conversions API accepts events from your server, so conversions your CRM records can go in. Send the real time of the action. Reuse the event ID if the same action also fired in the browser. Pass the click reference when you have it. Our Conversions API guide covers the request.

Can I measure without installing the Pixel?

Yes, with a server-only integration. It still needs a pixel ID to identify the data source, but not the browser Pixel. You then lose browser-side events, so confirm that your server can see every action you want to count.

How soon do conversions appear?

Attributed conversions can take 24 to 48 hours to appear in Ads Manager, and totals can change as recent events are processed. Check that events arrive within minutes using the monitoring endpoint. Then wait for reporting before you judge a campaign, and don’t change several settings at once while you wait.

Why does Ads Manager show zero when events fire?

Usually the event you send doesn’t match the one attached to the campaign. It may be a different standard event, or a custom name that isn’t an exact match. Fix it and test with new traffic, because old events won’t backfill.

Want it set up and tested for you? See our tracking and measurement service.

About the author

Editorial team

Guides and trackers from the ChatGPT Ads Agency team. Every platform fact links to OpenAI's own documentation.

Want a straight answer on ChatGPT Ads?

Tell us your category, markets and budget, and we’ll tell you:

  • whether the channel fits your business
  • what a fair first test would cost
  • what we’d do first

Free 30-minute call, and we reply within 24 hours. Minimum ad spend US$3,000 a month.