Free auditStart free
GlossaryGlossary · Measurement

Bot traffic

Bot traffic is any request to your site made by software. Learn what GA4 filters out, how to verify a claimed Googlebot, and how bot scores work.

3 min
read
5
sources
Oct 21, 2026
updated
Scaplet Editorial Team
author
In one line

Bot traffic is any request to your site made by software instead of a person. Some bots are useful, like search engine crawlers, and some are harmful, like credential stuffing or inventory hoarding. Google Analytics automatically excludes known bots and spiders, so the rest shows up in your server logs and CDN analytics.

30-second check

Is this costing your site traffic?

Four quick questions, then a straight answer.

1/4Have you checked your own site for this?
Summarize this page withChatGPTClaudePerplexityGoogleAI Mode
01The first three rows follow the behaviors in Cloudflare's bots documentation; malicious bots are the 'evil' use the same page mentions

Good bots and bad bots

Cloudflare's docs define a bot as "a software application programmed to do certain tasks" and say bots can be used for good, such as chatbots and search engine crawlers, or for evil, such as inventory hoarding and credential stuffing. For AI crawlers, Cloudflare classifies by behavior rather than one "AI bot" label.
Type

Search crawler

What it does
Collects or indexes your content so it can answer questions later (Cloudflare's "Search" behavior)
Typical handling
Allow; control with robots.txt
Type

AI agent

What it does
Automated activity acting in real time on a person's behalf, such as chat fetch bots and browser-use agents
Typical handling
Your call, per site policy
Type

AI training crawler

What it does
Crawls your content to train or fine-tune a model
Typical handling
Your call, per site policy
Type

Malicious bot

What it does
Credential stuffing, inventory hoarding and similar abuse
Typical handling
Block or challenge at the CDN or firewall
02Explained

Why your analytics may not show it

Google Analytics properties automatically exclude traffic from known bots and spiders. Google identifies them with a combination of its own research and the International Spiders and Bots List maintained by the Interactive Advertising Bureau. You can't turn this exclusion off or see how much was excluded, and Google words the goal as keeping bots out "to the extent possible".

The practical result: GA4 numbers are a poor place to measure bots. Server logs and CDN analytics see every request, which is where you check. See log file analysis and GA4.

03How it works

How to identify it

  1. 01

    Group requests in your logs

    Count requests by user agent and IP range. A big share from one agent or network is the first thing to look at. See user agent.

  2. 02

    Verify claimed Googlebot

    Run a reverse DNS lookup on the IP and check the domain is googlebot.com, google.com or googleusercontent.com. Then run a forward lookup on that name and confirm it returns the original IP. Google also publishes IP range files for automatic matching.

  3. 03

    Read the bot score if you have one

    Cloudflare scores requests from 1 to 99. A score of 1 means automated, 2 through 29 likely automated, and 30 through 99 likely human. Granular scores need Enterprise Bot Management. Pro plans and above see bot groupings under Security > Bots.

  4. 04

    Act on the result

    Cloudflare lets you block, challenge or allow requests by bot score in WAF custom rules. Other CDNs and firewalls have their own rules; slow abusive clients with rate limiting.

04Good to know

robots.txt doesn't stop bad bots

The robots exclusion standard says its rules "are not a form of access authorization". Google says its common crawlers always respect robots.txt rules for automatic crawls, but its user-triggered fetchers ignore robots.txt rules, and special-case crawlers may or may not respect them. A hostile scraper owes your robots.txt nothing.
Sources · 5

Every fact, linked and dated.

Official docs first. The date is when we last opened each page.
  • cloudflare.com
  • google.com
  • rfc-editor.org
  1. 01Bots - Cloudflare bot solutions docsdevelopers.cloudflare.com · checked 2026-10-25
  2. 02Bot scores - Cloudflare bot solutions docsdevelopers.cloudflare.com · checked 2026-10-25
  3. 03Known bot-traffic exclusion - Analytics Helpsupport.google.com · checked 2026-10-25
  4. 04Verify requests from Google crawlers and fetchersdevelopers.google.com · checked 2026-10-25
  5. 05RFC 9309: Robots Exclusion Protocolrfc-editor.org · checked 2026-10-25
Questions

Asked a lot.

5 questions people ask next, answered from the sources on this page.

01What is bot traffic?

Bot traffic is requests to a website made by automated software rather than a person. Bots can be useful, like search engine crawlers, or abusive, like credential stuffing and inventory hoarding.

02Does Google Analytics filter bot traffic?

Yes. Google Analytics properties automatically exclude traffic from known bots and spiders, identified from Google research and the IAB's International Spiders and Bots List. You can't disable it or see how much was excluded.

03How do I identify bot traffic?

Group requests in server or CDN logs by user agent and IP, verify any claimed Googlebot with reverse and forward DNS lookups, and use a bot score if your CDN provides one. Cloudflare's scores run from 1 (automated) to 99 (likely human).

04Can robots.txt block bad bots?

No. The robots exclusion standard says its rules are not a form of access authorization, so enforcement needs a firewall, CDN rule or rate limit.

05How do I confirm a request is really from Googlebot?

Reverse DNS the IP, check for googlebot.com, google.com or googleusercontent.com, then forward DNS the name and confirm it matches the IP.

Free · 2 minutes

Know the term. Now check your site.

The free audit reads robots.txt, sitemaps, status codes, canonicals, redirects and structured data.

Free, no card60 secondsNobody will call you
  • 46 fixes shipped without a ticket Brightpipe
  • +212% organic clicks in 90 days Ledgerly