Track AI Traffic in GA4: Set Up an AI Channel Group
Google Analytics already gives you a starting point: since May 2026, GA4's Default Channel Group includes a native "AI Assistant" channel that auto-tags sessions from recognized platforms with no setup on your part. It covers the biggest names, but it misses some assistants entirely, splits the same source across more than one channel depending on whether a referrer survived the trip, and never reclassifies traffic that arrived before it launched. Closing those gaps is what this article covers: reading what the native channel already gives you, then deciding whether a supplementary custom channel group is worth building on top of it.
Checked on 2026-08-04. Google's own Analytics Help documentation confirms the AI Assistant channel was added to the Default Channel Group on 2026-05-13, with broad rollout by early June. The list of platforms it recognizes has already shifted once since launch, according to analytics trade coverage. Everything below is accurate as verified this session against Google's changelog and current reporting. Confirm the recognized-platform list yourself before you build anything, since this is exactly the kind of detail that moves without much notice.
This piece has one job: getting AI referral sessions into a channel you can actually read in GA4, one part of the broader practice covered at a higher level in what is answer engine optimization. It does not cover whether ChatGPT or Perplexity are citing a specific page, which is a separate question answered by asking the platforms directly, covered in how to check if AI cites your website. It also does not explain why the number you end up with still looks smaller than reality, which is a distinct attribution problem covered in why AI traffic hides inside Direct. This article is the setup step in between: turning on the tracking.
What GA4's native AI Assistant channel already does automatically
You do not need to build anything to get a first cut of this data. GA4 now inspects the referrer on incoming sessions, and when it matches a recognized AI assistant, it assigns the medium ai-assistant and groups the session under a channel called "AI Assistant" inside your standard Default Channel Group reports, right next to Organic Search and Referral. Google names ChatGPT and Gemini as recognized sources; the full list is not published and has already changed once since the feature shipped. Check Reports > Acquisition > Traffic acquisition and look for "AI Assistant" as a row. If it is producing sessions, some of your AI traffic is already separated out, with zero configuration. Note that this is a referral signal, a browser telling GA4 where a human came from; it is a different event from an AI crawler fetching your pages in the first place, which is a server-side signal covered in which AI crawlers actually visit your site.
Where the native channel still leaves gaps
Read the native number as a floor, not a total. Three gaps are confirmed and worth knowing before you trust the figure. First, Perplexity is not on the recognized list as of this check and lands in Referral instead, alongside any assistant Google has not added yet. Second, the same source can fragment: a session from the same platform can show up under AI Assistant, Referral, or Unassigned depending on whether a medium value made it through, which happens more often from mobile apps and embedded browsers that strip referrer data. Third, the feature is not retroactive. Sessions from before the rollout keep whatever classification they already had; the native channel does not go back and relabel history.
Building a supplementary custom channel group, step by step
If the native channel's gaps matter for your reporting, in Admin > Data display > Channel groups, copy an existing group to start from a working base rather than an empty one. Add a new channel, name it something plain like "AI Traffic," and set its condition to match on Source using a regex pattern, not source-and-medium together, since matching on medium alone is exactly what causes the fragmentation described above. A starting pattern covers the domains you actually see in your own traffic: chatgpt.com, perplexity.ai, gemini.google.com, copilot.microsoft.com, and claude.ai are common ones, but treat this as a first draft, not a finished list. Reorder the new channel so it sits above Referral in the rule order; GA4 evaluates channels top to bottom and stops at the first match, so a misordered rule lets AI sessions fall through into Referral before your custom rule ever sees them. Save, then check the report a day later once new sessions have had a chance to classify.
Editing the default channel group vs. building a custom one: why it matters for historical data
This distinction is the part most tutorials skip. GA4's Default Channel Group, including its new AI Assistant rule, only applies going forward from the point a rule takes effect; it does not reach back and reclassify sessions that already happened. A Custom Channel Group works differently: because it is evaluated against the source and medium data GA4 already stored, at the time you view the report, it can reclassify historical sessions within your property's data retention window the moment you create or edit it. Practically, that means if you want a clean AI-referral line that includes traffic from before this month, a custom group is the only path there. Editing the default only affects what happens next.
The honest limit: this bucket will still undercount
Whichever version you build, native, custom, or both together, treat the resulting number as a minimum, not a count. A meaningful share of assistant-driven visits arrive with no referrer at all, which GA4 has no source data to classify and files under Direct by default, indistinguishable from someone typing your URL from memory. No channel group, however well built, can sort traffic GA4 never received a signal for. Why that gap exists and how to reason about the traffic hiding inside it is its own topic, covered in why AI traffic hides inside Direct; the short version here is that the channel you just built is a floor for AI-referred visits, not the ceiling.
FAQ
Do I still need to build a custom AI channel group now that GA4 has a native one?
Not automatically. If the native AI Assistant channel already covers the platforms you care about and you only need data going forward, it may be enough on its own. Build a custom group if you need Perplexity or another unrecognized assistant included, want to collapse a source that's currently fragmenting across multiple channels, or need the classification to reach back into historical data.
Which platforms does GA4's native AI Assistant channel recognize?
Google has confirmed ChatGPT and Gemini as recognized sources and has not published a complete, fixed list; trade coverage has already reported the recognized roster changing once since the May 2026 launch. Check your own Traffic acquisition report rather than assuming any list is current.
Why does the same AI platform show up under more than one channel in my reports?
GA4 classifies by source and medium together. If a session's referrer carries a medium value, it can land in AI Assistant; if that value is stripped, often by a mobile app or embedded browser, the same source can land in Referral or Unassigned instead. Matching a custom channel on source alone, rather than source and medium, is how you collapse that split into one line.
Will a custom channel group fix traffic that GA4 currently shows as Direct?
No. Direct traffic has no source or medium data attached at all, so there is nothing for a channel group's rules to match against. A channel group can only sort sessions that already carry some referral signal; it cannot recover a signal that was never sent.
Does this setup tell me whether an AI platform is actually citing my content?
No, and that is a separate check by design. A session landing in an AI-referral channel confirms someone clicked a link an assistant gave them. It says nothing about which pages get cited, how often, or why. That question is answered by directly querying the platforms yourself, covered in how to check if AI cites your website.