Install on Shopify
Sign up for a 30-day Free Trial.
index_mail_icon
Aimerce Blogs
How to Set Up Conversion Tracking in OpenAI Ads Manager for Shopify
17 June 2026
How to Set Up Conversion Tracking in OpenAI Ads Manager for Shopify
OpenAI Ads ManagerConversion TrackingShopify

Abstract: Measurement First, Spend Second

Before you put real budget behind OpenAI Ads, you need conversion tracking that actually works. Without it, OpenAI's algorithm can't optimize toward purchases, your reported ROAS is fiction, and you're flying blind on a brand-new channel. This guide walks Shopify merchants through the full conversion setup in OpenAI Ads Manager [1] — pixel, API key, conversion events, and campaign attachment — using Aimerce [2] to automate the server-side event delivery.

1. Understand the Pieces

OpenAI's conversion system has three parts:

  • Pixel (Data Source): The container that receives your events, identified by a Pixel ID.
  • API Key: A secret token (sk-svcacct-...) that authenticates server-side events sent to the Conversions API.
  • Conversion Events: Registered actions (e.g. Purchase) built on top of standard base events, which you then attach to campaigns for optimization and reporting.

2. Step 1 — Copy Your Pixel ID

  1. In OpenAI Ads Manager [1], open Tools → Conversions and stay on the Data Source tab.
  2. Hover over the pixel row you want to use and click Copy Pixel ID. It's the string under the pixel name, e.g. 2Fpr6SG4h87eMXrACYkfK9.

3. Step 2 — Create an API Key

  1. Click Manage conversion keys at the top right, then + Create new key.
  2. Name it something identifiable (we recommend aimerce).
  3. Click Create and copy the key immediately — OpenAI shows it exactly once. It starts with sk-svcacct-.

⚠️ If you later see 401 Missing scopes ads.third_party_events.write errors, your key lacks conversion-write permission — create a fresh key from this same panel rather than reusing a restricted service-account key.

4. Step 3 — Connect Aimerce

Rather than building and maintaining your own Conversions API integration, let Aimerce [2] handle it:

  1. In the Aimerce dashboard, open the OpenAI Setup page.
  2. Paste your Pixel ID and API Key, then click Submit.
  3. Aimerce sends a validation event to OpenAI and confirms the connection.

From that moment, Aimerce automatically sends all standard OpenAI events from your Shopify store, server-side:

Base Event (OpenAI)Shopper actionSent when
order_createdPurchaseAn order is placed
checkout_startedBegin CheckoutA shopper starts checkout
items_addedAdd to CartA product is added to the cart
contents_viewedView ItemA product page is viewed
page_viewedPage ViewAny page is viewed
lead_createdLeadA shopper submits their email
registration_completedSign UpA shopper creates an account

Because Aimerce sends these with its Durable ID — a persistent first-party identity that survives Safari's ITP, ad blockers, and ChatGPT's in-app browser — OpenAI receives complete conversion data with strong match quality, not the fraction a client-side pixel would capture.

5. Step 4 — Register Conversion Events

Events arriving at your pixel still need to be registered as Conversion Events:

  1. In Tools → Conversions, switch to the Conversion Events tab and click + Create.
  2. Pick a Base Event (start with order_created for Purchase).
  3. Give it a Name, select your pixel as the Data source, and set the Conversion window (default 30 days).
  4. Click Create. Repeat for checkout_started, items_added, and contents_viewed if you optimize on upper-funnel actions.

💡 The Data source dropdown only lists pixels that have already received at least one event. If yours is missing, confirm the Aimerce connection and trigger a test event (e.g. a test purchase) first.

6. Step 5 — Attach Events to Your Campaign

Registering a conversion event only defines it. To actually optimize:

  1. Open Campaigns → Edit Campaign.
  2. Scroll to the conversion events section, pick your event(s) from the Select an event dropdown, and click Add event.
  3. Save.

7. Verify Everything Works

  • In Tools → Conversions, confirm your pixel shows recent events.
  • Place a test order on your store and check that an order_created event arrives.
  • Once the campaign runs, watch conversions populate in campaign reporting within your conversion window.

8. Conclusion

Conversion tracking in OpenAI Ads Manager takes four artifacts — Pixel ID, API key, registered events, and campaign attachment — and one integration decision. With Aimerce [2] handling the server-side event delivery and identity matching, a Shopify brand can go from zero to fully-measured OpenAI Ads campaigns in under fifteen minutes, with the same data quality foundation it already uses for Meta CAPI and Google.


References

[1] OpenAI Ads Manager: https://ads.openai.com/ [2] Aimerce.ai Official Website: https://www.aimerce.ai/

Sign Up for a
30-Day Aimerce Pixel Free Trial
Sign Up Using Your Shopify Account Email
*Money back guaranteed.
Aimerce pays for itself or you don’t pay anything.