Choose a bot filtering level
1
Open the setting
In the dashboard, open Settings, General, Bot filtering. Changing site settings needs the owner or admin role on the site.
2
Pick a level and save
Select Standard, Strict or Off, then Save changes.
What the script skips
The script sends nothing when the browser reports that it is automated: whennavigator.webdriver is true, which covers Selenium, Puppeteer and Playwright in their default modes, or when the page runs inside Cypress.
For a page that is being prerendered by the browser, tracking waits until the page is actually shown. A prerendered page the visitor never opens is not counted.
The script also stays silent on local pages without data-allow-localhost, on hostnames outside data-domains, with data-dnt in browsers that send Do Not Track, and when localStorage.crispstats_ignore is "1". Those are your own exclusions, not bot rules. In every case window.crispstats still exists, so calls to it are harmless.
What the collector drops
Bots that do not run the script cannot send events. Bots that run it but hidenavigator.webdriver reach the collector, which checks the User-Agent and request headers and drops them when those give the bot away.
Standard rules
With Standard or Strict, an event is dropped when any of these is true:- No User-Agent, or one that does not look like a browser: real browsers, including in-app webviews, start with
Mozilla/(orOpera/for old Opera) followed by a version number. Anything else, or anything shorter than 30 characters, is dropped. - Self-identified bots: the User-Agent contains
botat the start or end of a word, orcrawl,spider,slurporscrape. - Automation and monitoring tools: headless browsers, PhantomJS, Puppeteer, Playwright, Selenium, Cypress, Lighthouse, PageSpeed, GTmetrix, WebPageTest, uptime and monitoring services such as Pingdom, StatusCake, Checkly, Datadog and New Relic, and prerender services.
- Link previewers and fetchers: Facebook, WhatsApp, Skype and other link previews, feed readers, archive crawlers and validators.
- HTTP clients and scanners: curl, wget, Python, Java, Go, Node.js fetch libraries, Postman, Ruby, PHP, Scrapy and similar clients, and network scanners.
- Prefetch and prerender requests: the request carries a
Sec-Purpose,Purpose,X-PurposeorX-Mozheader that mentionsprefetch,prerenderorpreview. - Verified bots: Cloudflare identifies the request as coming from a verified bot.
- Certain automation: Cloudflare’s bot score for the request is 1.
Other silent drops
The collector answers every browser event with an empty202 at once and filters afterwards (only a body that is not a JSON object gets a 400, and one over 16 KB a 413), so a dropped event looks the same as an accepted one from the browser. Besides bots, it silently drops events:
- with a site key that does not exist,
- that fail validation, such as an event name over 120 characters or a property name over 60,
- from hostnames the site does not allow,
- from excluded paths and excluded IP addresses,
- for paused sites and sites of suspended workspaces,
- for a workspace in its trial that has reached its 25,000 events this month,
- for a workspace that is locked because it has no plan after its trial or plan ended,
- over the rate limit of 1,200 requests per minute from one address at one Cloudflare location.
How AI crawlers are counted
AI crawlers such as GPTBot, ClaudeBot, PerplexityBot, Google-Extended and CCBot fetch your pages without running JavaScript, so they never reach the script. If one does send an event to the collector, it is dropped at every level, including Off, so it never inflates your visitors. To count them, report crawler hits from your server or edge withPOST https://in.crispstats.com/bot. Next.js has a ready proxy.ts, and the collector reference has the payload. The collector matches the User-Agent against its list of AI crawlers, stores each hit with the crawler’s name, operator and purpose (training, search or user), the path and the status, and ignores anything else. These hits appear on the AI traffic page in the dashboard and never in your visitor numbers. See AI crawlers for the setup.
Learn more on crispstats.com
- Glossary: bot traffic and AI crawler.
Next steps
AI crawlers
Report crawler hits from your server and see which AI companies read your site.
Exclude traffic
Keep your own visits, staging hosts and admin pages out of your data.
Troubleshooting
Find out why visits are not showing up.