ThriveStack citedbyAI search attribution learning guideIntroductionLive demoBook a demoStart free
Lesson 3.5 · GA4 and analytics configuration

How to set up GA4 to track AI traffic

GA4 added an AI Assistant default channel on May 13, 2026. It catches the referrers Google lists, but not Google AI Overviews, AI Mode or visits that arrive with no source. Add a custom channel group, test one tagged click, and read direct traffic beside your AI channel every week.

May 13

2026: GA4 added an AI Assistant default channel

Google Analytics Help, via the ThriveStack engine guide
0.32%

of website traffic came from ChatGPT in May 2026

SE Ranking, 101,574 sites, Jul 9, 2026
1.08%

of sessions came from AI referrals across 10 industries

Conductor, updated Jul 6, 2026
62%

of ChatGPT referred visits landed on a homepage by late May 2026

Similarweb, Jul 29, 2026
ThriveStack citedby

A custom channel group pulls AI visits out of Referral so they report as their own channel

Sample share of sessions by channel, before and after an AI channel group.

Organic search55%55%Direct28%28%Referral17%11%AI assistants0%6%Default channel groupingWith an AI channel group

Sample data for illustration. Your own numbers will differ.

How to read it. The Referral bar shrinks by exactly what the AI assistants bar gains. The visits did not change, only the label.

In ThriveStack citedby Your GA4 property connects once, and AI visits report as a channel without you maintaining a regex. See it for your site →

ThriveStack citedby setup screen listing server log, website analytics and revenue data sources
Connect Google Analytics 4 once and every attribution page picks it up. ThriveStack citedby demo workspace. Sample data.

GA4 has an AI Assistant channel, and it does not catch everything.

The channel matches a medium of "ai-assistant" or a referrer on Google's AI assistant list. Google names ChatGPT, Gemini, DeepSeek, Copilot and Grok as examples. It leaves out AI Overviews and AI Mode on purpose.

ThriveStack citedbyResearch table

The three rules of the GA4 AI Assistant channel

The three rules of the GA4 AI Assistant channel
RuleMatches
1Medium is exactly "ai-assistant"
2Referrer matches Google's AI assistant list
3Campaign is set to "(ai-assistant)"
Left outGoogle AI Overviews and AI Mode, which stay in organic search
Source: see sources belowthrivestack.ai/citedby · Nov 2026

Add a custom channel group for the referrers it misses.

A custom group lets you control the list and add UTM sources such as chatgpt.com. It takes a few minutes, and it applies to reports, not to history.

  1. 1

    Open Channel groups in GA4 Admin

    In GA4 Admin, find Channel groups under data display.

  2. 2

    Create a custom channel group

    Copy the default group so you keep the standard channels.

  3. 3

    Add an AI channel

    Condition: session source matches a regex of referrer domains, such as chatgpt.com and perplexity.ai.

  4. 4

    Move the AI channel above Referral

    Rules match top to bottom, so AI must come first.

Test that a tagged click lands in the right channel.

Google's rules key off the medium and the referrer, and ChatGPT adds only a source tag. Do not assume the two line up. Click one tagged link and look for it in Realtime.

A five minute test
  • Open a cited link from each engine you care about
  • Check Realtime for the source and medium
  • Note the channel it landed in
  • Repeat after any major model launch

Read direct traffic next to your AI channel every week.

A fall in one with a rise in the other points to a lost tag or a stripped referrer, as in October 2026.

Why the weekly read matters

On Oct 9, 2026, ChatGPT tagged visits fell and direct rose by about the same amount. Only a side by side read shows that.

How ThriveStack citedby helps

ThriveStack citedby runs your prompt panel across 10+ AI engines, reads server-log crawler hits, matches human visits to signups and reports AI-sourced and AI-influenced pipeline.

Build my AI attribution report →

GA4 AI traffic, answered.

How do I see AI traffic in GA4?

Open Traffic acquisition, use the AI Assistant channel and add a custom group for referrers it misses.

Does GA4 include Google AI Overviews?

No. Google says the AI Assistant channel excludes AI Overviews and AI Mode.

Are old visits reclassified?

No. Visits from before May 13, 2026 are not reclassified.

Sources for this lesson

  1. ThriveStack citedby research: Which AI engines send utm_source (Oct 2026), citing Google Analytics Help, Default channel group Checked Oct 16, 2026
  2. SE Ranking: ChatGPT referral traffic, May 2026 (Jul 9, 2026)
  3. Conductor: 2026 AEO / GEO Benchmarks Report Updated Jul 6, 2026
  4. Similarweb: AI search statistics (Jul 29, 2026)

Figures were checked against each page in Nov 2026. Vendor studies are marked by their sample. Charts marked sample data are illustrations.

All 10 questions this lesson answers

How to set up AI traffic tracking in GA4

Test one tagged click for each engine. Use the AI Assistant default channel. Add a custom channel group for the referrers it misses. Place it above Referral. Then read direct beside it weekly.

GA4 AI Assistant channel group

GA4 added it on May 13, 2026. It matches medium "ai-assistant", a referrer on Google's list, or campaign "(ai-assistant)". It excludes Google AI Overviews and AI Mode, which stay in organic search. Older visits are not reclassified.

GA4 custom channel group for AI referrals

In Admin open Channel groups and copy the default group. Add an AI channel with a condition on session source that matches your referrer regex. Put it above Referral, because rules run top to bottom. It applies to reports, not history.

AI referral regex for Google Analytics

Build a regex of the domains you want, such as chatgpt.com and perplexity.ai, joined with a pipe. Escape dots if you wish. The current list and dates are in lesson 4.2 on referrer domains. Retest after model launches.

GA4 AI traffic dashboard tutorial

Open Explore, make a free form report, use session source / medium as rows and sessions and key events as values, then filter with your AI regex. Add landing page as a second row. Save it and read it weekly.

Looker Studio AI traffic report

Connect your GA4 property, add a table with session source / medium, sessions and key events, and apply a filter using the same regex as your channel group. Add direct traffic as a second series so a lost tag shows.

GA4 AI conversion events

Mark signup, demo request and purchase as key events in GA4. Then compare key event rate by AI source. Do not create events named for an AI engine. Use the source dimension instead.

GA4 AI referral landing pages

Add landing page as a dimension to the AI channel report. Similarweb saw 62% of ChatGPT referred visits land on a homepage by late May 2026 (Jul 29, 2026). So check whether your visits go to the pages you expect.

AI traffic reporting with BigQuery

If you export GA4 to BigQuery, filter the event table on the source field with the same regex. Keep the regex in one place. Use BigQuery when you need history or joins with CRM data.

GA4 AI search attribution troubleshooting

Check six things: the source value, regex typos, channel order, the May 13 cutoff, direct traffic rising when AI falls, and tag loss. The Oct 2026 ChatGPT tag bug shows why direct needs a side by side read.

Go deeper
MapHover to open