All modulesMagento 2 moduleVersion 1.0.0 · 12 Oct 2026

ChatGPT ads tracking

The OpenAI measurement pixel and the server-side Conversions API, so you see which orders came from ads in ChatGPT.

Free · one-off licence, no subscription

ChatGPT ads tracking
About the module

What it does.

"We advertise in ChatGPT but do not know which orders came from there." Without measuring, you do not know whether the ad brings purchases, and you cannot optimise.

What it looks like in practice

In Ads Manager you copy the pixel ID and enter it in the store settings. A visitor clicks an ad in ChatGPT, looks at a product, adds it to the cart and buys. Each of these steps is sent to OpenAI as an event, and the purchase is sent once more from the server so an ad blocker does not lose it. OpenAI merges the two into one purchase and you see the conversions in Ads Manager.

What changes

  • The OpenAI pixel. The pixel loads with your ID, and each standard event (page view, product view, add to cart, checkout started, purchase, registration, newsletter sign-up, search) is switched on separately.
  • Server-side Conversions API. The events you choose are also sent from the server with the same event ID, and OpenAI merges the two. A test mode that only validates events can be turned on.
  • Advanced matching. E-mail, phone and name are hashed (SHA-256) on your server before sending; the raw values never leave the store. Address details can be switched off.
  • Cookie consent. The OpenAI script loads only once the consent cookie is set; events before that are queued.
  • Cache safe. Visitor data comes from an uncached request, so a cached page never carries another visitor's identity.

Who it is for

For shops that already advertise (or will advertise) in ChatGPT through OpenAI Ads and need conversion measurement. The module measures; you run the advertising itself in Ads Manager.

How you set it up

Settings are in the admin under Stores › Configuration › Degriz › OpenAI Ads (ChatGPT) Pixel. You need the pixel ID from Ads Manager (Conversions › Pixels) and, for server-side sending, an API key (Conversions › Manage conversion keys).

Good to know

  • The module is switched off by default; turn it on and enter the pixel ID. The server-side API is separately off.
  • You need an OpenAI Ads account; the module does not create ads.
  • Test the setup with debug mode and "validate only" before you start counting conversions.
  • Sending from the server never blocks an order: failures are logged.
  • The module is free and open source; the disclaimer of the licence applies.

Want it in your store?

Buy the module and we install it for you: free of charge for existing Degriz customers, by time spent for others. Building a new store? Add it to your project in the Konfigurator.

Installation

How to install it.

We install the module from our repository with Composer. We send you the user name and access key for the repository after purchase. If you prefer, we install it for you.

In the root of the Magento 2 store run the commands (replace UPORABNIK and DOSTOPNI_KLJUC with the user name and access key you received):

composer config repositories.degriz composer https://www.degriz.net/konfigurator/composer/packages/composer config --auth http-basic.www.degriz.net UPORABNIK DOSTOPNI_KLJUCcomposer require degriz/module-openai-adsphp bin/magento module:enable Degriz_OpenAiAdsphp bin/magento setup:upgradephp bin/magento setup:di:compilephp bin/magento setup:static-content:deploy -fphp bin/magento cache:flush

Setup

In the admin open Stores › Configuration › Degriz › OpenAI Ads (ChatGPT) Pixel.

  1. In the General group switch the pixel on and enter the pixel ID from Ads Manager (Conversions › Pixels). Turn on debug mode while testing.
  2. In the Events group choose the events the store sends.
  3. If you use a cookie banner, in the Cookie Consent group turn on the consent requirement and enter the cookie your banner sets (for Magento's cookie restriction this is user_allowed_save_cookie).
  4. Walk the funnel product, cart, checkout, purchase and check each event in the browser console.
  5. For server-side sending, in the Conversions API group enter the API key, choose the events (for example purchase, checkout started, add to cart) and first turn on "Validate Only"; turn it off once verified.

Where do I get the user name and the access key?

After the purchase we send you the access key by e-mail. Keep it safe: for security it is shown only once and we do not keep it in readable form. The user name (your project code) and all the commands, ready to copy, are in your account under My account > Module licences.

Lost the key? Write to us and we will issue a new one; the old one stops working. [email protected]

Technical details

Compatibility.

Just the facts.

Code
degriz_openaiads
Platform
Magento 2
Licence
One-off
After purchase

You are not left alone.

We develop and maintain the module ourselves, so you write to the people who know it line by line.

Installation

For existing Degriz customers we install the module free of charge. For other buyers we charge the installation by time spent.

Support

A bug that repeats on a clean Magento with the Luma theme we fix free of charge. Settings, customisations and other themes by time spent.

Updates

The licence includes updates for the Magento versions on the supported list.

We agree on a date after reviewing the request. User guides in the guide centre

ChatGPT ads tracking

Free

One-off licence for one production installation of Magento, no subscription.

Write to us

For existing Degriz customers we install the module free of charge, for others by time spent. We agree on a date after reviewing the request.

Anže Voh, Degriz

Questions about this module?

Write to us and we will answer personally.

[email protected] · 040 807 231

ChatGPT ads trackingFreeAdd to cart

Online store configurator

Redesigning your store or building a new one?

Put your own quote together in the configurator and see the price straight away. A few minutes, no obligation, no meeting needed.

  • Price straight away
  • No obligation
  • Straight to the developer
Open the configurator

Free and with no obligation