# Bot traffic

Also called: bots, non-human traffic, crawler traffic

Bot traffic is every request to a site that does not come from a person using a browser: search crawlers, AI crawlers, uptime checkers, scrapers and automated test browsers. Analytics tools try to leave it out so the numbers describe people.

## How it is calculated

Filtering happens in layers. Bots that announce themselves are matched by their User-Agent. Headless and automated browsers are detected by the signals they expose, such as `navigator.webdriver`. Some services add network-level reputation scores.

Many crawlers never run JavaScript, so a script-based tool does not see them at all. Server logs see everything, which is why log totals are far higher than analytics totals.

## Example

Your server log shows 90,000 requests for HTML pages in a week. Your analytics shows 31,000 pageviews. Most of the gap is crawlers and monitoring checks that fetched pages without running the script.

## Common mistakes

- Expecting server logs and analytics to match. They measure different things.
- Assuming filtering is perfect. A bot that runs a real browser and hides it will be counted as a visitor by any tool.
- Throwing away all bot data. Knowing which AI crawlers read which pages is useful in its own right.

## How CrispStats shows it

CrispStats filters bots at the collector: self-identified bots, headless browsers and known crawlers are dropped before anything is stored, and the script itself stays silent in automated browsers. AI crawlers are the exception. They are kept out of visitor counts and reported separately on the AI page, once your site reports those hits from its edge or middleware.

## Related terms

- [AI crawler](/glossary/ai-crawler)
- [Unique visitor](/glossary/unique-visitor)
- [Pageview](/glossary/pageview)
- [Uptime](/glossary/uptime)
