Browser events
Record customer actions on your website with the OpenAI JavaScript Pixel (oaiq.js).
Understand the architecture behind ChatGPT Ads browser measurement, server events, and Ads Manager attribution.
Give each part of your setup a clear job, then verify that the pieces work together without attribution loss.
Record customer actions on your website with the OpenAI JavaScript Pixel (oaiq.js).
Connect confirmed orders and qualified leads from your backend via Conversions API (/v1/events).
Use shared event identifiers (event_id) to deduplicate signals and prevent attribution loss.
Engineered for major ecommerce platforms, custom stacks, and tag managers.
Official Web Pixel API and server webhooks with customer data sanitization.
Client and Server-side GTM containers with ready-to-deploy template tags.
Full hook integration for checkout, cart updates, and REST API order verification.
Direct REST integration for Next.js, Nuxt, Astro, and headless commerce architectures.
Installing OpenAI Ads on OpenCart requires hooking the measurement pixel into header templates and subscribing to model/checkout/order/addOrderHistory/after events for server-side CAPI delivery. Here is the complete setup guide.
Configuring OpenAI Ads on PrestaShop requires injecting the pixel via displayHeader and sending server-to-server CAPI events on actionValidateOrder to ensure complete attribution across European and global stores. Here is the implementation guide.
Installing OpenAI Ads on Squarespace Commerce requires placing the base pixel in Code Injection, adding purchase tracking to the Order Status page, and connecting an order webhook to server CAPI for zero-loss recovery.
Everything else you may want to know before getting started.
The Measurement Pixel is a browser JavaScript SDK that records website events after someone clicks an ad in ChatGPT. The Conversions API (CAPI) is its server-side counterpart: your backend posts events directly to OpenAI, which makes measurement resilient to ad blockers and browser restrictions. Used together with a shared event ID, they give you deduplicated, more complete conversion data.
Browser-only tracking loses events to ad blockers, tracking prevention (ITP/ETP), consent declines, and multi-session journeys. Server-side CAPI events survive all four. OpenAI recommends using the Conversions API where possible; the pixel + CAPI pair with event deduplication is the reliable default.
Personal identifiers are normalized and hashed with SHA-256 before transmission, following OpenAI documented user-data guidance. Server events carry only what attribution requires, and consent settings are strictly respected.
Readiness audits are delivered in 48 hours. Professional implementations are delivered as fixed-scope engagements within 5 to 7 business days, including full documentation and QA evidence.