Free tool

OpenAI Pixel Checker

Check whether a website has OpenAI's Measurement Pixel for ChatGPT Ads installed and set up.

Generate my install code

Fill in three things and copy the code for your site. Your Pixel ID is on the conversions tab in Ads Manager.

My site has a cookie banner

1. Add to the <head> of every page

<!-- OpenAI Measurement Pixel -->
<script>
  window.oaiq = window.oaiq || function () { (window.oaiq.q = window.oaiq.q || []).push(arguments); };
</script>
<script async src="https://bzrcdn.openai.com/sdk/oaiq.min.js"></script>
<script>
  oaiq("consent", false); // stay off until the visitor agrees
  oaiq("init", { pixelId: "YOUR_PIXEL_ID" });
</script>

2. Connect your cookie banner

// Call this from your cookie banner when the visitor accepts:
oaiq("consent", true);

// And this if they decline or withdraw consent:
oaiq("consent", false);

3. Measure your success event

// Run once when the form is successfully submitted
var eventId = "lead_" + crypto.randomUUID();
oaiq("measure", "lead_created", { type: "customer_action" }, { event_id: eventId });
// Save eventId with the lead (for example a hidden form field) so your
// server can send the same ID through the Conversions API.

Use the same event ID in the Pixel and the Conversions API for the same action, so OpenAI counts it once.

Using Google Tag Manager?

  1. Create a Custom HTML tag with the head code and fire it on All Pages, after your consent tool loads.
  2. Create a second Custom HTML tag with the measure call, wrapped in a script tag.
  3. Trigger it on your thank-you page or form submit event.
  4. Preview in Tag Manager, then check Pixel debug mode in Ads Manager before you publish.

Check OpenAI's Measurement Pixel docs for the latest snippet. Read the conversion tracking guide

This checks the page's code as loaded. It can't see events sent after clicks or form submits, events sent by a tag manager after load, or your Conversions API. Use Pixel debug mode and Ads Manager to confirm events arrive. Read the conversion tracking guide

How to use

  1. 1

    Enter the page address. Use the page where the pixel should load, usually your homepage or landing page.

  2. 2

    Run the check. We load the page's code once and look for the pixel script, setup, consent and measure calls.

  3. 3

    Fix what's missing. Anything marked not found or warning is worth a look in your site or tag manager.

  4. 4

    Confirm in Ads Manager. Turn on Pixel debug mode and check events arrive after real clicks and form submits.

FAQ

What is the OpenAI Measurement Pixel?

A small script from OpenAI that you add to your website. It reports actions like leads and purchases back to ChatGPT Ads, so you can see which ads drive results.

Why does the checker say 'not found' when I installed it?

If the pixel loads through a tag manager or only after a click, it won't be in the page's code as loaded. Use Pixel debug mode and Ads Manager to confirm events arrive.

Do you store the URLs I check?

No. We don't save the address or the results. We only keep a scrambled version of your IP address for an hour-by-hour limit, and delete it after two days.

Big Hint early access

See which ChatGPT ads book calls

  • Connects ChatGPT Ads to your CRM (GoHighLevel or Zapier)
  • Compares ad groups on leads and booked calls, not just clicks
  • Founding rates for the first agencies and brands
Or plan your first campaign free