NewSend finished articles to WordPress, Shopify or any site, as drafts you approve.Publish articles to WordPress and Shopify.
Measurement

How to track AI traffic in GA4: ChatGPT, Gemini and Google's AI

By , Founder, Citeroot

Published Updated 8 min read

Guides

GA4's AI Assistant channel shows ChatGPT and Gemini visits but misses AI Overviews and no-referrer clicks. How to set it up, with data from 3,946 answers.

Updated : Rebuilt for GA4's AI Assistant channel; added a custom channel group, an exploration recipe and data on which AI engines link sources

On this page
  1. Where each AI click lands in GA4
  2. Why Google's own AI is the biggest blind spot
  3. How to set up AI tracking in GA4
  4. 1. Check the AI Assistant channel
  5. 2. Build a custom channel group for the rest
  6. 3. Find the pages AI sends people to
  7. 4. Mark AI visits on your key events
  8. The direct traffic problem
  9. Crawlers are not visitors
  10. Is AI traffic worth measuring at all?
  11. Frequently asked questions
  12. Does GA4 track ChatGPT traffic automatically?
  13. Can I see AI Overviews clicks in GA4?
  14. Why does some AI traffic show as Direct?
  15. Does the AI Assistant channel include data from before May 2026?
  16. Which assistants does GA4's AI Assistant channel recognise?
  17. Sources

This article is part of our guide: How to measure AI visibility: a 9-step workflow, with a worked example

GA4 shows AI traffic in its AI Assistant channel, added to the default channel group in May 2026. Open Reports, Acquisition, Traffic acquisition and find the AI Assistant row. It undercounts in two ways: visits with no referrer land in Direct, and clicks from Google's AI Overviews and AI Mode count as Google organic.

So treat the AI Assistant number as a floor. This guide shows where each kind of AI click ends up in GA4, how to build a custom channel group that catches the assistants Google's list misses, how to find the pages AI sends people to, and what to use for the part GA4 cannot see. It is written by Citeroot (citeroot.app), which tracks what AI assistants say about brands; the data in it comes from that tracking.

#Where each AI click lands in GA4

The short version: it depends on the assistant, and on whether the browser passes a referrer.

Where the click came fromWhat GA4 recordsWhere it shows by defaultHow to see it
ChatGPT, Gemini, Claude and other recognised chatbotsSource such as chatgpt.com, medium ai-assistantAI Assistant channelTraffic acquisition report
A chatbot GA4 does not recogniseSource such as the bot's domain, medium referralReferralCustom channel group (below)
An AI app or in-app browser that sends no referrerNothing that identifies the assistantDirectNot separable; see "the direct traffic problem"
Google AI Overviews and AI Modegoogle / organicOrganic SearchSearch Console, not GA4

When GA4 detects a referrer matching a recognised AI assistant, it sets the medium to "ai-assistant", groups the session under the AI Assistant channel and gives the campaign a reserved "(ai-assistant)" label, as Search Engine Journal reported on 14 May 2026. Google names ChatGPT, Gemini and Claude as examples but has not published its full list of recognised referrers. Google's own channel definitions page now lists the rule: the AI Assistant channel is traffic whose medium exactly matches "ai-assistant".

ChatGPT also tags its links. OpenAI's publishers and developers FAQ says ChatGPT automatically adds utm_source=chatgpt.com to referral URLs, so ChatGPT visits carry chatgpt.com as their source even when the referrer is lost.

#Why Google's own AI is the biggest blind spot

Google's AI surfaces link to sources more often than any other engine we track, and GA4 cannot tell their clicks apart from ordinary search. That combination is the main reason the AI Assistant channel understates AI's effect on a site.

Bar chart of 3,946 AI answers across 10 Citeroot projects, 30 days to 24 November 2026: AI Overviews linked at least one source in 96% (767 of 801), AI Mode 94% (948 of 1,005), ChatGPT 82% (882 of 1,070), Gemini 79% (843 of 1,070)
Source: Citeroot (citeroot.app), 3,946 answers across 10 tracked projects, 30 days to 24 November 2026.

In those answers, AI Overviews linked at least one source 96% of the time and AI Mode 94%, against 82% for ChatGPT and 79% for Gemini. A linked citation is the only way an AI answer can send a click. So the engines most likely to send one are Google's, and every click they send arrives in GA4 as google / organic.

Google's AI features documentation confirms where that traffic goes: AI Overviews and AI Mode are reported in Search Console's Performance report, inside the Web search type. Since June 2026, Search Console also reports AI Overviews and AI Mode impressions separately, as Google announced on its Search Central blog. Use Search Console for Google's AI surfaces and GA4 for the chatbots. Our guide to tracking recommendations in Google's generative search covers the Google side in detail.

#How to set up AI tracking in GA4

The AI Assistant channel needs no setup. These steps add what it misses and keep your reports consistent.

#1. Check the AI Assistant channel

Go to Reports, Acquisition, Traffic acquisition. Set the primary dimension to Session default channel group and look for AI Assistant. Change the secondary dimension to Session source to see which assistants it includes. If the row is missing, GA4 recorded no recognised AI sessions in that date range.

#2. Build a custom channel group for the rest

A custom channel group lets you define your own AI channel and catch assistants that Google's list leaves out. Go to Admin, Data display, Channel groups, and choose Create new channel group, which starts from a copy of the default group. Add a channel called AI, with the condition Session source matches regex, and use a pattern like this:

.*(chatgpt\.com|chat\.openai\.com|perplexity\.ai|gemini\.google\.com|copilot\.microsoft\.com|claude\.ai|deepseek\.com|meta\.ai|grok\.com|mistral\.ai).*

Add a second condition, joined with OR: Medium exactly matches ai-assistant. Then move the AI channel above Referral. Order matters, because Google's custom channel group help page says traffic goes into the first channel whose definition it matches.

Two details make the custom group worth the effort. Google's help page says custom channel groups apply to your reports retroactively, so sessions from before May 2026, which still sit under Referral, get relabelled too. And a property can hold only two custom channel groups, as Search Engine Journal noted, so build one group that serves all your reporting rather than one just for AI.

Review the regex every quarter. Assistants change domains and new ones appear, and a pattern nobody maintains drifts out of date quietly.

#3. Find the pages AI sends people to

Sessions on their own say little. The useful question is which pages AI assistants send visitors to. In Explore, start a Free form exploration with these settings:

  • Rows: Landing page + query string
  • Columns: Session source
  • Values: Sessions, Engaged sessions, Key events
  • Filter: Session source matches the same regex as above

Look for the few landing pages that take most of the AI sessions. Those are the pages AI answers link to, so they are where updates pay off first. Our study of what sources ChatGPT cites shows which kinds of pages get linked most.

#4. Mark AI visits on your key events

Add Session source, or your custom channel group, as a dimension on the key events report you already use for sign-ups, demo requests or purchases. Compare AI visitors with organic visitors on engaged sessions and key events per session.

Be careful with small numbers. Twenty sessions and two sign-ups is not a 10% conversion rate you can plan around; wait until each assistant has at least a few hundred sessions before comparing rates.

#The direct traffic problem

Some AI visits arrive with no referrer at all and land in Direct. Search Engine Journal lists in-app browsers, mobile apps and copied-and-pasted links as the usual causes. GA4 cannot recover these visits, and no regex will.

Two signs suggest hidden AI traffic in Direct. Direct sessions rise on deep pages that nobody would type or bookmark, such as a long comparison post. And the rise follows a page starting to appear in AI answers. Neither proves anything, so report it as context, never as a number.

ChatGPT's utm_source tag helps here: a ChatGPT visit that loses its referrer still carries chatgpt.com in the URL, so it usually keeps its source. Assistants that do not tag their links have no such fallback.

#Crawlers are not visitors

Server logs also show AI bots: training crawlers, search crawlers and fetches made when a user asks an assistant about a page. They are not audience and do not appear in GA4 as sessions. If you analyse logs, keep bot requests apart from human referrals. Our guide to which AI crawlers to allow explains what each bot does.

#Is AI traffic worth measuring at all?

The strongest case against all this work is that AI referrals are a small share of most sites' traffic, and the GA4 number is incomplete anyway. Both points are fair.

The answer is that clicks are the wrong thing to judge AI by on their own. Many questions now end inside the AI answer, with no click to any site. A brand named in that answer gains something GA4 will never record. So measure two things: referrals in GA4, for the visits AI does send, and visibility, for whether AI names you at all. Our guide on how to measure AI visibility sets out the second half, and tracking brand mentions in ChatGPT shows how to check the answers themselves. The share of voice calculator turns those checks into a figure you can compare with competitors.

Then put the two side by side. If a page is cited often but sends few visits, the answer is probably doing the reader's job, which is fine for awareness. If a page sends visits but is rarely cited, find out which answers link it and protect that page.

#Frequently asked questions

#Does GA4 track ChatGPT traffic automatically?

Yes, since May 2026. Sessions referred by ChatGPT get the medium ai-assistant and appear under the AI Assistant channel in Traffic acquisition. ChatGPT also adds utm_source=chatgpt.com to its links, so the source shows as chatgpt.com.

#Can I see AI Overviews clicks in GA4?

No. Clicks from AI Overviews and AI Mode arrive as google / organic, the same as ordinary Google results. Google reports them in Search Console's Performance report, under the Web search type.

#Why does some AI traffic show as Direct?

Some AI apps and in-app browsers do not pass a referrer, and copied links carry none. GA4 then has nothing to identify the assistant and files the visit under Direct.

#Does the AI Assistant channel include data from before May 2026?

Older AI sessions stay under Referral in the default channel group. A custom channel group applies retroactively, so building one with an AI channel relabels the older sessions too.

#Which assistants does GA4's AI Assistant channel recognise?

Google names ChatGPT, Gemini and Claude as examples but has not published a full list. Check the channel's sources in your own reports, and add a custom channel group with a regex to cover any assistant it misses.

#Sources

analyticsga4referrals

See what AI says about your business today.

Add your website and a few questions your customers ask, then read your first answers. Free plan, or a 3-day free trial of Grow · card to start.