How to track ChatGPT Ads, and ChatGPT traffic, in GA4
GA4 can't tell a ChatGPT ad click from a ChatGPT answer citation, or from the person who saw you in ChatGPT and came back two days later. This guide fixes the first two with a UTM convention and a custom channel group, explains why the third shows up as Direct, and covers OpenAI's new GA4 connection in Ads Manager.
The short answer
To see ChatGPT Ads in GA4, tag every ad URL with utm_source=chatgpt&utm_medium=cpc plus campaign and ad macros, then add a “Paid AI” channel to a custom GA4 channel group, above Referral. Keep organic ChatGPT referrals, which arrive as chatgpt.com, in a separate “AI assistants” channel. Expect GA4 to show fewer ChatGPT conversions than Ads Manager: many buyers return later as “direct”. OpenAI also offers a beta GA4 connection inside Ads Manager for comparing the two.
Three kinds of ChatGPT traffic, and how each looks in GA4
| Traffic | How it arrives | GA4 default channel |
|---|---|---|
| Paid ChatGPT Ads clicks | Your UTMs, plus OpenAI's oppref click reference | Whatever your UTMs say; untagged ads usually land in Referral |
| Organic ChatGPT links (citations inside answers) | Usually utm_source=chatgpt.com and a chatgpt.com referrer | Referral |
| People who saw you in ChatGPT and came back later | Typed URL, bookmark or branded Google search | Direct or Organic Search |
The third row is the biggest and the hardest. Industry analysis suggests only about 40% of ChatGPT-influenced conversions happen in the click session; the rest arrive through channels with no link back. No GA4 setting fixes that, which is why the reconciliation and beyond-GA4 sections below matter.
Step 1: a UTM template for ChatGPT Ads
utm_source=chatgpt&utm_medium=cpc&utm_campaign={campaign_id}&utm_content={ad_id}
- Put it in the ad's landing page query parameters field in Ads Manager (
query_string_templatein the API). UTMs persist on ChatGPT Ads clicks. {campaign_id}and{ad_id}are OpenAI macros filled in at delivery. Our URL parameters guide lists them all, including{ad_group_id}.- Use
chatgpt, neverchatgpt.com, as the source.chatgpt.comis what organic links carry, and you want paid and organic in different rows. - Pick one spelling and never change it. Our UTM builder enforces a consistent convention.
- Check that redirects keep the query string. A redirect that drops it loses both your UTMs and
oppref.
Step 2: a GA4 channel group for AI traffic
- In GA4, open Admin → Data display → Channel groups and select Create new channel group. GA4 starts it as a copy of the default channels.
- Add a channel named Paid AI: session source exactly matches
chatgptand session medium exactly matchescpc. - Add a channel named AI assistants: session source matches regex
chatgpt\.com|perplexity|gemini\.google|copilot|claude\.ai. - Reorder both above Referral and Paid Other. GA4 assigns each session to the first channel whose rule matches, so order matters.
- Save, then pick the new group in the channel dropdown of the Traffic acquisition report.
Custom channel groups apply to past data too, so you can check the split against last month straight away. If you run ads on other AI platforms, extend the Paid AI rule with their sources.
Step 3: make sure the conversion is a key event
GA4 only reports conversions for events marked as key events (Admin → Data display → Events). Check that purchase, generate_lead or sign_up are marked, and that they fire on the same success state as your OpenAI pixel. If the two fire at different moments, the numbers can never agree.
Step 4: a ChatGPT Ads report in GA4
Create an Exploration (Free form). Rows: Session source / medium, then Session campaign. Values: Sessions, Key events, Total revenue. Filter to chatgpt / cpc. Because utm_campaign holds the campaign ID, export Ads Manager's campaign report and join on the ID to compare GA4 and Ads Manager line by line.
Step 5 (optional): OpenAI's GA4 connection
OpenAI now lets you connect a GA4 property inside Ads Manager. It's in beta, so ask your account manager for access.
- In Ads Manager, go to Conversions → Data Sources → Create and choose Google Analytics 4.
- Review the terms, select Agree, and sign in with a Google account that has at least Viewer access to the property.
- Choose the property, check its name and ID, and select Select property and import.
- In Preview data mapping, map GA4 events to Ads Manager events, for example
generate_leadto Lead Created andpage_viewto Page Viewed. - In Campaigns, open Customize columns and add GA4 Conversions.
What you get: read-only aggregate reports (dates, event names and counts, source/medium, campaign names, key-event counts and purchase revenue), an initial import of the previous 30 completed days, and daily updates. One account can connect one property. The catch OpenAI spells out: these totals cover the whole property's traffic, so they aren't conversions attributed to your ads and they aren't ROAS. Use them to compare, not to report results.
Why GA4 and Ads Manager never match, and how to compare them
| Difference | Ads Manager | GA4 |
|---|---|---|
| Who gets credit | The ChatGPT ad click (or a 1-day view, depending on your settings) | The session's source; a later direct visit gets the credit |
| Click window | 7, 14 or 30 days (30 by default) | Your GA4 attribution settings |
| Date used | Ad interaction time or conversion time, depending on the reporting basis | Event time |
| Blocked browsers | Recovered if you also send the Conversions API | Lost |
| Modeled conversions | May be included where available | Not for this |
Before you call either number wrong, compare the same dates and time zone, the same conversion event, the same click and view windows, and the same revenue definition (tax, shipping, discounts). OpenAI's own example: someone clicks an ad, comes back later directly, and buys. GA4 says Direct, Ads Manager credits the ad, and the purchase still happened only once. Our main guide's two conversion totals section covers the API side.
Measuring what GA4 can't see
- Store the click on the lead. Save UTMs and the
__opprefcookie value in hidden form fields, so your CRM knows the source even when GA4 says Direct. - Ask. A “How did you hear about us?” field often catches ChatGPT buyers no tag sees.
- Calculate ROI two ways. Attributed: $4,000 spend, 50 attributed orders at $120 is $6,000 revenue, 1.5x ROAS, $80 per order. Blended: add self-reported ChatGPT customers. Our ROI guide covers holdout tests for the true number.
- Watch the organic side. The AI assistants channel only shows the clicks. Most mentions produce no click at all; see how to track ChatGPT visibility.
For the tracking that feeds Ads Manager in the first place, start with the 7-step ChatGPT Ads conversion tracking setup.
ChatGPT Ads in GA4: frequently asked questions
How do I track ChatGPT Ads in Google Analytics 4?
Tag ad URLs with utm_source=chatgpt&utm_medium=cpc&utm_campaign={campaign_id}&utm_content={ad_id}, create a custom GA4 channel group with a Paid AI channel matching that source and medium, place it above Referral, and report on key events by session source/medium.
Why do ChatGPT Ads conversions show as direct traffic in GA4?
Because many people click the ad, leave, and come back later by typing your domain or searching your brand. GA4 credits that later visit; Ads Manager credits the earlier click. Redirects that drop the query string make it worse.
What UTM source should I use for ChatGPT Ads?
Use chatgpt with medium cpc. Don't use chatgpt.com: that's what organic links from ChatGPT answers carry, and you want to tell paid and organic apart.
Can I connect GA4 to OpenAI Ads Manager?
Yes, in beta. Ads Manager → Conversions → Data Sources → Create → Google Analytics 4. OpenAI gets read-only aggregate data for one property, imports the previous 30 days and refreshes daily. The totals cover all property traffic, so they aren't ad-attributed conversions.
Why does Ads Manager show more ChatGPT Ads conversions than GA4?
Ads Manager credits the ad click within its click window (30 days by default), may include view-throughs and modeled conversions, and can recover blocked browsers through the Conversions API. GA4 credits the last session's source and loses blocked browsers.
Does GA4 count organic ChatGPT traffic?
Only the clicks, usually as Referral from chatgpt.com. Mentions that lead to a later typed visit or brand search show up as Direct or Organic Search.
Sources and further reading
- OpenAI Help Center — Connecting Google Analytics 4 to OpenAI Ads Manager
- OpenAI Help Center — Troubleshooting conversion tracking for ChatGPT Ads (why platforms disagree)
- OpenAI Developers — Reporting (attribution windows)
- Google Analytics Help — Custom channel groups
See which ChatGPT answers mention you, free
GA4 shows the clicks. A free AI-visibility scan shows the prompts where ChatGPT recommends your brand, the ones where it names competitors instead, and the sources it cites. The first scan is free and needs no card. Want tracking that reconciles built for you? See our conversion tracking implementation.
Run my free scan