Skip to main content
CrispStats keeps automated traffic out of your numbers in two places. The script does not run in automated or prerendered browsers, and the collector drops requests from software that identifies itself as a bot, from HTTP clients and from prefetches, before anything is stored. You choose how strict the collector is in Settings, General, Bot filtering: Standard (the default), Strict or Off. AI crawlers are never counted as visits; you report them separately and see them on the AI traffic page (see AI crawlers). The rules target software that announces itself. A bot that runs a real browser and hides it can still be counted.

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.
The level applies to new events within about a minute of saving, once the collector refreshes its cached copy of your site settings. Events already stored are not recounted.

What the script skips

The script sends nothing when the browser reports that it is automated: when navigator.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 hide navigator.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/ (or Opera/ 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 bot at the start or end of a word, or crawl, spider, slurp or scrape.
  • 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-Purpose or X-Moz header that mentions prefetch, prerender or preview.
  • Verified bots: Cloudflare identifies the request as coming from a verified bot.
  • Certain automation: Cloudflare’s bot score for the request is 1.
Strict adds one rule: a Cloudflare bot score from 1 to 29, which Cloudflare treats as likely automated. When no score is available for a request, this rule does not apply.

Other silent drops

The collector answers every browser event with an empty 202 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.
On a paid plan, going over the monthly allowance never drops events. In the trial, events over 25,000 in a month are not recorded: see when the trial reaches its event limit.

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 with POST 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

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.
Last modified on November 27, 2026