Inside the ChatGPT Ad Engine: How OpenAI Tracks and Serves Ads
OpenAI's ChatGPT ad platform functions by injecting contextual ad units into the live conversation stream. These ads are linked to a merchant-side tracking SDK called OAIQ, which uses encrypted tokens to monitor user behavior after a click. This architecture allows OpenAI to maintain a full attribution loop between AI interactions and third-party merchant purchases.
Key Points
- OpenAI injects structured ad units directly into the ChatGPT conversation SSE stream based on the current chat context.
- The system uses four distinct Fernet-encrypted tokens to manage click attribution, spam integrity, and server-side logging.
- A merchant-side SDK called OAIQ tracks post-click behavior and product views, reporting data back to OpenAI's servers.
- Ad creative assets and tracking scripts are hosted on OpenAI-controlled domains like bzrcdn.openai.com.
- Attribution is maintained for up to 30 days using first-party cookies on the merchant's website.
Sentiment
The community is predominantly critical of OpenAI's move to ads, viewing it through the lens of enshittification and broken promises. While a minority defend ads on the free tier as a pragmatic necessity, the prevailing sentiment is deep skepticism toward Altman's credibility and concern about the long-term implications of advertising in conversational AI. The discussion frequently invokes parallels to Google's trajectory and broader surveillance capitalism, with significant anxiety about LLMs becoming propaganda tools.
In Agreement
- The ad infrastructure described in the article confirms what many expected: OpenAI has built a sophisticated tracking and attribution system that mirrors traditional adtech surveillance patterns
- Altman's 'last resort' framing was at best misleading, as ads were likely planned all along or at minimum represent OpenAI's failure to find sustainable alternative monetization
- The specific technical details — Fernet-encrypted tokens, SSE stream ad injection, 30-day cookies — reveal a mature advertising pipeline, not a hastily assembled experiment
- Having ads in a conversational AI assistant is particularly concerning because users develop a trust relationship with the AI that traditional web pages don't enjoy
- The for-profit transition and upcoming IPO make ad-driven enshittification nearly inevitable
Opposed
- Ads are only in the free tier and the cheaper ad-supported plan — the article and discussion overstate the scope by implying paid subscribers are affected
- Ads are delivered as separate UI elements, not injected into the AI's actual responses, making this more comparable to standard web advertising than the insidious scenario critics fear
- Monetizing the free tier via ads is a rational business decision to sustain universal access, exactly as Altman's original statement described
- Ideological bias in LLMs would be quickly detected and users would switch to competitors, limiting the propaganda risk
- LLM ad revenue may be negligible compared to API and subscription revenue, suggesting this is more about IPO optics than a fundamental business model shift