How to Audit an OpenAI Ads Tracking Setup
A 7-layer framework for auditing an OpenAI Ads tracking setup yourself: pixel load, CSP, event coverage, payload validity, deduplication, CAPI health, and oppref attribution, with pass criteria for each.
When your payment processor and ad dashboard tell two completely different stories, you have a tracking leak.
If OpenAI Ads Manager reports 12 purchases while your store billing ledger records 28, or if your customer acquisition cost spikes overnight without any changes to your bids or ad creative, conversion data is slipping through the cracks.
Tracking failures are rarely all-or-nothing. Most often, the base pixel script loads cleanly, making everything look fine on the surface, while mobile security settings block checkouts, redirect hops wipe out attribution tokens, or backend payloads omit required deduplication keys.
Diagnosing these leaks requires auditing your tracking infrastructure layer by layer.
The seven-layer tracking audit
Each layer operates independently. Confirming that a JavaScript file loads in the browser does not prove that your server webhooks dispatch clean payloads, or that your event IDs match during deduplication.
Start by verifying pixel delivery. Open DevTools, filter the Network tab by oaiq, and confirm that oaiq.min.js returns an HTTP 200 from bzrcdn.openai.com across all pages.
Next, check your security headers. Inspect the browser console for CSP warnings. Your Content Security Policy must explicitly allow bzrcdn.openai.com in script-src and bzr.openai.com in connect-src and img-src.
Then review event coverage. Walk your store funnel manually. Confirm that catalog views, cart additions, checkout steps, and orders dispatch matching oaiq("measure", ...) calls.
Examine data formatting in detail. Outbound JSON payloads must express monetary amounts as integers in minor currency units, such as 12999 for $129.99 USD, paired with an accompanying three-letter ISO currency code.
Verify event deduplication. Compare the client's event_id against the backend payload's id. They must share the identical Pixel ID, event name, and string identifier to avoid double-counting.
Audit your server infrastructure. Check backend execution logs for outgoing POST calls to https://bzr.openai.com/v1/events and confirm they receive HTTP 200 or 202 status codes.
Finally, check click token attribution. Confirm that the incoming oppref URL parameter sets a first-party __oppref cookie, and verify that your backend order webhook forwards this token into CAPI dispatches.
Consent management banners operate alongside all seven layers. If a consent banner delays script loading until after a user accepts cookies, verify that clicking accept executes the tracking script immediately instead of waiting for a subsequent page load.
Layer 1: Pixel delivery and execution
Open browser developer tools, select the Network tab, and refresh your page. Filter the request list by oaiq. You should see oaiq.min.js returning HTTP 200 from bzrcdn.openai.com.
If no request appears, the script tag is missing from the template or an ad blocker blocked the download. If the request appears in red or fails with a blocked status, inspect your Content Security Policy headers.
Test every core page template across your site, particularly order confirmation and checkout screens. The OpenAI Ads Pixel Helper extension identifies loaded pixel instances and fired events without manual network filtering.
Layer 2: Content Security Policy
If your web server emits Content Security Policy headers, the browser enforces them strictly. Required directives:
script-src must include bzrcdn.openai.com.
connect-src and img-src must include bzr.openai.com.
Check the developer console for error messages mentioning "Content Security Policy" or "refused to load". If violations occur, update your web server configuration, CDN rules, or CMS security headers to permit OpenAI's measurement endpoints.
Layer 3: Event coverage across the funnel
Compare your user journey against the supported event catalog: page_viewed, contents_viewed, items_added, checkout_started, order_created, lead_created, registration_completed, subscription_created, and trial_started. Specifications are listed in the supported events reference.
Walk through your sales funnel manually while monitoring network calls. Common failure points include single-page applications that update DOM views without firing route change hooks, multi-step checkouts that swap templates before the order event dispatches, and lead capture forms nested inside third-party iframes.
Layer 4: Payload formatting and schema compliance
An event can dispatch successfully and still fail ingestion due to formatting errors. Inspect outbound JSON payloads in network developer tools:
Monetary values must be integers formatted in minor currency units (such as 12999 for $129.99 USD). Floating-point decimals cause ingestion errors.
Every monetary value must include an accompanying three-letter ISO currency code.
All required fields for the specific event type must be present. Omitted parameters cause CAPI endpoints to discard transactions during batch processing.
Layer 5: Deduplication consistency
When operating both the browser pixel and server CAPI, complete a test purchase and trace the event through both channels.
Verify that the event_id passed in client options matches the id field sent in the backend CAPI payload.
Verify that both channels dispatch to the identical Pixel ID.
For custom events, verify that the custom_event_name parameter matches across both sides.
Check Ads Manager real-time logs. A single transaction must register as one conversion. If two conversions appear for the same order, the identifiers do not match. Full setup details are covered in deduplicating pixel and CAPI event IDs.
Layer 6: Conversions API infrastructure
CAPI requests transmit server-to-server via an HTTPS POST to https://bzr.openai.com/v1/events?pid=PIXEL-ID using an Authorization Bearer token.
Inspect server execution logs to confirm outgoing calls receive HTTP 200 or 202 confirmations.
Implement error logging that captures rejected batches. Because a single malformed event in a batch of up to 1,000 items causes the entire payload to fail, pre-validate schemas on your server before batching.
Verify that event timestamps (timestamp_ms) reflect the actual transaction time and fall within the previous 7 days.
Layer 7: Click token attribution (oppref)
When visitors click ads inside ChatGPT, the ad platform appends an oppref query parameter to the landing URL. The client pixel reads this value and writes it to a first-party __oppref cookie with a 30-day lifespan.
Because the server CAPI does not extract this cookie automatically, your application must capture the cookie on arrival and forward its value in server payloads.
Test this by clicking a link with an appended oppref test parameter. Check the Application tab in developer tools to confirm the __oppref cookie is set, and confirm your backend order listener includes the token in outbound CAPI requests. Our guide on preserving attribution parameters covers common redirect failure modes.
Categorizing audit findings
Group your audit results into two action buckets:
Address critical fixes first, such as pixel scripts blocked by CSP headers, purchase events failing to fire, deduplication errors inflating conversion counts, and attribution tokens stripped by redirects. These issues directly distort bidding algorithms and budget allocation.
Secondary adjustments can follow, such as minor formatting issues on low-volume secondary events, missing parameters on optional interaction tags, or occasional timestamp warnings on delayed background queues.
Operational re-audit triggers
Audit your tracking pipeline whenever your site infrastructure changes:
Following major theme updates or frontend framework migrations.
After adding or updating checkout applications and payment gateways.
When altering consent banner default preferences.
On a quarterly basis to catch silent redirect changes or CDN rule drift.
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.
Our tracking audit service performs this seven-layer evaluation across your live infrastructure, providing a line-by-line remediation guide and verified event payloads within 48 hours.
Need ChatGPT tracking installed?
Configured, tested, documented.