How to Install the OpenAI Ads Pixel on Shopify (Step by Step)
How to install the OpenAI Ads pixel and Conversions API on Shopify: what you need, where to find your IDs, the manual way, and the 30-second way with Reach.
The short version
- OpenAI Ads tracking needs a Pixel ID (OpenAI's data source) and a way to send events: OpenAI's browser pixel, the Conversions API (server-side), or both.
- You can install them manually (a custom pixel plus a server integration you build and maintain), or use an app that does it for you.
- Reach sends every event server-side through the Conversions API, in about 30 seconds, with no code and no theme edits. Whatever you use, keep one sender per Pixel ID.
- Either way, finish by confirming your events are actually being delivered.
Installing OpenAI Ads tracking on Shopify means getting your store's events to OpenAI: from the browser with OpenAI's pixel, from a server through the Conversions API, or both. The server-side part is what keeps events from getting lost to ad blockers. You can do it by hand, or let an app handle it. Here is exactly what you need, where to find your IDs, and both ways to install it.
What you need before you start
- An OpenAI Ads account with a pixel (data source) created.
- Your Pixel ID.
- Your Conversions API key, for the server-side part.
- Admin access to your Shopify store.
Where to find your OpenAI Ads pixel ID and Conversions API key
Both live in your OpenAI Ads Manager. Go to Tools, then Conversions: open your pixel to copy the Pixel ID, and create the Conversions API key under Conversion keys in the same area. Treat that key like a password: it is what authorizes server-side events, so keep it private. You will paste both wherever you install the pixel.
Option 1: install it manually (the hard way)
Doing it by hand is really two jobs:
- The pixel. Add a custom pixel to your store (in Shopify under Settings then Customer events, or through your theme) and wire it to fire the standard events: page view, product view, add to cart, checkout, and purchase.
- The Conversions API. Build a server-side integration that receives your Shopify events, hashes customer data, sends them to OpenAI's Conversions API (with the same event ID as the browser event, if you run both, so OpenAI counts it once), and handles retries and API version changes.
Part 1 is manageable. Part 2 is real engineering work, and it needs ongoing maintenance every time an event or the API changes. For most stores without a developer on hand, this is where the project stalls, and a pixel with no server-side backup is exactly the setup that under-counts your conversions. (More on why in How to track OpenAI Ads conversions on Shopify.)
Option 2: install it with Reach (the 30-second way)
- Install Reach from the Shopify App Store.
- Paste your Pixel ID and your Conversions API key into the app's setup. Reach checks both with OpenAI before saving.
- Reach adds its own Shopify web pixel (an app embed, no theme edits) to capture your store's events and sends every one server-side through the Conversions API. It does not load OpenAI's browser pixel, so there is one sender and nothing to deduplicate.
- Confirm your events are flowing in the app.
That is the whole setup. No code, no theme edits, and the server-side part that stalls most manual installs is handled and maintained for you.
There is also a third option: OpenAI's own free ChatGPT Ads app for Shopify, currently for US stores, which sends events through its OpenAI Pixel for Shopify. Whichever you pick, use one sender per Pixel ID. Running OpenAI's app and another tracking app on the same Pixel ID counts purchases twice. (Our comparison of the two apps goes deeper.)
How to check your pixel is actually working
Do not assume it worked. Verify it:
- Place a test order or trigger a test event.
- Confirm the event shows up as delivered within a few minutes (Reach shows this live). Conversion totals in OpenAI's campaign reports take 24 to 48 hours.
- Check that delivery looks healthy, with few rejected events. OpenAI's Event Quality score fills in over the following days.
- Confirm purchase events specifically are firing, since those are what conversion campaigns optimize on. With Reach, purchases through a third-party checkout or COD form app bypass Shopify's checkout and are not captured today.
Manual vs Reach, side by side
| Manual | Reach | |
|---|---|---|
| Time to set up | Hours to days | About 30 seconds |
| Requires code | Yes | No |
| Requires a developer | Yes (for the API part) | No |
| Server-side (Conversions API) | You build it | Included |
| Double-count protection | You implement it (shared event IDs) | Server-side only, one sender, stable event IDs |
| Theme edits | Often | None |
| Ongoing maintenance | On you | Handled |
Set up OpenAI Ads tracking the easy way. Get Reach on the Shopify App Store and have server-side tracking running in about 30 seconds, no code required.