This guide answers: measuring traffic from ai assistants in analytics
Measuring traffic from AI assistants in analytics
Visits from ChatGPT, Gemini, Claude and Perplexity can be measured in analytics, but only partly. See what GA4's AI Assistant channel and server logs show.
By Lena Tran, Content, AI search and tools
· 6 min read
updated

Short answer
Visits from ChatGPT, Gemini, Claude, Perplexity and other assistants can be measured in analytics, but only partly. Since 13 May 2026, Google Analytics classifies traffic from supported assistants in a dedicated “AI Assistant” channel. Server logs show the crawlers. Neither tells you with certainty whether a visit came from a person or a bot.
Key points
- On 13 May 2026, Google Analytics added an "AI Assistant" channel.
- Open GA4, go to Acquisition, then Traffic Acquisition.
- The automatic channel counts visits. It does not tell you who or what made them.
- Bots leave traces where analytics scripts do not reach.
Why AI traffic is worth watching now
Assistants such as ChatGPT, Gemini, Claude and Perplexity answer questions and often cite web sources. Each citation can send a visitor to your pages. That is a new slice of traffic with its own referrers, and it will not show up properly if your reports were built before assistants existed.
The slice is still small. In September 2026, AI traffic represented 0.43% of all web visits, roughly 4 visits in every 1 000, according to the Ahrefs Web Analytics benchmark covering more than 100 000 sites (AI Referral Traffic Statistics 2026, consulted 03/12/2026). Your own share may differ. The point of measuring is to see what is happening on your site, spot anomalies, and judge whether this source matters for your activity.
Share of all web visits that came from AI assistants, September 2026
0.43%, about 4 visits in every 1 000. Source: Ahrefs Web Analytics benchmark, as reported by Enleaf, consulted 03/12/2026.
The GA4 “AI Assistant” channel, available since May 2026
On 13 May 2026, Google Analytics added an “AI Assistant” channel. It sorts traffic from supported assistants automatically, with no setup on your side. The values assigned are: Medium “ai-assistant”, Channel Group “AI Assistant” and Campaign “(ai-assistant)” (Search Engine Land, consulted 03/12/2026).
Other vendors moved in the same direction. Contentsquare launched LLM analytics on 17 March 2026. Plausible added the channel in June 2026 and reclassified historical data.
The channel has a built-in limit: it only covers the assistants Google supports. If an assistant is not on that list, its visits fall into other channels, usually referral or direct. The list of covered assistants is published by Google Search Central, so check it there rather than assume. Google does not publish exactly what makes an assistant “supported”.
How to find AI traffic in your GA4 data
Open GA4, go to Acquisition, then Traffic Acquisition. Look for the “AI Assistant” channel in the default channel group. To see the detail, switch the table to “Session source / medium” and filter on “ai-assistant”. You will see which sources sit behind the channel.
When you read the numbers, it helps to know how AI referrals are split overall. SE Ranking data for 2026 gives the following distribution (as reported by Enleaf, consulted 03/12/2026). These are market-wide figures, not a prediction for your site.
Distribution of AI referral traffic in 2026, SE Ranking data
If you want one view of all assistants regardless of Google’s supported list, create a custom channel group. Add a rule on “Session source” with a regular expression that matches chatgpt.com, perplexity.ai, gemini.google.com, copilot.microsoft.com and claude.ai in one go (Enrich Labs, consulted 03/12/2026). The channel then groups them in the order you define. This guide does not go through GA4 configuration screen by screen; Google’s own help pages do that.
What GA4 cannot tell you
The automatic channel counts visits. It does not tell you who or what made them. A visit labelled as coming from ChatGPT can be a person who clicked a link in an answer. It can also be an automated agent checking the URL. A-Track describes this as one of the blind spots of the channel, along with engagement time that is hard to interpret, because bots read fast, and bounce rate that ends up biased.
The technical reason is simple. No documented GA4 dimension marks an agent that drives a real browser. Telling human visits through assistants apart from bot crawlers therefore takes analysis beyond the standard dimensions (The Universal Commerce Protocol, consulted 03/12/2026). No setting removes that uncertainty, so treat the AI channel as an indicator and not as an exact count of readers.
From an assistant answer to your reports
- A user asks an assistant. The answer cites your page.
- Two kinds of visits can follow. A person clicks the link, or an automated agent fetches the page.
- GA4 records a session. If the assistant is supported, it lands in “AI Assistant”. It does not label the visitor as human or bot.
- Your server logs record the request. The user agent tells you which assistant’s crawler or user fetcher it was.
Server logs: seeing AI crawlers directly
Bots leave traces where analytics scripts do not reach. Raw server log files record each request with its user agent. If you use a CDN such as Cloudflare or Fastly, its analytics can show the same information.
The user agents to look for fall into two groups, according to dev.to and SearchFit (consulted 03/12/2026):
- ChatGPT-User, Claude-User and Perplexity-User identify visits made on behalf of end users.
- OAI-SearchBot, PerplexityBot and ClaudeBot are crawlers.
To read a log, filter lines by one of these names, then group by URL and by day. You see which pages an assistant requests and how often. The pattern differs from a search engine crawler. AI bots tend to make slower, targeted requests, fetching the information needed to answer a user, while Googlebot indexes broadly.
Third-party tools for finer tracking
Beyond GA4, several tools report on AI traffic specifically: Contentsquare since March 2026, Plausible since June 2026, plus Readable AI, Enrich Labs and TinyAnalytics. Their advantages are finer categorisation, historical reclassification in some cases, and custom alerts or thresholds. Pricing usually depends on usage tiers, so compare it against your own volume before committing.
Special case: human visitor or crawler?
Because GA4 does not decide for you, look at behaviour. Some signals suggest a bot:
- Very short sessions, since bots read fast.
- A single page viewed per session.
- A bounce rate of 100%.
- Visits spread evenly across days and hours, instead of following human rhythms.
None of these proves anything alone. Combine them with your server logs: if the logs show a crawler user agent hitting the same pages at the same moments, you have a stronger case. Accept that some visits will stay ambiguous.
A monitoring routine that holds up
Keep it simple and repeat it:
- Check that GA4 captures the AI channel. It exists only from May 2026 onward, so earlier data will not be classified.
- Create a custom channel group if you want a unified view of all assistants.
- Set a GA4 alert if AI traffic rises above a threshold that makes sense for you, for example 5%.
- Review your server logs for AI bots.
- Exclude bots like GPTBot from analysis if they are not relevant to your goal. This is optional and depends on what you want to measure.
- Reassess every quarter, because the AI landscape changes fast.
Expect gaps. The tracking is useful, but it is not complete, and its limits are acknowledged by the vendors themselves.
Sources
- Search Engine Land, Google Analytics AI Assistant channel, consulted 03/12/2026
- Enleaf, AI Referral Traffic Statistics 2026, consulted 03/12/2026
- dev.to (Transica), ChatGPT, Perplexity and Claude traffic in GA4 and server logs, consulted 03/12/2026
- SearchFit, Detect bot traffic in GA4, consulted 03/12/2026
- Enrich Labs, AI Search Analytics GA4, consulted 03/12/2026
- The Universal Commerce Protocol, Identify AI Agent Traffic in GA4, consulted 03/12/2026
- A-Track, AI Traffic in GA4 and its blind spots, consulted 03/12/2026


