Google Analytics Bot Filtering Falls Short: How to Detect AI Agents and Sophisticated Bots

Published · 10 min read
Jason Packer next to the headline Two-thirds of your traffic isn't human
MeasureU

Google Analytics Bot Filtering Falls Short: How to Detect AI Agents and Sophisticated Bots

This post is based on a talk Jason Packer gave at a MeasureU Brain Gainz session. The ideas are his; the write-up is ours.

Know that feeling when your analytics show a massive traffic spike and you think something’s finally working, only to realize it’s probably not real people?

You’re not alone. And honestly? The problem is way bigger than most marketers realize.

Here’s the thing: bots now account for roughly two-thirds of all web traffic. That’s according to Cloudflare Radar, and it’s not slowing down. Meanwhile, Google Analytics bot filtering is still using the same basic approach it’s used for years, and it’s missing the sophisticated stuff entirely.

That’s where understanding modern bot detection comes in. Because if you’re making decisions based on analytics data that’s corrupted by bot traffic, you’re essentially flying blind.

I recently sat down with Jason Packer from Quantable to dig into this problem. Jason built a bot detection tool called Telltale Bot after realizing that existing analytics platforms, including GA4, just aren’t equipped to handle what’s happening on the modern web.


Watch the Full Breakdown

In this Brain Gainz session, Jason breaks down exactly how bots and AI agents interact with your site, why Google Analytics misses most of them, and what you can actually do about it.

The written version below covers the key ideas, the framework Jason uses to tell humans, bots and agents apart, and the tools available at every budget.

What You’ll Learn in This Post

  • Why Google Analytics only catches bots that identify themselves, and misses sophisticated disguised traffic completely
  • How AI agents like ChatGPT, Claude and Gemini access your site in ways that may or may not show up in your reports
  • Why segmenting bot traffic instead of filtering it out gives you better data without losing visibility
  • How click fraud in display campaigns can hit 80% bot rates, and why you’d never know without dedicated detection

Table of Contents

Why Google Analytics Bot Filtering Isn’t Enough Anymore

Let’s be honest about how Google Analytics handles bots.

GA4 uses a list provided by the IAB (Interactive Advertising Bureau) that contains known bot user agents. If something identifies itself as a bot on that list, GA drops it from your reports. Simple enough.

But here’s the problem: most sophisticated bots don’t announce themselves anymore.

Jason shared a benchmark he ran across multiple analytics platforms, and the results were pretty eye-opening. He identified five levels of bot sophistication:

Level 1: Declared crawlers. Things like Googlebot that openly identify themselves. GA catches these fine.

Level 2: Headless browsers that identify themselves. Automated browsers that still put “headless” in their user agent. GA handles these too.

Level 3: Disguised traffic from data centers. This is where GA starts failing. You might notice weird traffic from Singapore or Ashburn, Virginia (where AWS has major data centers), but GA has no way to automatically flag it as bot traffic.

Level 4: Residential proxy traffic. Scraping services that route through real people’s IP addresses. None of the standard analytics tools detect this.

Level 5: Stealth bots designed to evade detection. Specifically built to look human. And some AI agents fall into this category too.

Heatmap table showing the share of test bots each analytics tool identified across five bot sophistication levels
Jason’s benchmark: the share of his test bots each analytics tool identified, by sophistication level. GA4 drops to 0% from Level 3 on.

The truth is, once you get past Level 2, Google Analytics can’t tell the difference between a human and a bot. It just doesn’t have enough information to work with.

How AI Agents Actually Access Your Website

So what happens when someone asks ChatGPT or Claude to check out your website?

It depends. And this is where it gets complicated.

Jason broke down four different ways an AI assistant might hit your site:

Simple web fetch (no JavaScript). If someone says “fetch me the MeasureU homepage,” the AI might just grab the raw HTML. No images, no CSS, definitely no JavaScript execution. This won’t show up in any client-side analytics tool, including bot detection tools that rely on JavaScript.

Cached response. Here’s something I didn’t realize: if ChatGPT has already fetched a popular page, it might just serve that cached version without hitting your server at all. No way to see that happening.

Always-render mode. Some AI tools like Mistral render the full page with JavaScript every time. These might show up in your analytics, but Mistral specifically uses a user agent that gets filtered by GA’s IAB list.

Action mode (Chromium-based). When you ask an AI to actually do something on a page, like fill out a form or register for an event, it fires up a real browser engine. This is detectable, but whether it shows up in your reports depends on how well-behaved the AI is about identifying itself.

Slide listing four ways an AI assistant might access your site: web fetch, cloud or headless browser, your own browser driven by AI, and an AI browser
Jason’s slide on the ways an AI assistant can reach your site, and what each one looks like in GA4.

And here’s where it gets interesting with user agent strings. These are just plain text that any browser or bot can fill in with whatever they want. I could call my scraper “Jason’s Totally Real Browser” and there’s nothing stopping me.

That’s why there’s a newer standard called Web Bot Auth. It includes a cryptographic signature that actually proves the bot is who it says it is. ChatGPT and Gemini are starting to use this. Googlebot doesn’t support it yet (though Jason expects they will eventually).

The catch? Web Bot Auth headers aren’t accessible to your JavaScript. You need server-side access to verify them.

Slide on the user-agent problem with a server log line showing the MistralAI-User user agent
The user-agent problem. The log line at the bottom is Mistral’s fetcher identifying itself as MistralAI-User.

The Three-Column Framework for Bot Detection

Jason laid out three main approaches to identifying whether a visitor is human, bot, or AI agent:

Column 1: Self-Identification

This is the easy stuff. The bot tells you who it is through:

  • User agent strings (Claude openly identifies itself)
  • Web Bot Auth signatures (ChatGPT sends these)
  • Other headers that declare bot status

The problem? Not all bots play nice. Grok, for example, was sending signatures back in September, and then stopped. The well-behaved AI agents identify themselves. The others… don’t.

Column 2: Browser Consistency Checks

This is where things get more technical. You’re looking for mismatches between what a browser claims to be and what it actually is:

  • User agent says Mac, but the GPU isn’t a Mac GPU? Probably spoofing.
  • Claims to be Chrome but doesn’t have Chrome-specific behaviors? Red flag.
  • IP address from a data center instead of a residential ISP? Suspicious.

This is basically fingerprinting for security purposes rather than tracking. And Jason made an important distinction here: you’d never want to use this information to identify individual humans across sessions (privacy nightmare), but it’s totally appropriate for identifying bots.

Column 3: Behavioral Analysis

This is how CAPTCHAs work, and it applies to bot detection too:

  • Mouse movement: Bots move in perfectly straight lines or teleport across the screen. Humans are messy.
  • Keystroke patterns: When a bot fills out a form, the timing is unnaturally consistent.
  • Interaction timing: Humans pause, scroll back, hesitate. Bots are efficient.
Slide comparing declared, inspected and behavioral evidence for bot detection by confidence, consistency and simplicity
Declared, inspected and behavioral: the three kinds of evidence, and how much confidence each one gives you.

Why Marketers Should Care: Click Fraud and Attribution

Okay, but why should a marketer actually care about any of this?

I asked Jason this directly because I think it’s the hardest part to explain. Here’s what he said:

Click fraud is real and expensive. Jason’s seen display campaigns with 80% bot rates. Eighty percent. That means for every $100 you spend, $80 goes to fake clicks that will never convert.

Google’s actually pretty good at catching fraud in their own search campaigns, since they have strong incentives to do so. But display networks? Meta? Other platforms? The detection quality varies wildly.

And here’s something you can actually do: Jason’s tool can generate fraud reports that you send to Google or other ad platforms. In many cases, they’ll refund you. They want to improve their own detection, so if you bring them solid evidence, they’ll often make it right.

Attribution breaks even without purchases. Even if someone uses an AI agent just for research, never actually buying through it, that breaks your attribution model. The agent might hit your site from a data center IP, show up as direct traffic, and never convert. Meanwhile, the human who was driving that agent might come back later through a branded search and buy.

Your data says the branded search campaign is crushing it. The reality is more complicated.

Unexpected traffic spikes aren’t always good news. Jason mentioned seeing a client with a huge spike in “SEO traffic” from Google. Looked great on paper. But his detection tool showed it was all bots: people have started spoofing Google as the referrer to bypass bot blocking.

If you don’t have visibility into what’s actually human vs. bot, you can’t trust your data.

Segmentation vs. Filtering: A Better Approach

Here’s the mindset shift Jason recommends:

Stop trying to filter out all bot traffic. Start segmenting it instead.

The old approach was: bots are bad, exclude them, pretend they don’t exist. That made sense when bots were 10% of traffic and mostly just search crawlers.

But when bots are 66% of traffic, and some of that traffic is customers using AI agents to interact with your business, filtering everything out means you’re blind to a huge part of what’s happening.

Slide titled Segment, don't filter, with three columns for humans, agents and bots
Segment, don’t filter: report humans, agents and bots as three audiences instead of one audience plus noise.

Jason’s approach uses three buckets:

  • Human: Actual people using actual browsers
  • Bot: Automated systems (crawlers, scrapers, etc.)
  • Agentic: AI agents acting on behalf of humans

You still want your conversion rate calculations based on human traffic. But you also want visibility into what agents are doing on your site. Are they having trouble with your JavaScript-heavy checkout? Are they successfully filling out forms? This is data you need.

Here’s what that looks like on Jason’s own site. Over 30 days, Telltale Bot labeled roughly 73% of visitors to quantable.com as automated, and broke them out by agent: automated browsers, bingbot, Meta’s AI crawler, Googlebot and more.

Telltale Bot traffic report breaking visitors into human, agentic and bot verdicts by agent
Telltale Bot’s report for quantable.com, splitting visitors into Human, Agentic and Bot verdicts and naming each agent.

Solutions: From Free to Enterprise

Alright, so what can you actually do about this? Here’s the landscape:

Free / DIY Options

Google Tag Manager + JavaScript detection. This is what I covered in our AI Traffic Control workshop. You can build custom tags that check for browser inconsistencies and flag suspicious sessions. It’s not perfect, but it’s better than nothing and costs nothing beyond your time.

Microsoft Clarity CDN log import. Clarity just launched a feature that lets you import your CDN logs and see how AI systems are accessing your site. Limited to what your CDN captures, but it’s free.

Your web host’s logs. Most hosts provide some level of access logging. The reporting isn’t pretty, but the data is there.

Mid-Range Solutions

Telltale Bot (Jason’s tool). This is specifically designed for marketers who want visibility without having to change their infrastructure. You add a tag, it reports verdicts back to your data layer, and you can pass that into GA4 as events.

Jason’s offering 25% off the first six months with code BRAINGAINZ (yes, with a Z).

The key difference from enterprise tools: Telltale Bot is reporting-focused, not enforcement-focused. It won’t block anybody, and that’s not a marketer’s job anyway. But it will tell you what’s happening.

Enterprise Options

Cloudflare Enterprise Bot Management. Really solid, but we’re talking $5,000+ per month. And you have to proxy your entire site through Cloudflare.

Akamai, Imperva, Human. Similar story. Great detection, but requires major infrastructure changes and significant budget.

The challenge for most marketers is that the enterprise solutions require buy-in from IT, DNS changes, and budgets that aren’t typically under marketing’s control.

Comparison table of bot detection tools including Telltale Bot, Cloudflare and Akamai with what each does and costs
Jason’s comparison of bot detection options, from Telltale Bot to Cloudflare and Akamai, with what each does, doesn’t do and costs.

Your Next Steps

Here’s what I’d recommend:

  1. Start collecting data now. Whether it’s through Cloudflare (if you’re already on it), your host’s logs, or a dedicated tool, get visibility. When something goes wrong later, you’ll wish you had historical data to compare against.
  2. Check your display campaigns. If you’re running any display advertising, this is where click fraud hits hardest. Even running a few weeks of detection can tell you if you have a problem.
  3. Don’t assume traffic spikes are good news. That direct traffic bump might be bots spoofing referrers. That SEO increase might be scrapers using Google as a fake source. Question everything.
  4. Think segmentation, not filtering. The goal isn’t to make bots disappear from your data. It’s to understand what’s human, what’s automated, and what’s an AI agent acting on a human’s behalf.

This isn’t going away. If anything, it’s going to get more complicated as AI agents become more common. Would you rather be figuring this out now, or scrambling after your traffic drops 50% and you have no idea why?

And if you want to check out Jason’s tool, head to telltale.bot and use code BRAINGAINZ for 25% off your first six months.

Keep Learning With the Community

Brain Gainz sessions like this one run inside MeasureU Pro, where mentors walk through what they’re actually building and answer questions live. Jason took questions on click fraud, Cloudflare and GA4 for a good chunk of this one.

Join MeasureU Pro to sit in on the next Brain Gainz session.

About the author

Founder, MeasureU

Jeff Sauer is a measurement marketing expert who has helped thousands of marketers make better decisions with data. He founded MeasureU to make analytics accessible to everyone.

Share:

Ready to fix your marketing data?

Our team helps marketing organizations build data infrastructure they can actually trust. Tell us about your situation.

Enjoyed this article?

Get weekly measurement marketing insights delivered to your inbox.

No spam. Unsubscribe anytime.