How to track traffic from ChatGPT and other AI assistants in Google Analytics
In Google Analytics 4, open the Traffic acquisition report and look for the AI Assistant channel, which Google added to the default channel group in May 2026 for visits referred by assistants such as ChatGPT, Gemini and Claude. Google does not publish the full list of assistants it recognises, so add a custom channel group with a regular expression on the source to catch the rest. Visits that arrive with neither a referrer nor a UTM tag still count as Direct, and AI crawlers do not appear in analytics at all.
When a person clicks a link in an AI answer and lands on your site, that visit can be measured like any other referral. The difficult part is knowing which visits analytics sees, where it files them, and which never reach it. This guide covers Google Analytics 4 step by step, because it now has a built-in channel for AI traffic. The same logic applies to any analytics tool that reads the referrer or the utm_source parameter.
On this page
- Which visits from AI assistants can analytics see?
- Does Google Analytics have a channel for AI traffic?
- How do I see Perplexity, Claude and other assistants in GA4?
- Does ChatGPT add utm_source=chatgpt.com to links?
- Why do some AI visits show up as Direct?
- Where do clicks from Google AI Overviews and AI Mode go?
- What can analytics not show, and what does AISeeWhy check?
Which visits from AI assistants can analytics see?
Three kinds of AI traffic reach a website, and only one of them is a person in a browser:
- Clicks from an answer: a person reads an answer and follows a link to your site. This is the traffic analytics counts.
- Live fetches: when someone asks a question, an assistant may load your page to answer it. OpenAI uses
ChatGPT-Userfor certain user actions, Anthropic saysClaude-Usermay access websites when people ask Claude questions, and Perplexity saysPerplexity-Usermay visit a page to help answer a question. - Crawling:
OAI-SearchBot,GPTBot,ClaudeBot,Claude-SearchBot,PerplexityBotand others fetch pages ahead of any question.
Fetches and crawls are server requests without a visitor behind them. Google Analytics automatically excludes traffic from known bots and spiders, you cannot turn that exclusion off, and you cannot see how much was excluded. Count these requests in your server logs instead; our guide on checking server logs for AI crawlers shows how.
Does Google Analytics have a channel for AI traffic?
Yes. On 13 May 2026 Google added an AI Assistant channel to the default channel group in Google Analytics 4. When the referrer matches a recognised AI assistant, Analytics sets the medium to ai-assistant and the campaign to (ai-assistant), and the session lands in the AI Assistant channel instead of Referral.
To see it, open Reports, then Acquisition, then Traffic acquisition, and use Session default channel group as the dimension. Three limits are worth knowing:
- Google names examples but not the full list. The default channel group help page mentions ChatGPT, Gemini, Deepseek, Copilot and Grok, and the announcement mentions ChatGPT, Gemini and Claude. Neither names Perplexity, and the source list Google publishes for download covers search, social, video and shopping sites only.
- The channel excludes Google's AI Overviews and AI Mode.
- The announcement does not say whether older data was reclassified, so compare periods before and after mid-May 2026 with care.
How do I see Perplexity, Claude and other assistants in GA4?
First look at what you already have. In Traffic acquisition, switch the dimension to Session source and check whether perplexity.ai, claude.ai or other assistant domains still appear with the medium referral. If they do, the built-in rule does not cover them in your property.
To group them yourself, create a custom channel group. Default channel groups cannot be edited, but a copy can. In Admin, under Data display, open Channel groups and choose Create new channel group, which starts from a copy of the default group. Add a channel named, for example, AI assistants, with the condition Source matches regex and this value:
.*(chatgpt\.com|openai\.com|perplexity\.ai|claude\.ai|gemini\.google\.com|copilot\.microsoft\.com).* In Google Analytics, a regular expression must match the whole value and is case-sensitive, which is why the pattern starts and ends with .*. Traffic is placed in the first channel whose definition it matches, so use Reorder to move your channel to the top. Anything Google recognises that your list misses still falls into the built-in AI Assistant channel below it.
Google says custom channel groups can be applied to reports retroactively. A standard property can have two custom channel groups with up to 50 channels each. The domains above are the assistants' web addresses; vendors do not document what referrer their apps send, so check your referral report now and then and add new sources as they appear.
Does ChatGPT add utm_source=chatgpt.com to links?
Sometimes, but it is not documented. OpenAI's own archived API examples from 2025 show cited links ending in ?utm_source=chatgpt.com, and in Google Analytics a utm_source value shows up as the session source in the Traffic acquisition report. But we could not find a current OpenAI page that describes the tag. The OpenAI help article for publishers that used to mention it now redirects to an unrelated page, and neither OpenAI's crawler documentation nor its help article on searching the web with ChatGPT mentions it.
So treat the tag as observed behaviour that can change without notice, not as a guarantee. The regex above matches chatgpt.com whether it arrives as a tag or as a referrer, and the built-in AI Assistant channel works from the referrer, so neither method depends on the tag alone.
Why do some AI visits show up as Direct?
Google Analytics files a session as Direct when the source is (direct) and the medium is (none) or (not set), which Google describes as users arriving via a saved link or by entering your URL. Any click that reaches you with neither a referrer nor a tag ends up there, and there is no way to trace it back to an assistant afterwards.
A click loses its referrer when the link is opened with rel="noreferrer" or under a no-referrer policy, or when a person copies the link and pastes it into a new tab. Even when a referrer is sent, browsers by default send only the origin across sites, so you see chatgpt.com or perplexity.ai, never the conversation or the question that led to the click.
For these reasons, treat the AI numbers in analytics as a floor. A rise in Direct sessions landing on deep pages, such as a specific guide or product page, can be a hint of untagged AI clicks, but it is not proof.
Where do clicks from Google AI Overviews and AI Mode go?
Not into the AI Assistant channel: Google's help page says that channel excludes AI Overviews and AI Mode. Google's documentation on AI features says they are included in the Search Console Performance report under the Web search type, counted together with classic results, and suggests Google Analytics for conversions and time on site.
So analytics cannot split AI Overviews clicks from other Google clicks by referrer. Search Console is the place to look, and our guide on tracking brand mentions in AI answers covers its reports for AI features and Bing's report for Copilot.
What can analytics not show, and what does AISeeWhy check?
Two things that decide AI visibility leave no trace in analytics. Answers that name or recommend you without a click are invisible, and so is the reason when assistants stop linking to you, for example a firewall that started blocking OAI-SearchBot or PerplexityBot. Analytics only shows fewer visits, with no cause attached.
The free AISeeWhy check fetches a page as 16 AI and search crawlers next to a real browser, applies robots.txt per crawler, recognises firewall challenge pages and shows how much text arrives without JavaScript. The free AI crawler IP check tells you whether an IP in your logs really belongs to a crawler such as GPTBot. On paid plans from Pro at $22 a month, the AI visibility check asks the questions you write through ChatGPT, Claude, Perplexity and Gemini with your own API keys and shows whether your brand or domain is mentioned or cited, next to up to four competitors, with a weekly repeat. API answers can differ from what people see in the apps, and it does not query Google AI Overviews or AI Mode.
Next steps
- robots.txt tester and checker for AI crawlers
- AI crawler IP check
- See an example full report
- AI crawler monitoring
- Plans and prices
Crawlers in this article
Frequently asked questions
Does ChatGPT add UTM parameters to links?
Cited links can carry utm_source=chatgpt.com, as OpenAI's archived 2025 API examples show, but we found no current OpenAI documentation of it: the old publisher help article now redirects elsewhere. Treat it as behaviour that may change, and also match chatgpt.com as a referrer, which the GA4 AI Assistant channel does for you.
Is Perplexity included in the GA4 AI Assistant channel?
Google's help pages do not name Perplexity, and Google does not publish the full list of assistants it recognises. Check Traffic acquisition by Session source: if perplexity.ai still shows with the medium referral, add it to a custom channel group.
Why does AI traffic show up as direct?
A click that arrives without a referrer and without a UTM tag is counted as Direct, for example when the link was opened with noreferrer or copied into a new tab. Those visits cannot be traced back to an assistant, so treat your AI numbers as a minimum.
Do AI crawlers show up in Google Analytics?
No. Google Analytics automatically excludes known bot and spider traffic, and crawlers and live fetchers are not people browsing your site. Use your server logs to see them and verify their IPs against the lists the vendors publish.
Can I see which question someone asked before clicking?
No. Browsers by default send only the origin of the referring site across domains, so analytics shows the assistant's domain at most, never the conversation. To learn which questions name you, ask the assistants those questions yourself and record the answers.
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 Analytics Help: Traffic acquisition report
- Google Analytics Help: URL builders: Collect campaign data with custom URLs
- Google Analytics Help: About regular expressions
- Google Analytics Help: Known bot-traffic exclusion
- Google Search Central: AI features and your website
- MDN: Referrer-Policy header
- OpenAI: Overview of OpenAI crawlers
- OpenAI Cookbook (archived): Web Search and States with Responses API
- OpenAI Help Center: Searching the web with ChatGPT
- Anthropic: Does Anthropic crawl data from the web, and how can site owners block the crawler?
- Perplexity: Perplexity crawlers