OpenAI is launching its advertising network, and its tracking pixel comes with a behaviour you need to be aware of: it assumes consent has been given unless told otherwise. If you wish, ABconsent will automatically inform it of this right from the very first line of your page.

🔐 What the OpenAI pixel does by default

The OpenAI Ads tracking pixel starts by assuming that consent has been given. Unless otherwise indicated, it therefore begins tracking as soon as it loads: before your visitor has seen your banner, and certainly before they have made a choice.

This is where this pixel differs from most others : blocked events are never replayed. Anything that is not measured before the choice is made is not deferred; it is lost. The loading order is therefore not merely an implementation detail: it is what determines the outcome, one way or the other.

🌐 What the option does

Once this option is enabled, ABconsent places the consent signal at the front of the pixel’s call queue, before your own  oaiq("init", …) call.

In practice :

  • if your visitor has not yet made a choice, or has refused: the refusal is sent before the pixel;
  • if they had already accepted during a previous visit: the acceptance is also sent in the very first line. Your tracking does not lose the first few seconds whilst waiting for the banner to close;
  • if they change their mind during the visit : the signal is resent.

You do not need to modify any lines of code: keep the initialisation block provided by OpenAI as it is. ABconsent does not load the OpenAI SDK on your behalf, nor does it add any domains requiring authorisation.

⚙️ Activation in just a few clicks

The integration has been designed to be completely transparent for adtech and analytics teams.

Activation steps :

  1. Go to your ABconsent CMP management console.
  2. Go to the ‘Add-ons’ menu.
  3. Select the ‘Other partners’ tab.
  4. Locate the ‘OpenAI Consent Mode’ block.
  5. Toggle the switch to ‘On’ (this action automatically links the OpenAI partner — Sirdata ID 108 — to your CMP).
  6. Click ‘Save’.

Module configuration (English version) :

In international or multilingual contexts, the settings adjust automatically.

There is just one condition, and it is strict: as with other partners, ABconsent must be loaded before your OpenAI pixel. If it is loaded afterwards, it can no longer prevent the first measurement, and that measurement will not be replayed.

🚀 A first

At the time of publication of this article, ABconsent is the first consent management platform to natively transmit consent to the OpenAI Ads pixel. ‘Natively’ means via a tick box : without having to write a single line of code, and without having to configure a tag template in your tag manager.

🧠 Further reading