All articles
AI AnalyticsMay 23, 2026·8 min read

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

  1. Open Reports > Acquisition > Traffic acquisition.
  2. Change the primary dimension to Session source / medium or Session source.
  3. Search the table for chatgpt, openai, and utm_source=chatgpt.com traffic.
  4. Build an Exploration with dimensions for landing page, session source, session medium, and campaign.
  5. Add metrics for sessions, engaged sessions, key events, leads, and revenue.
  6. Save the view as an AI Search report before the signal disappears into the default channel soup.
Matching rules
Rule
Use it for
Watch out for
Session source contains chatgpt
Visible ChatGPT referrals and tagged links.
Cleanest first pass, but it misses copy-paste and brand-search journeys.
Session source contains openai
Older or edge-case OpenAI referrers.
Keep it in the rule, but do not assume every OpenAI-related visit is commercial search intent.
Landing page is a deep URL + Direct
Possible pasted links from ChatGPT answers.
Treat this as directional evidence. Do not relabel it as proven ChatGPT traffic.

Suggested 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\.com

That 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.