Analytics tips
Bots and AI crawlers in analytics: what PureStats separates
How PureStats separates bots, self-declared AI crawlers, spam and suspicious traffic from human visits, and why a User-Agent is a claim, not proof.

Key takeaways
- With bot filtering on, reports open with human traffic only; the other types are one click away.
- AI crawler labels rely on the self-declared User-Agent.
- A JavaScript tracker only sees crawlers that run JavaScript.
Four kinds of traffic that are not people
PureStats sorts every hit into human traffic or one of four other types. Bots are known crawlers and automated clients such as search engine bots, link preview fetchers and command-line tools. AI crawlers are bots that identify themselves as AI services, such as GPTBot, ClaudeBot or PerplexityBot. Spam is traffic that tries to abuse the tracker, for example with injected payloads. Suspicious traffic looks automated without matching a known signature.
Bot filtering is off for new sites, and their reports open with all traffic, every hit labelled. Turn on standard or strict detection and reports open with human traffic only. The traffic menu switches between all traffic, human traffic and each other type, so you can look at crawlers without them inflating your visitor numbers.
How detection works
Each hit gets a score from several signals: the User-Agent against known bot, tool and AI crawler signatures; the payload, for patterns that look like injection attempts; implausible values such as a viewport wider than any screen; and the request rate from one address to one site. The strongest signal decides the type.
Each site has a bot filter mode, off by default. Off labels traffic and keeps bot and AI crawler hits in the statistics. With standard or strict detection, two switches in the traffic filtering settings keep them out: Exclude bot traffic from reports and Exclude AI crawler traffic. Strict also reacts to lower request rates. Spam and suspicious traffic never count in human reports.
A User-Agent is a claim, not proof
An AI crawler label means the client said it was an AI crawler. Anyone can send a User-Agent that claims to be GPTBot, and a real crawler can pretend to be a normal browser. PureStats does not verify the claim against the operator's published address ranges, so read the AI crawler numbers as self-declared.
There is a second limit. The PureStats tracker is JavaScript, and most crawlers fetch HTML without running scripts. They never trigger the tracker and never appear in the reports. Your server or CDN logs are the place to count every crawler request; PureStats shows the ones that executed the page.
What to do with the numbers
Keep human reports clean and look at the other types on purpose. A sudden jump in suspicious traffic is worth a look at the pages it hit. A rise in bot traffic after a launch is usually link previews and search engines discovering new pages.
Data quality brings the rest together: tracking freshness, known gaps and whether search data is ready. Check it before you explain a drop in a report.
- Use human traffic for decisions about content and campaigns.
- Switch to AI crawlers to see which pages self-declared crawlers rendered.
- Review suspicious traffic after unexplained spikes.
- Use server logs when you need complete crawler counts.
Frequently asked questions
Are bots counted as visitors?
Not in the human traffic view, which reports open with once bot filtering is on. With filtering off, reports open with all traffic: bots are labelled but counted.
Does PureStats verify AI crawlers?
No. The label is based on the User-Agent the client sends, which can be faked.
Why do I see fewer crawlers than in my server logs?
The tracker runs in the page, and most crawlers do not run JavaScript, so they never reach PureStats.
See traffic types in the demo
The demo includes bot, AI crawler and spam traffic next to human visits, so you can try the traffic menu.
Start free
