Skip to content
Lapis
Esc
navigateopen⌘Jpreview
On this page

Conversion tracking

Connect every conversion to the ChatGPT ad click that produced it, using the Lapis pixel and Conversion API.

Lapis tells you which ChatGPT ad produced each conversion. It runs alongside your existing OpenAI ads tracking and gives you an independent, first-party record of what happened, so you can validate conversions, debug tracking problems, and report results down to the individual campaign, ad group, and ad.

How does Lapis conversion tracking work?

Attribution has three steps. Each one hands the next a small piece of data called the click ID.

  1. A visitor clicks your ChatGPT ad. The Lapis Pixel, a single script tag on your site, detects the visit (utm_source=chatgpt), stores a 30-day first-party cookie, and opens an attributed session.
  2. Your app carries the click ID forward. The sid value inside the lapis_sid cookie travels through your signup or checkout flow so it stays attached to the eventual conversion.
  3. Your backend confirms the conversion. When the order is paid or the account is created, your server sends the event to the Conversion API with that lapis_click_id. Lapis matches it to the ad session, drops duplicates by event ID, and credits the revenue to the exact ad.

The pixel captures browser activity. The Conversion API captures verified, money-in-the-bank conversions from your backend. Most integrations use both.

Which integration guide should I use?

Pick the guide that matches your business. Each one lists the exact events to send and gives you working code.

Your business Guide Primary events
Online store Ecommerce and Shopify order_created, checkout_started
SaaS or self-serve signup SaaS and signups registration_completed, subscription_created
Lead gen or bookings Lead gen and bookings lead_created, appointment_scheduled
Mobile app Mobile apps app_installed, app_opened

Not sure which events you need? Start with Choosing your events.

How do I install on my platform?

The integration is the same everywhere, but the exact place the code goes depends on your site builder. Find yours in Platform setup: Shopify, Framer, Webflow, WordPress and WooCommerce, Google Tag Manager, Next.js or custom code, or other builders.

Is Lapis compatible with the OpenAI Conversions API?

Yes. Lapis payloads are compatible with the OpenAI Conversions API. If you already send server events to OpenAI, you can integrate in two steps: duplicate the call and add lapis_click_id. Lapis can also forward your verified conversions to your OpenAI Ads account server-side, so your conversion signal reaches Ads Manager even if you never install the OpenAI browser pixel.

Was this page helpful?