← Back to Services
Server CAPI $1,200
Server CAPI Telemetry

ChatGPT Ads Conversions API Setup Service

Implement the OpenAI Ads Conversions API for server-side tracking, oppref capture, event validation, secure key handling, and documentation.

Turnaround: 5-7 business days
Last Reviewed: 2026-07-06

Send conversion events securely from your server, backend, ecommerce platform, or CRM

The OpenAI Ads Conversions API is a direct server-to-server endpoint for transmitting verified conversion events to OpenAI Ads. It receives conversion data directly from your backend systems, independent of the visitor's browser. That makes it the right pipeline for confirmed orders, paid subscriptions, qualified CRM leads, booked appointments, and offline purchases.

Comercio Services plans and implements server-side Conversions API integrations for brands that need deterministic measurement. We handle schema architecture, token persistence, customer data normalization, secure API key provisioning, payload construction, test validation, and technical documentation. We deliver this as an independent engineering engagement for $1,200 flat in 5 to 7 business days.

Request a CAPI Implementation Review | Book a Technical Discovery Call

A ChatGPT Ads Conversions API setup dispatches verified conversion payloads directly from your secure server to OpenAI. A working setup requires your Pixel ID, an authenticated Bearer API key, a unique deduplication event ID, an event type, timestamps in milliseconds, monetary payloads, and attribution tokens like the OpenAI oppref click reference.

What is the OpenAI Ads Conversions API?

The Conversions API operates as an HTTP POST endpoint located at https://bzr.openai.com/v1/events?pid=PIXEL-ID. Requests authenticate with a Bearer API token generated inside OpenAI Ads Manager. The endpoint supports batch payloads up to 1,000 events in a single HTTP request.

Server delivery bypasses client-side limitations. Because the data originates from your own database or billing gateway, ad blockers, browser crashes, and strict privacy extensions cannot intercept the signal. However, CAPI alone does not guarantee automatic attribution. Clean attribution still requires prompt event dispatch, valid click references, explicit user consent, and an active ad interaction.

Common server triggers include:

  • Order confirmation webhooks from Shopify, Stripe, or WooCommerce
  • Recurring subscription renewals in Chargebee or Recurly
  • New user activations in custom PostgreSQL or MySQL databases
  • Lead status updates to "qualified" inside HubSpot or Salesforce
  • Scheduled demo confirmations from your calendar backend
  • POS transactions and offline retail receipts
  • Mobile application install events

What this service includes

1. Server-side tracking discovery

We start by analyzing the systems that confirm your sales and leads. We locate where the conversion record originates:

  • Core application backends in Node.js, Python, Ruby, or PHP
  • Ecommerce platforms like Shopify Plus and Magento
  • Payment processors like Stripe and PayPal
  • CRM databases like HubSpot and Salesforce
  • Server-Side Google Tag Manager environments hosted on GCP or AWS
  • Serverless cloud workers on Cloudflare, Vercel, or AWS Lambda

The best integration point is always the source of truth that confirms payment or contract execution.

2. Conversion event architecture

We define the complete technical blueprint before writing production code:

  • Selected OpenAI standard or custom event names
  • Specific database trigger hooks
  • Deterministic event ID generation strategy for deduplication
  • Millisecond-precision timestamp extraction
  • Action source declarations matching the environment
  • Minor-unit currency and amount translation logic
  • Token persistence strategy for capturing the oppref parameter
  • Retry rules, exponential backoff, and dead-letter queues

We document every decision in an architecture map shared with your engineering team.

3. Pixel ID and API key configuration

Requests to https://bzr.openai.com/v1/events require your Pixel ID as a query parameter and an authorized API key in the authorization header.

Security is paramount. We ensure your API key remains locked inside private environment variables or secret vaults like AWS Secrets Manager and Doppler. Secret keys never touch client-side browser code or public version control. We also draft key rotation protocols and verify separate development sandbox credentials where available.

4. Click reference capture and persistence

The oppref parameter is an attribution token generated by OpenAI when a user clicks an ad in ChatGPT. Browser pixels write this parameter to a first-party __oppref cookie automatically. Server pipelines must capture, store, and forward this token explicitly.

We architect a storage flow suited to your stack:

  1. Extract oppref from the initial landing page URL query parameters.
  2. Persist the token in a secure, first-party cookie or session cache.
  3. Attach the token to the shopper cart, lead form state, or checkout record.
  4. Pass the preserved token in your server-side payload when the transaction completes.

This connects your backend order record back to the ad interaction that created it.

5. Event payload development

Every dispatched event must follow OpenAI's schema.

Key top-level fields include:

  • Unique event identifier (id) used for deduplication against matching browser signals
  • Event taxonomy (type) specifying a standard event name or custom
  • Millisecond Unix timestamp (timestamp_ms) recording the exact conversion moment
  • Custom event label (custom_event_name) when using non-standard events
  • Attribution token (oppref) preserving click reference context
  • Destination URL (source_url) where the user converted
  • Context classification (action_source) detailing where the event took place
  • Hashed customer properties (user) for enhanced identity matching
  • Personalization preference flag (opt_out) defaulting to false
  • Line item details and monetary metrics (data)

We craft lean, compliant payloads that include only verified parameters.

6. Action source definitions

OpenAI uses the action_source field to understand where a conversion happened.

Web conversions executed in a browser use website. Transactions generated inside native iOS or Android software specify mobile_app. CRM updates, sales calls, and signed contracts use phone_call, email, or offline. In-person retail checkout counters use physical_store. Picking the correct source prevents classification warnings in Ads Manager.

7. User data normalization and hashing

When authorized by customer consent and privacy regulations, passing customer data significantly raises attribution rates.

OpenAI supports SHA-256 hashed customer email addresses, hashed stable customer IDs, city, state, postal code, country, IP address, and browser user agent. All email strings must be trimmed of whitespace, converted to lowercase, and hashed with SHA-256 before transmission. Plaintext emails and phone numbers must never be sent over the wire.

Your compliance officer or legal team remains responsible for evaluating consent notices under applicable privacy frameworks.

8. Event validation and sandbox testing

OpenAI provides a validate_only boolean parameter in the API specification. When set to true, the API checks payload syntax without storing the event in your production event history.

We use this parameter extensively during staging to verify:

  • Payload JSON structure and required property presence
  • Timestamp freshness within OpenAI's accepted seven-day window
  • ISO currency codes and integer minor-unit amount formatting
  • Correct normalization of SHA-256 hashed user fields
  • Proper HTTP Bearer token authentication
  • Meaningful error logging on rejected payloads

9. Logging, retry logic, and monitoring

A production pipeline must handle network dropouts gracefully.

We implement structured JSON logging with sensitive customer fields redacted. We set up retry logic with exponential backoff for HTTP 500 and 503 gateway responses. OpenAI accepts batches of up to 1,000 events, but a single malformed event can reject an entire batch. We build payload isolation so valid transactions still go through even if an isolated record fails validation.

10. Ads Manager conversion alignment

Events landing in your ad account must link to active campaign objectives. We verify in Ads Manager that incoming server events show up in the live telemetry stream, that custom event names match perfectly, and that campaigns track the intended conversion action.

11. Documentation and technical handover

We deliver a comprehensive handover packet containing:

  • Complete system architecture diagrams
  • Field-level payload dictionary and transformation rules
  • Secret storage instructions and deployment notes
  • Error handling runbook for your on-call engineering team
  • Verified test transaction logs

Who needs a Conversions API setup?

This server-side package is engineered for companies that:

  • Confirm high-value transactions in backend databases or payment gateways
  • Operate recurring SaaS subscriptions with delayed billing cycles
  • Qualify B2B leads inside CRMs over days or weeks
  • Run headless ecommerce storefronts or native mobile applications
  • Lose significant browser tracking to ad blockers and Safari cookie limits
  • Require an audit-ready server record for revenue reporting

Conversions API compared to Pixel plus CAPI

A server-only setup makes sense when conversions occur entirely outside the browser, like enterprise contract signatures or recurring SaaS invoices.

If your customers interact directly with a public website, we recommend our combined Pixel plus CAPI package. The browser pixel captures real-time navigation and sets the oppref cookie, while CAPI catches confirmed orders with zero browser drop-off. Shared event IDs ensure OpenAI deduplicates the signals into a single verified conversion.

Our implementation workflow

Step 1: Technical discovery

We evaluate your website architecture, database models, payment gateways, CRM tools, and deployment environments.

Step 2: Payload specification

We map your internal data fields to OpenAI's schema, determining event names, amount calculations, and user matching parameters.

Step 3: Attribution design

We establish how your application will read, store, and forward the oppref token from customer landing pages to the final server event.

Step 4: Engineering

We write the server integration, implement webhook listeners or cron jobs, configure HMAC or Bearer authentication, and handle payload formatting.

Step 5: Sandbox validation

We fire test payloads using validate_only: true, verifying that the API returns clean 200 responses without schema warnings.

Step 6: Production deployment

We deploy to production, verify live incoming data in Ads Manager, and confirm that events register against active campaigns.

Step 7: Handover

We transfer complete technical documentation and provide 14 days of dedicated post-launch support.

Example business scenarios

Ecommerce order verification

Your web server receives an orders/create webhook from Shopify or Stripe. The server formats the order total into minor units, attaches the stored oppref token and order ID, and posts an order_created event to OpenAI within seconds of payment capture.

B2B pipeline qualification

A sales rep changes a deal stage to "Contract Signed" inside HubSpot. A CRM webhook triggers a serverless worker that formats customer data and dispatches an event to OpenAI, attributing revenue to the campaign that initiated the lead.

SaaS trial conversion

A free user upgrades to a paid recurring plan three weeks after registration. Because the upgrade occurs inside your application backend, your billing service dispatches subscription_created directly to OpenAI, crediting the original ad click.

What we need to get started

To begin the project, please provide:

  • Overview of your backend application stack and cloud host
  • Access to OpenAI Ads Manager with permissions to create API tokens
  • Pixel ID
  • Staging or test environment access for order processing
  • Access to repository code or webhook handlers
  • Technical point of contact for architecture review

Deliverables

Your completed engagement includes:

  • Production-ready server integration for the OpenAI Conversions API
  • Token capture mechanism for oppref persistence
  • Verified SHA-256 normalization and hashing logic
  • Structured logging and error-retry handling
  • Payload dictionary and architecture documentation
  • 14 days of technical warranty support

Pricing and scopes

Our Conversions API engineering engagements follow fixed, transparent pricing.

The standard ChatGPT Ads Conversions API Setup is $1,200 flat with a delivery turnaround of 5 to 7 business days. It includes architecture planning, backend development, token persistence, validation testing, and technical documentation. If your store also requires client-side pixel installation and shared-ID deduplication, our combined Pixel plus CAPI package is $1,600 flat on the same timeline. If you already have a CAPI script running but see dropped requests or missing event parameters, our standalone Tracking Audit costs $450 with a 48-hour delivery, fully creditable toward any setup package booked within 30 days.

For ongoing operational oversight, we offer monthly retainer packages. Our Tracking Care plan at $350 a month covers API health monitoring, token freshness audits, and minor payload updates. Our Growth Partner plan at $950 a month provides proactive conversion reconciliation, new event endpoint builds, and priority developer support.

All pricing is in USD. Contact us for a scoping call if your architecture includes multiple billing gateways or custom CRM pipelines.

Frequently asked questions

How does the OpenAI Conversions API differ from Meta CAPI?

They are completely distinct systems. While the general concept of server tracking is similar, OpenAI uses its own endpoint (bzr.openai.com), custom payload structures, specific minor-unit currency formatting, and the proprietary oppref token. You cannot point an existing Meta CAPI payload at OpenAI without transformation.

Does CAPI completely replace the browser pixel?

Not for standard web stores. The browser pixel automatically reads click tokens and captures early funnel behavior like product views and cart additions. Using both tools together delivers the highest attribution accuracy.

What is the oppref parameter?

The oppref parameter is OpenAI's privacy-centric click reference token passed in URL query strings after an ad click. Preserving this token through your conversion funnel allows OpenAI to match server events back to the specific campaign and impression that generated them.

How does deduplication work between the pixel and CAPI?

Deduplication requires sending matching identifiers from both sources. You assign the same unique ID (such as an order number) to both the browser pixel event_id and the server payload id. When OpenAI receives both signals within 48 hours, it records a single conversion.

How old can an event timestamp be?

OpenAI currently accepts event timestamps up to seven days in the past and no more than ten minutes in the future. Sending timestamps outside this window results in API rejection.

Can CAPI send mobile app events?

Yes. The Conversions API supports app_installed and app_opened events when the action_source is set to mobile_app.

Can you connect our custom CRM to OpenAI Ads?

Yes. As long as your CRM supports outbound webhooks or provides a REST API, we can build a bridge service that watches for deal updates and fires conversion events to OpenAI.

Are you an official OpenAI agency partner?

No. Comercio Services is an independent telemetry consultancy specializing in measurement infrastructure. We are not affiliated with or endorsed by OpenAI.

Free tools

We provide two free developer utilities to assist with OpenAI tracking:

  • Pixel OpenAI Ads & ChatGPT Ads: A Shopify App Store utility that configures standard pixel and CAPI tracking with zero custom code.
  • OpenAI Ads Pixel Helper: A Chrome extension for inspecting live tracking events in real time.

Request a CAPI implementation review

Ready to build reliable server-side tracking? Send us your technical stack details, conversion objectives, and current Ads Manager status. We will outline the exact integration path for your team.

Request a CAPI Review | Email: servicescomercio@gmail.com | Take the Free Audit

Technical references

  • Official OpenAI Conversions API documentation: https://developers.openai.com/ads/conversions-api
  • Supported standard events: https://developers.openai.com/ads/supported-events
  • Conversions reporting documentation: https://help.openai.com/en/articles/20001214-measure-results
  • OpenAI Measurement Pixel guide: https://developers.openai.com/ads/measurement-pixel
A little more clarity

Good questions.
Straight answers.

Everything else you may want to know before getting started.

What are the OpenAI Ads Pixel and Conversions API?

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.

Why should I track ChatGPT Ads conversions server-side?

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.

Is customer data protected? How are emails and identifiers handled?

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.

How long does a professional tracking setup take?

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.