CoreCited

Measuring AI traffic in GA4, and the part you cannot

GA4's AI Assistant channel, a tested regex for ChatGPT, Perplexity and Claude referrals, and the AI traffic Google Analytics still cannot see.

10 min read

GA4 AI traffic got easier to see in May 2026, when Google Analytics added a built-in AI Assistant channel. It did not get complete. This post shows what the channel counts, how to build a custom channel that catches more with a regex that does not overcount, and the AI referral traffic that Google Analytics still cannot see at all.

Key takeaways
1GA4 has had an AI Assistant channel since 13 May 2026, for visits from assistants like ChatGPT, Gemini, DeepSeek, Copilot and Grok.
2Clicks from Google's AI Overviews and AI Mode are not in it. They are counted as Organic Search, and cannot be separated.
3A custom channel group with a hostname regex catches assistants the built-in list may miss. Avoid regexes that match any source containing 'ai'.
4Visits with no referrer land in Direct. Every AI traffic number in Google Analytics is a floor.

GA4’s built-in AI Assistant channel

Google’s release notes for 13 May 2026 announced “a new AI Assistant channel in your Default Channel Group reports”[1]. Google defines it as the channel by which users arrive “from sources like ChatGPT, Gemini, Deepseek, Copilot, or Grok”, and says it excludes Google’s AI Overviews and AI Mode[2]. The rule is simple: when the referrer matches a list of AI assistants, GA4 sets the medium to ai-assistant and the campaign to (ai-assistant), and the channel is every session with that medium[2].

Three things follow from that definition:

  • Google does not publish the list. Perplexity and Claude are not among the names in the channel definition, so check where they land in your own data.
  • It depends on a referrer. A visit that arrives without one never reaches the list.
  • Google’s own AI answers are elsewhere. Organic Search explicitly includes AI Overviews and AI Mode[2].
Where AI visits land in GA4
Toggle columns. Based on Google's channel definitions and OpenAI's UTM statement.
Default channelCan you separate it?
ChatGPT with a referrerAI Assistant✓Yes
Gemini, Copilot, DeepSeek, GrokAI Assistant✓Yes
Perplexity, ClaudeCheck your data: AI Assistant or Referral✓Yes
Tagged with utm_source onlyCan land in Unassigned~
AI app with no referrerDirect✕No
Google AI Overviews and AI ModeOrganic Search✕No

ChatGPT referral traffic, and the UTM wrinkle

ChatGPT referral traffic has one extra quirk. OpenAI says ChatGPT automatically adds utm_source=chatgpt.com to the links it sends people through[4]. That helps: the source survives even when the referrer does not. But practitioners report that when a link carries a source and no medium, GA4 takes the source from the UTM and leaves the medium unset, so the session can fall into Unassigned instead of AI Assistant[7]. A custom channel that matches on source, not medium, catches those visits either way.

Match on the source, not the medium. The built-in channel keys on a medium GA4 sets for you; a custom channel keyed on the source hostname also catches the visits that arrived tagged but unlabelled.

A regex for AI traffic in Google Analytics

Google’s help page on custom channel groups includes an example for AI assistants, with a regex whose first alternative is ^.*ai[3]. That matches any source containing the letters “ai”, including mail.google.com and any campaign tagged with an email source, so it overcounts. The builder below produces a regex that matches whole hostnames only, from a list of 12 assistants. Test any source against it, and against the loose pattern.

GA4 AI traffic regex builder
Choose the AI assistants to count. The regex updates as you go and is tested against every host below.
AI sources (12)
Session source · matches regex
^([a-z0-9-]+\.)*(chatgpt\.com|chat\.openai\.com|perplexity\.ai|gemini\.google\.com|bard\.google\.com|claude\.ai|copilot\.microsoft\.com|deepseek\.com|grok\.com|meta\.ai|you\.com|mistral\.ai|phind\.com|poe\.com)$
Test a source
This regex
Not counted
A pattern starting ^.*ai
Counted, wrongly
Anchored at both ends and allowing any subdomain, so it behaves the same whether GA4 applies it as a full or a partial match. It is the same host list CoreCited uses to classify AI referrals.

Build an AI traffic channel in GA4

A custom channel group changes how your reports are grouped without touching the data. Standard properties can have two custom groups alongside the default one, each with up to 50 channels, and they apply to past data as well[3].

Setting up the AI channel
Copy the default group
Admin, Data display, Channel groups. Copy the default channel group so every other channel keeps working.
Step 1: Copy the default group. Admin, Data display, Channel groups. Copy the default channel group so every other channel keeps working.
Step 2: Add the AI channel. Add a channel named AI traffic. Condition: Session source matches regex, and paste the regex from the builder. Add an OR condition: Session medium exactly matches ai-assistant.
Step 3: Move it up. GA4 puts a session in the first channel it matches, so drag the AI channel above Referral, Unassigned and Organic Search, as Google's own example advises.
Step 4: Use it in reports. In Traffic acquisition, switch the primary dimension to your new channel group. It applies to past dates as well.

The rule-order and retroactivity details are from Google’s custom channel groups page[3].

The AI traffic Google Analytics cannot see

However good the channel, some AI referral traffic is invisible in GA4, and it is worth saying how before anyone reads the number as a total.

Myth
The AI Assistant channel shows all my AI traffic.
What is true
It shows visits with a recognised referrer. AI apps that pass none send visits to Direct, where nobody can attribute them.
Myth
I can see how many clicks AI Overviews sent me.
What is true
Google counts them as Organic Search. Search Console's Generative AI report shows AI impressions, not separate clicks.
Myth
A regex matching 'ai' catches every assistant.
What is true
It also catches mail.google.com and email campaigns. Match whole hostnames.
Myth
Low AI referrals mean AI ignores you.
What is true
Being recommended without a click is common. Referrals measure visits, not mentions.

Search Console now has a Generative AI performance report for impressions in Google’s AI features[5], which covers part of the gap on Google’s side. For scale on the other side: across 74,752 sites in Ahrefs’ March 2026 data, AI assistants sent about 3.5 million visits, most of them from ChatGPT[6].

Visits are not visibility
GA4 counts people who clicked. It cannot tell you how often an assistant named you without a link, which is most of what happens. That is measured by asking the assistants directly, over and over: AI visibility tracking.

How CoreCited reads AI referrals from GA4

If you would rather not maintain a channel group, CoreCited connects to your GA4 property read-only, classifies sessions by assistant with the same host list as the builder above, and records the first day each assistant sent you traffic. It shows AI referrals next to AI crawler activity and the crawl-to-refer ratio in AI traffic analytics, from the Starter plan. The numbers are labelled as a floor, for all the reasons above.

Questions people ask

Does GA4 track AI traffic?

Yes, since 13 May 2026. GA4's default channel group has an AI Assistant channel for visits from assistants such as ChatGPT, Gemini, DeepSeek, Copilot and Grok. It excludes Google's AI Overviews and AI Mode, which stay in Organic Search, and it misses visits that arrive with no referrer.

How do I see ChatGPT traffic in Google Analytics?

For Google Analytics ChatGPT data, open Reports, Acquisition, Traffic acquisition, and set the primary dimension to Session source. Look for chatgpt.com, and chat.openai.com for older data. Or look at the AI Assistant channel in the default channel group. For a lasting view, create a custom channel group with the regex from the builder in this post.

Why is my ChatGPT referral traffic so low in GA4?

Because much of it is not labelled. Some AI apps open links without passing a referrer, so those visits land in Direct, and a link tagged with a source but no medium can end up in Unassigned. Every AI referral number in GA4 is a floor.

Can GA4 show traffic from Google AI Overviews or AI Mode?

No. Google puts clicks from AI Overviews and AI Mode in Organic Search, and GA4 cannot separate them. Search Console's Generative AI report shows AI impressions, but not separate clicks.

Is Perplexity in GA4's AI Assistant channel?

Google's definition names ChatGPT, Gemini, DeepSeek, Copilot and Grok as examples and says the channel uses a list of AI assistants it does not publish. Check your own Traffic acquisition report: if perplexity.ai shows under Referral, a custom channel group will catch it.

What regex should I use for AI traffic in GA4?

One that matches whole hostnames, like the one the builder in this post produces. Avoid patterns that match any source containing 'ai' or 'gpt', including the first part of Google's own sample, because they also catch sources like mail.google.com.

Is the custom channel group retroactive?

Yes. Google says custom channel groups can be applied to your reports retroactively, so the new channel works on past data too. Audiences built on them only change going forward.

Keep reading

Sources

[1][GA4] Analytics release notes — Google Analytics Help, entry of 13 May 2026
[2][GA4] Default channel group — Google Analytics Help, read 26 September 2026
[3][GA4] Custom channel groups — Google Analytics Help, read 26 September 2026
[4]Publishers and developers FAQ — OpenAI Help Center, read 26 September 2026
[5]Generative AI performance report — Search Console Help, read 26 September 2026
[6]AI chatbot traffic — Ahrefs, March 2026
[7]Unassigned in Google Analytics 4 — Analytics Mania, 2026

Find out where you actually stand

One real question, real AI engines, and the answer they gave — including who was named in it. No account, no card.