How To Set Up the ChatGPT Ads Pixel (Tracking Guide 2026)
Henry Purchase
Co-Founder

If you're running ChatGPT Ads campaigns without conversion tracking, you're flying blind. The platform optimises based on what conversions look like. Without a working pixel and at least one conversion event, ChatGPT has no signal to optimise against. Your ROAS will be worse than it should be and you won't know why.
This is the simplest beginner's tutorial we could write. It covers:
- Creating the ChatGPT Ads pixel inside Ads Manager
- Installing it on WordPress, Squarespace, or any website
- Verifying the install with the free ChatGPT Pixel Helper Chrome extension
- Creating your first conversion event
- Installing the conversion code on your thank-you page
By the end you'll be able to launch your first campaign with tracking working from day one.
| Component | What it does | Where it goes |
|---|---|---|
| Base pixel | Tracks every page view on your site after someone clicks your ad | The site-wide header (every page) |
| Conversion event code | Fires when a specific action happens (form submit, purchase, signup) | Only on the thank-you page that loads after the action |
| ChatGPT Pixel Helper | Free Chrome extension that verifies both pieces are firing correctly | Installed in your browser |
You need all three working before you launch a campaign. Skipping the verification step is the most common reason new accounts burn budget without learning anything.
How ChatGPT Ads Pixel Tracking Actually Works

Two pieces of code do the work.
The base pixel sits in the header of every page on your site. When someone clicks your ChatGPT ad and lands on your site, the pixel runs and tells ChatGPT this visit came from an ad.
The conversion event code sits only on the thank-you page that loads after someone completes the action you care about. When that page loads, the event fires and ChatGPT logs a conversion.
ChatGPT then ties the conversion back to the ad, creative, and conversation it came from, and uses that data to optimise spend toward what's actually working.
If either piece is missing, the loop breaks. If the base pixel fires but no conversion event ever fires, ChatGPT thinks every campaign is failing. If you add a conversion event but the base pixel isn't in the site header, ChatGPT can't attribute the conversion to a specific ad click. Both have to work.
Part 1: Create the ChatGPT Ads Pixel
Step 1. Open Tools and Conversions in Ad Manager
Inside the ChatGPT Ads Manager, click the Tools tab. Then click Conversions. This is where both your pixel and your conversion events live.

Step 2. Click Create, then Data Source
Click Create, then select Data Source. The data source is the pixel.


Step 3. Name the data source and select Web
Give the data source a name. Your company name works fine. Make sure Web is selected as the type, then click Create.

Step 4. Copy the setup code
The next screen shows your setup code. This is the pixel itself. It's a snippet of HTML and JavaScript that needs to go in the site-wide header of every page on your website.
Copy the entire code block. You'll paste it into your site in the next step.

Part 2: Install the Pixel on Your Website
The pixel needs to load on every page on your site. The exact steps depend on your website platform.
WordPress
The fastest way to add a site-wide header script on WordPress is the WPCode plugin (the free version works fine).
- Open WPCode and click Add New.


2. Click Add Your Custom Code, then choose HTML Snippet as the type.

3. Paste in the pixel code you copied from Ads Manager.

4. Under Insertion, select Sitewide Header.

5. Save and activate the snippet.

The pixel now loads on every page on your site.
Squarespace
Squarespace has a built-in code injection feature. No plugin needed.
- From the Squarespace dashboard, open Settings.
- Search for Code Injection in the settings search bar.
- Paste the pixel code into the Header field.
- Save.

Squarespace adds the code to the head of every page automatically.
Other website builders (Webflow, Wix, custom builds, etc.)
The pixel works the same way everywhere. It's an HTML/JavaScript snippet that needs to load on every page. The only thing that changes is where you paste it.
If you're not sure how to add a site-wide header snippet on your specific builder, copy the pixel code into ChatGPT or Claude and ask "how do I add this to the head of every page on a [your platform] website." You'll get specific instructions in seconds.
Shopify
Shopify needs a slightly different approach because of how the storefront theme handles scripts.
Part 3: Verify the Pixel Is Firing With the ChatGPT Pixel Helper
This is the step most people skip. Don't skip it. Verifying takes 30 seconds and saves you from launching a campaign with broken tracking.
We built a free Chrome extension that checks whether your ChatGPT Ads pixel is installed correctly: the ChatGPT Pixel Helper.

How to use it
- Install the ChatGPT Pixel Helper from the Chrome Web Store.
- Open your website in Chrome.
- Click the Pixel Helper icon in your Chrome toolbar.

4. Click Reload Page.
5. The extension will tell you whether the pixel was found, and if so, which pixel ID it detected.
What you should see
If the install worked, you'll see your pixel ID listed. Compare it to the pixel ID in your Ads Manager account to confirm they match. If they do, the pixel is firing correctly on every page of your site.
If the extension shows no pixel detected, the most common causes are:
- The code was pasted into the body of a single page, not the site-wide header
- The WPCode snippet wasn't saved and activated
- The Squarespace code injection field saves on a delay (give it a minute and refresh)
- A caching plugin is serving an old version of the page (purge cache and retry)
Fix the issue and reload. You should see the pixel detected within a few minutes.
Part 4: Create Your First Conversion Event
The pixel alone tracks page views. To track conversions, you need to set up a conversion event for the specific action that matters to your business.
Step 1. Go to Conversion Events
Back in Ads Manager, click Conversion Events in the Conversions area (or click Create and then Conversion Event).

Step 2. Pick a base event
The base event is the action you want to track as a conversion. The easiest setup for most businesses is to track a specific thank-you page view. When the thank-you page loads, the conversion fires.
The most common base events:
- Lead Created — for businesses where the conversion is a form submission, demo request, or contact submission. Most B2B SaaS and service businesses pick this.
- Registration Completed — for businesses where someone signs up for a free trial, account, or webinar.
- Order Created — for ecommerce. Fires after a purchase completes.
Pick whichever matches the conversion that matters most to your business right now. You can add more events later.

Step 3. Select your data source
Choose the pixel you just created. This is critical. The conversion event has to be associated with the pixel that's already installed on your site, or the data won't tie back to your ad clicks.

Step 4. Click Create
Ads Manager generates the conversion event code. This is a small piece of JavaScript that you'll add to the thank-you page only (not site-wide).
Copy the code.

Part 5: Install the Conversion Event Code on Your Thank-You Page
The conversion event code needs to fire only on the thank-you page that loads after the desired action completes. It must not fire site-wide. If it fires on every page, every page view will be logged as a conversion and your data will be unusable.
WordPress (using WPCode)
- Open WPCode and click Add New.
- Click Add Your Custom Code, then choose HTML Snippet as the type.
- Paste the conversion event code into the snippet body.
- Scroll down to Smart Conditional Logic and click Enable Logic.
- Set the condition to: Show this code snippet if Page URL contains [your thank-you page slug]. For example: thank-you or success or confirmation.
- Save and activate.

The code now fires only when the URL of the page contains your thank-you page slug.
Squarespace
- Open the Squarespace editor and navigate to your thank-you page.
- Click Page Settings (the gear icon).
- Open the Advanced tab.
- Paste the conversion event code into the Page Header Code Injection field.
- Save.
The code now loads only on that specific page.
Other builders
The same logic applies on any platform. The conversion event code goes in the header of the thank-you page only. Most page builders have a per-page custom code field somewhere in the page settings.
Part 6: Verify the Conversion Event Is Firing
Use the same Pixel Helper extension to confirm the conversion event is working.
- Open Chrome and navigate to your thank-you page directly (or trigger the action that loads it).
- Click the ChatGPT Pixel Helper icon.
- Click Reload Page.

You should now see both the base pixel detected and the conversion event listed. If the event name matches what you set up in Ads Manager (lead_created, order_created, etc.) and the status is firing correctly, you're done.
You're now ready to launch your first ChatGPT Ads campaign with tracking working from day one.
Common Mistakes to Avoid
1. Putting the conversion event code site-wide
The base pixel is sitewide. The conversion event code is not. Mixing them up means every page view logs as a conversion. Use conditional logic in WPCode or per-page code injection in Squarespace.
2. Forgetting to associate the conversion event with the pixel
When creating the conversion event, the Data Source field has to be set to the pixel you already installed. If it's set to a different data source (or left empty), the conversion data won't tie back to your ad clicks.
3. Launching without verifying
The Pixel Helper takes 30 seconds. Use it. The most expensive mistake in ChatGPT Ads is launching a campaign with broken tracking, spending budget, and only realising weeks later that no conversions are being recorded.
4. Tracking too many events on day one
Start with one conversion event. The one that matters most for your business right now (a lead form submit, a purchase, a signup). Adding 8 conversion events on day one creates noise that makes it harder for the platform to optimise. You can layer in more later once the primary event is working.
5. Not testing on the live site
Pixel Helper checks the actual live page in your browser. Testing on staging or a draft version doesn't count. Make sure the live, public version of your site is what you're verifying against.
How Focal Handles Tracking for Clients
Setting up the pixel and one conversion event is the minimum. For ChatGPT Ads to actually optimise toward revenue, your tracking needs to capture more than that.
Focal is the done-for-you ChatGPT Ads agency that handles full tracking setup as part of every engagement. The work breaks into four parts:
Pixel installation and verification. Whatever platform your site runs on, we install the pixel, verify it with the Pixel Helper, and confirm every page is firing correctly.
Conversion event mapping. We set up the full event taxonomy: leads, registrations, purchases, qualified pipeline. Not just the top-of-funnel events, but the down-funnel ones that tie spend to revenue.
Cross-channel attribution. Most ChatGPT Ads clients are also running Google Ads or Meta Ads. Focal's Google Ads and Meta Ads connectors pipe attribution data from those channels into ChatGPT Ads campaigns, so the optimiser sees the full picture.
Ongoing tracking integrity. Things break. Pages get renamed. Themes get updated. WPCode plugins get deactivated by accident. Our alerts and reports system flags tracking breaks the day they happen instead of weeks later when revenue mysteriously drops.
If you'd rather have a specialist team handle the tracking setup (and everything else), book a free 30-minute discovery call.
Or if you want to keep learning on your own, three more resources:
- Free ChatGPT Pixel Helper Chrome extension. The same tool referenced throughout this post.
- Free ChatGPT Ads tools. No signup, no email gate.
- FutureProof community. 500+ operators sharing what's working on ChatGPT Ads in real time, including tracking and attribution questions.
Frequently Asked Questions
What is the ChatGPT Ads pixel?
The ChatGPT Ads pixel is a small piece of JavaScript that you install in the header of every page on your website. When someone clicks a ChatGPT ad and lands on your site, the pixel records the visit and ties it back to the ad, creative, and conversation it came from. Without the pixel installed, ChatGPT cannot attribute conversions to your campaigns.
How do I find the ChatGPT Ads pixel code?
Inside the ChatGPT Ads Manager, click Tools, then Conversions, then Create, then Data Source. Name the data source, select Web as the type, and click Create. The pixel code appears on the next screen.
Where do I install the ChatGPT Ads pixel on WordPress?
The fastest way is the WPCode plugin (free version is enough). Add a new HTML Snippet, paste the pixel code, set the location to Sitewide Header, save, and activate. The pixel will load on every page of your site.
Where do I install the ChatGPT Ads pixel on Squarespace?
Go to Settings, then search for Code Injection. Paste the pixel code into the Header field and save. Squarespace adds the code to every page automatically.
How do I verify the ChatGPT Ads pixel is firing?
Install the ChatGPT Pixel Helper Chrome extension. Open your website in Chrome, click the extension icon, and click Reload Page. The extension will tell you whether the pixel is detected and what pixel ID it found. Compare that ID to the one in your Ads Manager account to confirm they match.
Where does the conversion event code go?
The conversion event code goes only on the thank-you page that loads after the action you want to track completes. Not site-wide. On WordPress, use WPCode with Smart Conditional Logic set to fire only when the page URL contains your thank-you slug. On Squarespace, use per-page code injection on the thank-you page only.
Can I track multiple conversion events?
Yes. Most ChatGPT Ads accounts track 2 to 4 events: a lead or signup event, a qualified lead or trial event, and a revenue event like Order Created. Start with one, get it working, then layer in more.
Does Focal install the ChatGPT Ads pixel for me?
Yes. Pixel installation, conversion event setup, and ongoing tracking integrity are all part of every Focal engagement. We also flag tracking breaks the day they happen through our alerts system.