Why Google Analytics Is Missing Your AI Bot Traffic

December 1, 2026

analyticsai-searchserver-logs

Sometime in high school (maybe before) an English teacher probably told you to consider your audience when you write. But today chatbots often sit between our content and our intended audience, making it difficult to know if we are writing for a human, who may appreciate concise prose and understands context, or a chatbot hungry for em-dashes and FAQs. The first step is to track how much of our traffic is coming from bots vs humans. This post describes the challenges in setting up this infrastructure and why Google Analytics (GA) leaves us in the dark.

How do chatbots read your website?

Chatbots like Claude and ChatGPT typically use two tools to read content: web search and web fetch. When a user asks something like "is an MBA worth it in 2026" the bot uses the web search tool, which passes that question, and possibly other similar questions, to a search engine. ChatGPT reportedly used Bing, and Claude likely used Brave, but both companies also run their own search crawlers (OpenAI's OAI-SearchBot and Anthropic's Claude-SearchBot). These search engines hold a snapshot of your page from the last time they crawled it. If your page shows up in the search, the chatbot may use that snapshot to answer the user's question. With your content indexed, the chatbot can answer many queries for many users and only touch your site when its crawler comes back.

A chatbot answers from its search index again and again, and only fetches your page for follow-ups. Your server log sees the crawl and the fetch; Google Analytics sees neither.
A chatbot answers from its search index again and again, and only fetches your page for follow-ups. Your server log sees the crawl and the fetch; Google Analytics sees neither.

But web search isn't enough since users may have follow-ups or the chatbot may want to make sure it has up-to-date content, since the page may have changed since it was indexed. In this case the bot uses the web fetch tool. Although this tool accesses your site, it does it differently than a human would, and in a way that Google Analytics (GA) can't see.

Why doesn't Google Analytics show ChatGPT traffic?

GA works by embedding a piece of JavaScript into your website that is triggered by a user's browser. But the web fetch tool doesn't typically use a browser and therefore doesn't trigger the JavaScript. Anthropic's web fetch documentation explicitly says it does not work on pages requiring JavaScript to render. This means that GA doesn't capture chatbots querying your site in order to answer a user's question.1 Therefore, because GA relies on JavaScript it can't tell us how much traffic we are getting from bots relative to browser-using humans.

Server-side tracking can capture humans and bots

When a browser or a bot requests content from your website, your server sends a response, and it can also log information about who asked. Bots and browsers both typically declare themselves in a User-Agent header. When ChatGPT uses its web fetch tool, for example, it tells your server it is ChatGPT-User (Claude's is Claude-User). When a person visits your website in Chrome, your server sees a Chrome browser. Of course, some bots impersonate humans, and some AI agents browse with a Chrome browser. But most AI traffic comes from bots that identify themselves, like ChatGPT's and Claude's.

The log also records the full URL that was requested, so the UTM parameters on your campaign links also show up. This allows us to capture much of the information that GA provides without requiring cookies. A future post will discuss the GDPR implications of gathering analytical data server-side.

How much AI traffic can server logs show?

Although JavaScript-based analytics systems like GA miss traffic from bots, we can track much of this traffic from the server. This is how tools like Profound's Agent Analytics measure bot traffic: they ingest your CDN logs from Cloudflare or CloudFront. But we will still miss how often bots answer users' questions from content they've already indexed since that content exists on the chatbot providers' own servers. The bot traffic you see in your server logs is therefore a lower bound.

How to start tracking bot traffic

The first step in knowing if we should gear our content to humans or bots is measuring the traffic. Server-side analytics allows us to do this. However, this is slightly more difficult to set up than a clean little GA snippet. Daggy offers a nearly one-click setup for sites on AWS CloudFront that tracks your server logs with raw logs never leave your AWS account. If your site runs on Drupal or WordPress, or sits behind Cloudflare or Vercel, get in touch.

Footnotes

  1. The only exception for this is for chatbots that actually use a browser, which then triggers GA's JavaScript snippets. ↩