You track AI traffic in GA4 through the AI Assistant channel. Since 13 May 2026 Google puts visits from ChatGPT, Gemini, DeepSeek, Copilot and Grok, among others, in that channel. Clicks from Google AI Overviews and AI Mode are not included. GA4 counts those as Organic Search. Assistants GA4 does not recognise can be caught with a custom channel group. Visitors who refuse your cookies only show up in your server log.
A customer tells you they found you through ChatGPT. In GA4 you see nothing of it. So you start guessing whether AI brings you anything. That is a shame, because most of it is visible. You just need to know where it sits and what is missing. I will show you how to sort it out in 15 minutes.
Status as of 19 November 2026. Sources: Google Analytics Help, What’s new in Google Analytics (13 May 2026: New AI Assistant traffic measurement). Google Analytics Help, Default channel group. Google Analytics Help, Custom channel groups. Google Search Central, Identify Google Search traffic in your web analytics or server logs (updated 12 November 2026). OpenAI Help Center, Publishers and Developers FAQ (version of October 2026). Google, The Keyword: Google Search gets a major upgrade with Gemini 4 Hydrogen (12 November 2026). All accessed on 19 November 2026.
Scroll the diagram sideways if it looks narrow.
Where does AI traffic show up in GA4?
In the Traffic acquisition report. Open Reports, then Acquisition, then Traffic acquisition. By default the table shows the session channel group. If you see a row called AI Assistant, GA4 has recognised visitors from an AI assistant.
Google added this channel on 13 May 2026. You do not need to set anything up. When a visit comes from a site on Google’s list of AI assistants, it gets three labels:
- Medium: ai-assistant
- Channel: AI Assistant
- Campaign: (ai-assistant)
Want to know which assistant it was? Switch the dimension to session source and medium. ChatGPT then shows as chatgpt.com / ai-assistant. Google names ChatGPT, Gemini, DeepSeek, Copilot and Grok as examples. It does not publish a full list in that explanation.
Which AI visits are missing from the AI Assistant channel?
Four kinds of visit fall outside it. This matters, because otherwise you underestimate what AI brings you.
Clicks from Google AI Overviews and AI Mode
Google writes in its explanation of the default channels that AI Overviews and AI Mode are excluded from the AI Assistant channel. They count as Organic Search, together with the regular search results. On 12 November 2026 Google brought Gemini 4 Hydrogen to Google Search globally, for all users. Google writes that Search now links to a broader range of sites. You see those clicks as google / organic, not separately.
Why can you not separate them? On 12 November 2026 Google explained which referrer Search sends. It is only Google’s own address. No path and no query. Google lists no separate value for AI Overviews or AI Mode. How often you appear in those AI answers is visible in Search Console. How that report works is in Search Console generative AI report.
Assistants GA4 does not recognise
If an assistant is not, or not yet, on Google’s list, it ends up in Referral. In Traffic acquisition, set source and medium and search for perplexity, claude, copilot and gemini one at a time. Google named Claude as an example for the AI Assistant channel in May 2026, but it does not publish a full list. If one shows with the medium referral, you miss it in the AI Assistant channel.
Visits without a referrer
Those show as Direct. Google lists the usual causes. Private browsing. Opening a link in a new tab, in some browsers. Moving from a search widget on your phone to an external browser. Privacy extensions or strict browser settings.
Visitors who refuse your cookies
Google writes that a visitor’s consent choice can block your tracking script. You will not see those visitors in GA4. Your server does record them. That is why your server log is the best addition.
How do you create a custom channel group for AI traffic?
With a custom channel group you decide which sources count as AI. Google itself describes this approach as an example in its explanation of custom channel groups. You need the Editor role or higher.
- Open channel groups. Go to Admin, then Data display, then Channel groups.
- Create a new group. Click Create new channel group. GA4 starts with a copy of the default group.
- Add a channel. Name it AI assistants. Set the condition that source matches the regex below.
- Add an OR condition: medium exactly matches ai-assistant. That way you also catch what GA4 recognises itself.
- Move the channel to the top. Click Reorder. Drag AI assistants above AI Assistant and Referral. GA4 gives a visit to the first channel that matches.
- Save the group. Then pick it as the dimension in Traffic acquisition.
^(.*\.)?(chatgpt\.com|chat\.openai\.com|perplexity\.ai|gemini\.google\.com|copilot\.com|copilot\.microsoft\.com|claude\.ai|chat\.deepseek\.com|grok\.com|meta\.ai|chat\.mistral\.ai)$
This is an example list. Do not put google.com in this list. Then all your Google traffic counts as AI. Three things from Google’s explanation are worth knowing. A custom channel group applies retroactively. A standard property can have 2 of them, on top of the default group. Update the regex when a new assistant appears.
Why does utm_source=chatgpt.com sometimes disappear?
In the October 2026 version of its Publishers and Developers FAQ, OpenAI wrote that ChatGPT adds utm_source=chatgpt.com to links itself. Then GA4 knows the visit came from ChatGPT, even without a referrer. But your own site can lose that label.
In its explanation of 12 November 2026 Google names three causes:
- A JavaScript or meta refresh redirect replaces the referrer with your own page.
- A redirect that does not keep the query string drops parameters such as gclid. The same goes for utm_source.
- A redirect with a stricter Referrer-Policy can remove the referrer.
Test it yourself. Open a page on your site with ?utm_source=test added. Also try the version without www or with http. If ?utm_source=test is still in the address bar after loading, you are fine.
How do you check AI traffic in your server log?
Your server writes every request to a log file, including the referrer. Even when someone refuses your cookies. With many hosting packages you can download that file in the control panel. This line counts the visits from AI assistants. It only looks in the referrer field. Crawlers without a referrer, such as PerplexityBot, are not counted. Visits with only utm_source=chatgpt.com in the URL are not counted by this line. The domains are the same example list as in the regex.
grep -E '"https?://([a-z0-9-]+\.)*(chatgpt\.com|chat\.openai\.com|perplexity\.ai|gemini\.google\.com|copilot\.com|copilot\.microsoft\.com|claude\.ai|chat\.deepseek\.com|grok\.com|meta\.ai|chat\.mistral\.ai)/' access.log | grep -v -i -E '"GET [^"]*\.(css|js|png|jpe?g|webp|svg|gif|ico|woff2?)[ ?]' | wc -l
The second step removes images, stylesheets and scripts. Google advises counting only the pages themselves. For those other files your own page is the referrer. Put the number next to GA4 for the same period. The difference shows how much AI traffic your tracking script misses.
How do you check your AI traffic in 15 minutes?
You need GA4 and, if you have it, your server’s log file.
- Look at Traffic acquisition. Set the period to at least three months. Find the AI Assistant row.
- Check source and medium. Write down the number of sessions per assistant.
- Search Referral. Search for perplexity and claude. If one shows up, create the custom channel group.
- See which pages they land on. Add the landing page dimension. Those are the pages AI assistants use as a source.
- Compare key events per channel. Add the key events column. See what share of AI visitors sends a request.
- Test your redirects. Open a page with ?utm_source=test. Does it stay?
- Count in your server log. Use the line above and put the number next to GA4.
Write the result down every month. Then you see the trend, not one loose week.
Scroll the table sideways if it looks narrow.
| What you see | What it means | What you do |
|---|---|---|
| AI Assistant row with chatgpt.com | GA4 already recognises ChatGPT | Review landing pages and key events |
| Perplexity or Claude under Referral | Not, or not yet, on Google’s list | Create a custom channel group |
| No AI Assistant row, but customers mention ChatGPT | Visits without a referrer or refused cookies | Count in your server log and ask customers how they found you |
| Server log shows far more AI visits than GA4 | Many visitors refuse your cookies | Read GA4 as a lower limit |
| utm_source=test disappears after loading | A redirect drops parameters | Have the redirect changed so the query string is kept |
| Organic Search drops, impressions in AI answers rise | People read the AI answer and click through less | Track the Search Console AI report next to GA4 |
Example: an installation company with 6 people
This example is made up to show the check. It is not a client.
- Two customers said this month that they found the company through ChatGPT. In GA4 the owner sees no AI Assistant row.
- In the server log he does find visits with chatgpt.com as referrer. They land on the heat pump page.
- With ?utm_source=test he sees that his site redirects from the version without www and drops the parameter. His web developer fixes that.
- He switches on the custom channel group and from now on writes down AI sessions and requests every month.
When this measurement tells you little
- With few visitors, a month with 3 or 4 AI visits says nothing yet. Look at several months.
- People who read your name in an AI answer and type it in later show as Direct or as a search for your brand name. GA4 does not link that to AI.
- How often an assistant mentions you without anyone clicking is not visible in GA4.
- If you use another analytics package instead of GA4, you do not have the AI Assistant channel. The regex and the server log still work.
Can you automate this?
Yes. You can have the sessions per channel written to a sheet automatically every month. That works through the Google Analytics Data API. A workflow requests the figures and writes them away. Then you do not have to filter yourself.
Want to know how AI search engines pick sources? Read how Perplexity picks sources. How Google builds AI answers in Search is in Google AI Overviews.
Download: AI traffic tracking checklist
I put the seven steps, the regex and the decision table in two formats. Pick whichever you prefer.
- Download the AI traffic tracking checklist as a PDF and go through it for your own site.
- Download the same checklist as an Excel file. It has a Monthly log tab, where you put your sessions and the server log count side by side each month.
In short
- Since 13 May 2026 GA4 has an AI Assistant channel, with the medium ai-assistant.
- Clicks from Google AI Overviews and AI Mode sit in Organic Search. You cannot separate them in GA4.
- Assistants GA4 does not recognise sit in Referral. A custom channel group pulls them out.
- Redirects on your site can drop utm_source=chatgpt.com. Test it with ?utm_source=test.
- Your server log also sees visitors who refuse your cookies. Treat GA4 as a lower limit.
This article describes the situation on 19 November 2026. I will review it by 1 March 2027 at the latest, or sooner if Google changes the AI Assistant channel.
Frequently asked questions about tracking AI traffic
How do you see ChatGPT traffic in Google Analytics?
Open Reports, Acquisition, Traffic acquisition. ChatGPT sits in the AI Assistant channel. Switch the dimension to source and medium and you see chatgpt.com / ai-assistant. Google added this channel on 13 May 2026. Answer source: Google Analytics Help, What’s new in Google Analytics and Default channel group, accessed 19 November 2026. Question source: Google autocomplete “how to see chatgpt traffic in google analytics” (UK), 19 November 2026.
What does utm_source=chatgpt.com mean?
That the visit came from ChatGPT. In the October 2026 version of its FAQ, OpenAI wrote that ChatGPT adds this parameter to links itself, so you can recognise the traffic in your analytics. Answer source: OpenAI Help Center, Publishers and Developers FAQ (version of October 2026), accessed 19 November 2026. Question source: Google autocomplete “utm_source=chatgpt.com meaning”, 19 November 2026.
What is the AI Assistant channel in GA4?
A default channel for visitors who arrive through an AI assistant, such as ChatGPT, Gemini, DeepSeek, Copilot or Grok. GA4 gives those visits the medium ai-assistant. Google AI Overviews and AI Mode are excluded. Answer source: Google Analytics Help, Default channel group, accessed 19 November 2026. Question source: Google autocomplete “ai assistant channel ga4” (UK), 19 November 2026.
Can you track AI Overview traffic in GA4?
Not separately. Clicks from AI Overviews and AI Mode count as Organic Search in GA4. Google only sends the domain as referrer, with no separate value for AI answers. Impressions in AI answers are visible in Search Console. Answer source: Google Analytics Help (Default channel group) and Google Search Central, Identify Google Search traffic in your web analytics or server logs (updated 12 November 2026), accessed 19 November 2026. Question source: Google autocomplete “how to track ai overview traffic in ga4” (UK), 19 November 2026.
Further reading on AIAgentCycle
- Search Console generative AI report for your impressions in AI Overviews and AI Mode.
- Google AI Overviews for how Google builds AI answers in Search.
- Perplexity sources if you want to know how AI search engines pick sources.
- MCP server for your webshop if you run a webshop and want to be found in AI assistants.
- Business process automation for an overview of what you can automate.