Free audit WhatsApp
← All portfolio workOpenAI / ChatGPT Ads Pixel & Conversions API tracking setup portfolio cover.
Organic StoreWordPressOpenAI AdsGTM Web + Server

OpenAI Ads Pixel and Conversion API Tracking Case Study

OpenAI Ads Pixel and Conversions API with Advanced Matching and Dynamic Value

I set up OpenAI Ads Pixel and Conversions API for Organic Store using GTM web and server containers. The captured tests show shopping events received through browser and server channels, with purchase parameters and user data included.

Open original case study PDF ↗
01

The business and the challenge

Organic Store needed openai ads conversion tracking for its website. The goal was to capture the shopping journey and send purchase details to OpenAI Ads, including dynamic order value and user identifiers for matching.

02

My strategy

I configured browser Pixel tags and corresponding event forwarding in the GTM web container, then added a Conversions API tag in the server container. I mapped shopping actions to page_viewed, contents_viewed, items_added, checkout_started, and order_created, and used GTM Preview and the Ads Manager Event Stream to inspect delivery.

03

Connecting the website

I connected GTM to the website and checked the browser Pixel activity. The captured inspector view shows a page_viewed event sent successfully.

GTM connected and browser page_viewed activity inspected.
01GTM connected and browser page_viewed activity inspected.
04

Configuring browser and server tracking

I created five browser event tags and five forwarding tags, then configured the OpenAI Ads Conversions API tag using the Stape template in the server container.

Browser event tags and forwarding tags configured in GTM.
02Browser event tags and forwarding tags configured in GTM.
Stape server shown as Running and linked to the GTM server container.
03Stape server shown as Running and linked to the GTM server container.
Conversions API tag configured in the server container.
04Conversions API tag configured in the server container.
05

Adding purchase value and matching data

I configured dynamic amount, currency, product contents, and an event ID for the purchase tag. User identifier fields were mapped to data layer variables, with a hashed external ID. The Event Stream displays email and external ID SHA-256 fields, plus location fields, with values redacted.

Purchase parameters, user identifier fields, and event ID configured.
05Purchase parameters, user identifier fields, and event ID configured.
Purchase event details include user data and product information.
06Purchase event details include user data and product information.
06

Testing tag firing and event receipt

I tested the shopping journey in both GTM containers. Web Preview shows the browser and forwarding tags firing, while Server Preview shows the Conversions API tag firing. The Ads Manager Event Stream then shows product views, cart additions, checkout, and order events arriving through pixel_sdk and server_to_server channels.

Browser and forwarding tags fired in the captured web test session.
07Browser and forwarding tags fired in the captured web test session.
Conversions API tag fired during server preview testing.
08Conversions API tag fired during server preview testing.
Product view and cart events received through both channels.
09Product view and cart events received through both channels.
Checkout events received through browser and server channels.
10Checkout events received through browser and server channels.
Order events received through browser and server channels.
11Order events received through browser and server channels.
07

Results

The setup delivered OpenAI browser Pixel tags, server event forwarding, a Conversions API tag, and purchase parameter mappings. Captured tests confirm tag firing and event receipt.

08

A thank you for exploring my portfolio

Thank you for reviewing my work. Message me "TRACKING" for priority access to a free website tracking audit. I will check your tags and identify potential tracking issues.

Message “TRACKING” on WhatsApp