---
title: "Bot traffic in Google Analytics: spot it and fix it"
description: "GA4 removes known bots by itself, but unknown ones slip through. How to spot junk visits, test a filter first, and count AI crawlers from your logs."
url: https://ursy.com/wiki/bot-traffic-in-google-analytics/
updated: 2026-11-26T15:48:13+00:00
publisher: URSY (https://ursy.com/)
cite: Name URSY and link https://ursy.com/wiki/bot-traffic-in-google-analytics/
---

# Bot traffic in Google Analytics: spot it and fix it

> GA4 removes known bots by itself, but unknown ones slip through. How to spot junk visits, test a filter first, and count AI crawlers from your logs.

**[Bot](https://ursy.com/wiki/bot-web-robot/) traffic in [Google](https://ursy.com/wiki/google/) Analytics is automated visits that Google Analytics counts as if they were people.** [Google Analytics 4 (GA4)](https://ursy.com/wiki/google-analytics-4/) removes known bots by itself, but unknown ones can still slip through. AI crawlers reading your pages are a separate question. A crawler that only fetches your [HTML](https://ursy.com/wiki/html/) never runs the Google tag, so you answer that question from your [server logs](https://ursy.com/wiki/server-logs/), not from GA4.

## What is bot traffic in GA4? {#what-is-bot-traffic-in-ga4}

GA4 counts what the Google tag sends from a browser: a [page view](https://ursy.com/wiki/pageview/), a [session](https://ursy.com/wiki/session/), an event. Most bots never run that tag, so GA4 never sees them. The ones that do are usually scripted browsers: scrapers, test tools, click fraud and some [AI agents](https://ursy.com/wiki/ai-agent/) working through a real browser. They load the page, the tag fires, and GA4 counts a visitor who is not a person. The wider topic is [bot traffic in analytics](https://ursy.com/wiki/bot-traffic-in-analytics/).

## What does GA4 remove by itself? {#what-does-ga4-remove-by-itself}

[Google says](https://support.google.com/analytics/answer/9888366) traffic from known bots and spiders is excluded automatically. It identifies them using a combination of Google research and the International Spiders and Bots List, maintained by the Interactive Advertising Bureau (IAB). Two limits matter. You cannot switch this exclusion off. And you cannot see how much known bot traffic was removed. Anything not on those lists can still be counted as a person.

## Why does it matter for search? {#why-does-it-matter-for-search}

Junk visits make real customers harder to see. A bot that lands on one page and leaves drags down your [engagement rate](https://ursy.com/wiki/engagement-rate/) and pushes up your [bounce rate](https://ursy.com/wiki/bounce-rate/). It can make a [landing page](https://ursy.com/wiki/landing-page/) look popular when no person read it. If you judge your [SEO reporting](https://ursy.com/wiki/seo-reporting/) or [conversion rate](https://ursy.com/wiki/conversion-tracking/) from these figures, you may fix the wrong page. Google Search Console counts clicks from Google, not tag [hits](https://ursy.com/wiki/hit-analytics/), so a gap between the two is a clue. See [Search Console vs Analytics](https://ursy.com/wiki/search-console-vs-analytics/).

## Why does it matter for AI answers? {#why-does-it-matter-for-ai-answers}

AI companies read your site with crawlers such as [GPTBot](https://ursy.com/wiki/gptbot/), [OAI-SearchBot](https://ursy.com/wiki/oai-searchbot/) and [ClaudeBot](https://ursy.com/wiki/claudebot/), and with [live fetchers](https://ursy.com/wiki/live-fetcher/) that open one page for one question. If they do not run the tag, GA4 cannot count that reading. What GA4 can show is the people an AI tool sends. Its [AI Assistant channel](https://support.google.com/analytics/answer/9756891) covers users who arrive from sources like [ChatGPT](https://ursy.com/wiki/chatgpt/), Gemini, [Deepseek](https://ursy.com/wiki/deepseek/), Copilot or Grok. It excludes Google’s AI Overviews and AI Mode. See [ChatGPT traffic in Google Analytics](https://ursy.com/wiki/chatgpt-traffic-in-google-analytics/).

## Which record shows what? {#which-record-shows-what-2}

| What happened | Where you see it |
| --- | --- |
| A known bot on the IAB list visited | Nowhere in GA4: it is removed automatically |
| An unknown bot ran your Google tag | GA4, mixed in with real visitors |
| A person clicked a link in ChatGPT, Gemini or Copilot | GA4, in the [AI Assistant](https://ursy.com/wiki/ai-assistant/) channel |
| A person clicked a link in Google’s [AI Overviews](https://ursy.com/wiki/ai-overview/) or [AI Mode](https://ursy.com/wiki/google-ai-mode/) | GA4, but not in the AI Assistant channel |
| An [AI crawler](https://ursy.com/wiki/ai-crawler/) fetched a page | Your server or [CDN](https://ursy.com/wiki/cdn/) logs |
| A bot faked a referrer to get your attention | GA4, as [referral spam](https://ursy.com/wiki/referral-spam/) |
| Your own staff browsed the site | GA4, unless you filter internal traffic |

## What are the warning signs? {#what-are-the-warning-signs}

Look for a pattern, not one odd day. Common signs:

- A spike from one city or country you do not sell to.
- Sessions that are almost never engaged. [Google defines](https://support.google.com/analytics/answer/12195621) an engaged session as one that lasts longer than 10 seconds, has a key event, or has 2 or more page views.
- Every visit landing on the same page, often the home page.
- A [referrer](https://ursy.com/wiki/referrer/) you do not recognise, or a sudden jump in [direct traffic](https://ursy.com/wiki/direct-traffic/).
- Traffic at the same minute every hour, which people rarely do.

## What filters does GA4 offer? {#what-filters-does-ga4-offer}

[Google lists three kinds of data filter](https://support.google.com/analytics/answer/10108813): developer traffic, internal traffic and web [hostname](https://ursy.com/wiki/hostname/) traffic. Internal traffic is defined by [IP address rules](https://support.google.com/analytics/answer/10104470) in your web data stream. Matching events get a `traffic_type` parameter, with `internal` as the default value. A filter can be in a testing, active or inactive state. All of these are built for cleaning up your own visits. An unknown bot is only caught if you already know the addresses it uses.

## Why test before you filter? {#why-test-before-you-filter}

Google is blunt about it. Once you apply a data filter, the effect on the data is permanent. Analytics evaluates filters from the point of creation forward, and they do not affect historical data. The excluded data is never processed and will never be available in Google Analytics or BigQuery. So a filter that catches real customers by mistake loses them for good. Run it in testing first and compare.

## What about unwanted referrals? {#what-about-unwanted-referrals}

GA4 has a separate setting to [identify unwanted referrals](https://support.google.com/analytics/answer/10327750), with up to 50 conditions per data stream. It is meant for your own other domains, such as a separate payment or basket domain, so they do not show up as [traffic sources](https://ursy.com/wiki/traffic-sources/). A matching event gets `ignore_referrer=true`. It does not change past data, and it is not a bot blocker: the visit is still counted, only the source changes.

## Common mistakes {#common-mistakes}

- Adding an exclude filter in a hurry. It is permanent and forward-only.
- Expecting GA4 to show AI crawlers. Reading without the tag never reaches it.
- Blocking a bot in [robots.txt](https://ursy.com/wiki/robots-txt/) and expecting GA4 to change. Bad bots often ignore robots.txt, and good ones were not in GA4 anyway.
- Trusting a bot’s name. Anyone can send “[Googlebot](https://ursy.com/wiki/googlebot/)” as their [user agent](https://ursy.com/wiki/user-agent/). Check it with a [reverse DNS bot check](https://ursy.com/wiki/reverse-dns-bot-check/) or the company’s IP list.
- Treating every odd visit as a bot. Shared office networks and [cookie banner](https://ursy.com/wiki/cookie-banner/) choices change figures too. See [why analytics numbers are low](https://ursy.com/wiki/why-analytics-numbers-are-low/).

## A worked example {#a-worked-example}

A bike shop sees 2,000 extra sessions overnight. All come from one city, all land on the home page, and almost none are engaged. The owner builds a comparison for that city and checks it against normal visitors: no basket adds, no second page. In the server log, the same hours show thousands of requests from one [network block](https://ursy.com/wiki/network-block/) with one browser name. The owner adds that range as an internal-traffic rule, leaves the filter in testing for a week, confirms only the junk is tagged, then makes it active. Last month’s figures stay as they were.

## How to check it {#how-to-check-it}

1. In GA4, look at the warning signs above in your landing page, city and source reports. Build a comparison for the suspect slice before you change anything.
2. Check the same days in [Google Search Console](https://ursy.com/wiki/google-search-console/). If Google clicks are flat while GA4 sessions jump, the extra visits did not come from search.
3. See what the page loads with the [Tracking Checker](https://ursy.com/tracking-checker/) and what it sets before consent with the [Cookie Checker](https://ursy.com/cookie-checker/). A tag that fires twice looks like extra visitors. Read the response headers with the [HTTP Header Checker](https://ursy.com/http-header-checker/).
4. Open your server or CDN logs for the same hours. The [AI Crawler Log Analyser](https://ursy.com/ai-crawler-log-analyzer/) will read a log in your browser. In URSY Pro, opening in stages, the [log file analyser](https://ursy.com/pro/log-file-analyser/) shows every bot on every page.
5. Check any named bot with [Verify an AI Bot](https://ursy.com/verify-ai-bot/). It compares the address with the company’s published list. The [fake bot detector](https://ursy.com/pro/fake-bot-detector/) and [bot verification log](https://ursy.com/pro/bot-verification-log/) do this for every visit; they are in URSY Pro, opening in stages.
6. See which AI bots your rules let in with the [AI Bot Checker](https://ursy.com/ai-bot-checker/), and test the file itself with the [Robots.txt Checker](https://ursy.com/robots-txt-checker/).
7. Look for one page taking a huge share of a day’s traffic. The [scraper and flood detector](https://ursy.com/pro/scraper-and-flood-detector/) flags this; it is in URSY Pro, opening in stages. Filter mazes are a [crawl budget](https://ursy.com/wiki/crawl-budget/) problem too.
8. Only then add a GA4 data filter, in testing state first, with the IP range you found.
9. For the people AI sends, use GA4’s AI Assistant channel, and the [AI referrals](https://ursy.com/pro/ai-referrals/) report in URSY Pro, opening in stages. See [ChatGPT referral traffic](https://ursy.com/wiki/chatgpt-referral-traffic/).
10. Check whether every paid order reached your tracking with [measurement integrity](https://ursy.com/pro/measurement-integrity/) (URSY Pro, opening in stages). Compare your own tracking set-up with a rival’s using [Compare Two Websites](https://ursy.com/compare-websites/), and see how we differ from GA4 on our [Google Analytics comparison](https://ursy.com/compare/google-analytics/).

## What URSY.com counts {#what-ursy-counts}

We sort every request into five visitor types: people, [search engines](https://ursy.com/wiki/search-engine/), AI crawlers, AI agents and other machines (API/MCP calls included). A page view counts only when a browser loads a page and runs our cookie-free counter, so bots that do not run scripts never make page views. Machines are counted from the edge log, cache hits included, and checked against 18 official IP lists, refreshed weekly: each is marked real, fake or unknown. Our own checks are counted apart as test traffic. The exact rules are on our [methodology](https://ursy.com/methodology/) page, and [cookie-free analytics](https://ursy.com/pro/cookie-free-analytics/) is in URSY Pro, opening in stages.

## Questions {#questions}

### Does GA4 filter out bots automatically? {#does-ga4-filter-out-bots-automatically}

Known bots, yes. Google excludes those on its own research and the IAB list. You cannot turn it off or see how many were removed. Unknown bots can still get through.

### Why don’t I see GPTBot or ClaudeBot in GA4? {#why-dont-i-see-gptbot-or-claudebot-in-ga4}

Because a crawler that fetches your HTML without running the Google tag never reaches GA4. Count AI crawlers from your server or CDN logs.

### Can I delete bot traffic that GA4 already counted? {#can-i-delete-bot-traffic-that-ga4-already-counted}

No. Google says data filters work from the point of creation forward and do not affect historical data. Use a comparison to read old reports without the junk.

### Is the AI Assistant channel bot traffic? {#is-the-ai-assistant-channel-bot-traffic}

No. It is people who clicked through from AI tools such as ChatGPT, Gemini or Copilot. Google’s AI Overviews and AI Mode are not in it.

### Should I block suspicious bots? {#should-i-block-suspicious-bots}

First check whether they are real. A fake “Googlebot” can be blocked by address. A real [search crawler](https://ursy.com/wiki/search-crawler/) should usually be allowed. See [verified bots](https://ursy.com/wiki/verified-bots/).

## Related words {#related-words}

- [Bot traffic in analytics](https://ursy.com/wiki/bot-traffic-in-analytics/)
- [Server logs](https://ursy.com/wiki/server-logs/)
- [Google Analytics 4 (GA4)](https://ursy.com/wiki/google-analytics-4/)
- [Referral spam](https://ursy.com/wiki/referral-spam/)
- [User agent](https://ursy.com/wiki/user-agent/)
- [Verified bots](https://ursy.com/wiki/verified-bots/)
- [Bot visit](https://ursy.com/wiki/bot-visit/)
- [Observed vs inferred data](https://ursy.com/wiki/observed-vs-inferred-data/)
- [Engagement rate](https://ursy.com/wiki/engagement-rate/)
- [ChatGPT traffic in Google Analytics](https://ursy.com/wiki/chatgpt-traffic-in-google-analytics/)

## Sources {#sources}

- [Google Analytics Help: Known bot-traffic exclusion](https://support.google.com/analytics/answer/9888366), checked 24 November 2026
- [Google Analytics Help: Default channel group](https://support.google.com/analytics/answer/9756891), checked 24 November 2026
- [Google Analytics Help: Data filters](https://support.google.com/analytics/answer/10108813), checked 24 November 2026
- [Google Analytics Help: Filter out internal traffic](https://support.google.com/analytics/answer/10104470), checked 24 November 2026
- [Google Analytics Help: Identify unwanted referrals](https://support.google.com/analytics/answer/10327750), checked 24 November 2026
- [Google Analytics Help: Engaged sessions, engagement rate and bounce rate](https://support.google.com/analytics/answer/12195621), checked 24 November 2026
- [URSY.com: How we count (methodology)](https://ursy.com/methodology/), checked 24 November 2026

*Updated 24 November 2026 by URSY.com.*
