How to Track ChatGPT Traffic in GA4 with Custom Channel Groups
By Maxim Koylo
ChatGPT traffic does show up in GA4. The annoying part is that it rarely walks in wearing a neat little name badge. Some visits arrive as chatgpt.com / referral, some use UTMs, and some fall into Direct like GA4 just found a drawer labeled “miscellaneous.”
Direct answer
To track ChatGPT traffic in GA4, create an Exploration or custom channel group that matches session sources and UTMs containing chatgpt, openai, and known AI assistant domains. Then compare sessions, landing pages, key events, and self-reported source data instead of relying on last-click source alone.
GA4 setup for ChatGPT traffic
- Open Reports > Acquisition > Traffic acquisition.
- Change the primary dimension to Session source / medium or Session source.
- Search the table for
chatgpt,openai, andutm_source=chatgpt.comtraffic. - Build an Exploration with dimensions for landing page, session source, session medium, and campaign.
- Add metrics for sessions, engaged sessions, key events, leads, and revenue.
- Save the view as an AI Search report before the signal disappears into the default channel soup.
Session source contains chatgptSession source contains openaiLanding page is a deep URL + DirectSuggested AI Search regex
Use a broader regex when you want a channel group that captures ChatGPT plus nearby AI assistants. Start narrow, then add sources you actually see in your reports.
chatgpt|openai|perplexity|gemini|copilot|claude|grok|you\.comThat regex is not magic. It is just a net. Nets catch fish and the occasional boot, so review the rows before reporting the number to a CFO with coffee in hand.
What to report
- Sessions from visible ChatGPT or OpenAI sources.
- Landing pages ChatGPT users reach first.
- Key event rate and lead quality by AI Search group.
- Direct conversions to deep URLs after ChatGPT visibility changes.
- Form responses where users mention ChatGPT or AI search.
Concrete example
Suppose ten leads land on /pricing. Two have a ChatGPT referrer, three arrive as Direct to a deep comparison page, and four mention ChatGPT in the form. GA4 proves two sessions. Your operating report should show the full pattern as AI-influenced demand, with the proven and inferred rows separated. That distinction is the difference between measurement and analytics cosplay.
FAQ
Why does ChatGPT traffic show as Direct?
Some visits do not pass a referrer. Users may copy a URL, open a new tab, use an app browser, or search the brand after reading an answer.
Should I create a custom channel group?
Yes, if AI search matters to reporting. GA4 lets you create custom channel groups, which is the cleanest way to keep ChatGPT, Perplexity, Gemini, and similar sources visible together.
Should I use Session source or First user source?
Use session-scoped dimensions for traffic acquisition and first-user dimensions when you care about the original acquisition source. Mixing scopes is a fast way to make a dashboard that looks confident and lies politely.
The same setup becomes stronger when paired with broader AI traffic attribution, because ChatGPT is only one part of the AI search path.