← Back to Insights

ChatGPT Ads Tracking: The Complete Measurement Guide

How OpenAI Ads tracking actually works, why pixel-only setups undercount, and the exact steps to get pixel and Conversions API measurement running correctly together.

2026-07-08 • Guide

Advertising inside ChatGPT changes the way attribution works. Visitors are not just clicking through traditional search engine links. They are chatting with an AI model, asking for specific product recommendations, and clicking through embedded webviews on mobile devices.

If your store depends only on a client-side JavaScript pixel, you are likely losing 20% to 40% of your conversion data to Safari ITP, ad-blocking extensions, and sudden mobile tab closures.

When conversions vanish, your ad bidding models starve. OpenAI Ads Manager cannot optimize spend if it cannot see who actually bought.

The reliable way forward is hybrid telemetry: running the front-end browser pixel (oaiq) alongside a server-to-server Conversions API (CAPI) pipeline. Both channels report the same conversions using a shared event_id, allowing OpenAI to merge them together and record 100% of your real sales.

Here is how the tracking lifecycle works, how standard event payloads are structured, and how to avoid the common configuration snags that distort ad reporting.

Who this guide is written for

This guide is for anyone running paid campaigns on ChatGPT who needs to verify what happens after someone clicks an ad: growth marketers setting up tracking for the first time, developers asked to implement the tags, and teams auditing an ad dashboard that looks disconnected from real store revenue.

You will need admin access to your OpenAI Ads Manager account and write access to your website templates or Google Tag Manager workspace. Wiring up the Conversions API also requires sending an HTTPS request with an API bearer token from your server application or an edge worker.

The tracking architecture: pixel, CAPI, and Ads Manager

OpenAI Ads tracking relies on three connected layers:

First, the browser pixel downloads from https://bzrcdn.openai.com/sdk/oaiq.min.js. You initialize it with your Pixel ID using oaiq("init", {pixelId: "..."}), and it dispatches events client-side as visitors browse using oaiq("measure", eventName, eventData, options). The pixel also captures the oppref click token from landing URLs and writes it to a first-party __oppref cookie, giving you a 30-day window to tie future purchases back to the ad interaction.

Second, the Conversions API (CAPI) accepts event payloads directly from your backend server over HTTPS. Your server posts to https://bzr.openai.com/v1/events?pid=PIXEL-ID with an Authorization: Bearer API-KEY header. Because this runs on your infrastructure, ad blockers, cookie limits, and closed browser tabs cannot stop it. CAPI does not automatically see client cookies, so your application must extract the __oppref cookie value from the user request and forward it in the payload.

Third, Ads Manager reconciles the two data streams using your shared event identifiers, deduplicating them and crediting conversions to your active campaigns and ad groups.

The browser pixel provides click tokens and referring URLs. CAPI provides guaranteed delivery for every completed transaction.

Supported standard events

OpenAI Ads uses a fixed set of standard event names so campaign models can optimize bidding across accounts:

General page visits trigger page_viewed right after pixel initialization.

Product views emit contents_viewed on single product and detail templates, helping bidding models track item interest.

Adding an item to the shopping cart triggers items_added with the SKU and quantity.

Entering the checkout sequence fires checkout_started.

Completed purchases dispatch order_created. This event requires ISO 4217 minor-unit integer pricing and a currency code (for instance, pass 12999 for a $129.99 USD purchase).

Submitting a consultation inquiry or lead form triggers lead_created.

Account creations fire registration_completed.

Paid recurring memberships trigger subscription_created with recurring amounts.

Starting a software evaluation period fires trial_started.

Mobile app events like app_installed and app_opened remain exclusive to CAPI and require action_source: mobile_app.

Remember that monetary values must always be integers in minor units like cents. Passing decimals like 129.99 will trigger API rejection errors.

Why browser pixels undercount orders

Running only a client-side JavaScript pixel guarantees you will miss conversions. The drop-off happens for predictable reasons:

Ad blockers and privacy extensions block ad network tracking scripts by domain before they ever load into memory.

Safari's Intelligent Tracking Prevention restricts client cookie storage to 24 hours for paid ad traffic, wiping out attribution for buyers who take a few days to convert.

Mobile shoppers paying via Apple Pay, PayPal, or Klarna often close their browser tabs the second the bank confirms the charge, skipping your confirmation page before scripts finish running.

VPNs, browser security settings, and corporate firewalls regularly block third-party analytics calls.

Server CAPI solves this by moving order tracking to your server. When payment clears, your database knows the transaction finished regardless of what happened on the buyer's phone.

The pixel and CAPI hybrid model

The most reliable setup sends the purchase conversion through both channels and lets OpenAI deduplicate them using a matching key:

On the browser pixel, pass an event_id in the options object of oaiq("measure", ...).

On the server CAPI call, send that exact same string in the id field of the event payload.

When OpenAI receives both records with the same Pixel ID and matching event identifier, it merges them into a single attributed conversion.

If you dispatch custom events through both channels, verify that the custom_event_name matches exactly. Any casing or spelling difference will prevent deduplication and double-count the sale.

A few technical limits to keep in mind:

You can batch up to 1,000 events per CAPI request, but a single invalid record will fail the whole batch. Validate your payloads before dispatch.

Timestamps in timestamp_ms must fall within the previous 7 days and cannot be set more than 10 minutes into the future.

CAPI requests should include the forwarded __oppref cookie value so server events receive click attribution even if the browser hit was blocked.

A 6-step implementation checklist

First, grab your Pixel ID from the conversions tab in OpenAI Ads Manager.

Second, add the base loader script from bzrcdn.openai.com to your site <head>, initialize it with your Pixel ID, and make sure your Content Security Policy allows downloads from bzrcdn.openai.com and dispatches to bzr.openai.com. Our pixel install guide breaks down platform-specific steps.

Third, map your standard events across product pages, cart updates, checkout starts, and completed purchases.

Fourth, pass a deterministic event ID to every client-side event call, such as a hash of the order number or cart session ID.

Fifth, dispatch server-side conversions from your backend payment hooks to https://bzr.openai.com/v1/events using the matching event ID and SHA-256 hashed customer identifiers. Review our Conversions API setup guide for complete JSON payloads.

Sixth, inspect your test logs in Ads Manager to verify that browser and server hits merge into a single conversion with 100% deduplication.

You can run that browser check in seconds with our free OpenAI Ads Pixel Helper Chrome extension, which validates oaiq events and __oppref cookies live in your toolbar.

Shopify merchants running these tracking patterns can deploy the Theme App Embed, sandboxed Web Pixel, _oppref cart bridge, and AES-GCM-256 encrypted Conversions API pipeline automatically using our free Y OpenAI Ads Pixel ChatGPT Ads app.

To make long Shopify product pages and editorial guides easier to scan for both mobile shoppers and automated crawlers, add visible semantic HTML TL;DR blocks free with xGeo: AI Product & LLM SEO AEO.

If your team prefers an end-to-end managed implementation, our Pixel + CAPI complete setup handles everything from template integration to cloud worker deployment.

Need ChatGPT tracking installed?

Configured, tested, documented.