I see nothing: the checklist
Are you testing on localhost or in an automated browser?
localhost, *.localhost, 127.x.x.x, [::1] and file:// pages are ignored, and so are Playwright, Puppeteer, Selenium and Cypress. A local next dev or Vite server, or a CI run, shows nothing in the dashboard by design. Add data-debug to see the events in the console instead, or test on your deployed site in a normal browser window. See localhost and testing.Is the hostname in data-domains?
data-domains with your site’s domain. A preview deployment (*.vercel.app, *.workers.dev, *.netlify.app) or a staging host on another domain sends nothing. Open the site on its real domain, or add the hostname.Is the script running?
undefined means it did not load or did not start: see The script does not load. Check .v rather than window.crispstats alone, because the queue stub defines window.crispstats before the script loads.Does the script say why it is not sending?
data-debug to the tag for a moment and reload. Each event logs a line such as crispstats: pageview not sent (domain not allowed). The word in brackets is the reason; debug mode means nothing stops it. No line at all, while crispstats.v is set, means the script counted no page: check for data-manual. Remove data-debug afterwards: with it, nothing is sent.Was an event sent?
data-debug, open the Network panel, type /e in the filter and reload. You should see a POST to https://in.crispstats.com/e, or <data-api>/e behind a proxy, answered with 202. No request: see The script loads but sends nothing.Does the collector know the site and hostname?
https://in.crispstats.com/check?k=cs_pk_xxxxxxxx, or https://example.com/k3x9qe/check?k=cs_pk_xxxxxxxx through your proxy. "site": "unknown" means the key is wrong. Your page’s hostname must match one entry in hostnames. Behind a proxy, visitorAddressForwarded must be true and cookiesForwarded false.Does the visit reach Realtime?
202 but nothing appears, the collector dropped it: see Events arrive but the dashboard stays empty.Read the response
The collector answers a browser event with202 and an empty body, at once. A 202 only means the request arrived: the collector gives the same answer to an event it stores and to one it drops, so the response cannot tell you which. Use the setup check and Realtime for that.
The script does not load
window.crispstats.v is undefined, or the request for d.js failed or never appears.
The tag is not on the live page
The tag is not on the live page
data-site. If the tag is missing, redeploy and purge your host’s cache. The tag must be on every page you want to count, ideally in <head>.The tag uses type="module"
The tag uses type="module"
document.currentScript, which is not set for module scripts. With type="module" the script stops before it starts tracking and window.crispstats is never created. Use a classic tag with defer or async:An ad blocker or privacy extension blocks it
An ad blocker or privacy extension blocks it
net::ERR_BLOCKED_BY_CLIENT. Test in a private window with extensions off. To count visitors who use a blocker, serve the script from your own domain: see ad blockers.A Content Security Policy blocks it
A Content Security Policy blocks it
Content-Security-Policy header, the console shows an error that names the blocked directive. Allow https://in.crispstats.com in both script-src and connect-src. See Content Security Policy.The src is wrong
The src is wrong
https://in.crispstats.com/d.js, or https://in.crispstats.com/d.core.js for the build without optional modules. Behind a proxy, src is your own path, such as /k3x9qe/d.js, and that path must forward to https://in.crispstats.com/p/. A 404 on the script means the path or the rule is wrong. See proxy.The script loads but sends nothing
window.crispstats.v is set, but no request to /e appears. The script skips tracking without an error in each of these cases. window.crispstats still exists, so your own calls to it are harmless. Add data-debug to the tag and the console names the cause for each event.
data-api. Without it the script sends events to /e on the origin it loaded from, which is your own domain, and those requests fail with 404. See proxy.
Events arrive but the dashboard stays empty
The network panel shows aPOST to /e with a 202, but nothing appears in Realtime. The collector dropped the event. It drops these without telling the browser:
The hostname is not allowed for the site
The hostname is not allowed for the site
- With no Additional hostnames, the site’s Domain and all its subdomains count.
- Once the site has at least one additional hostname, the domain itself plus exactly the listed hostnames count. Other subdomains stop counting until you add them.
www. and port numbers are ignored. A preview URL on your hosting provider is a different hostname: add it under Additional hostnames, or give it its own test site. See exclude traffic.The key belongs to another site or was rotated
The key belongs to another site or was rotated
k in the request body with the public key in Settings, Tracking code. An unknown key gets the same 202. After you rotate the key, the collector stops accepting the old one within about a minute, so a page that still has the old tag sends events nobody stores. Copy the current tag again.The path or your IP address is excluded in settings
The path or your IP address is excluded in settings
* matches within one path segment and ** matches across segments. If you excluded your office or home address, your own visits from that network are not counted. See exclude traffic.The visit looks like a bot
The visit looks like a bot
The site is paused or the workspace is suspended
The site is paused or the workspace is suspended
202 and are dropped. The dashboard has no control to pause a site, so if you think this applies to yours, write to hello@crispstats.com. Going over a paid plan’s event allowance never does this.The trial reached its monthly event limit
The trial reached its monthly event limit
202 but are not recorded, and the dashboard pauses with them. Pick a plan on the Billing screen to resume at once, or wait for 00:00 UTC on the first day of the next month. See when the trial reaches its event limit.The trial or the plan has ended
The trial or the plan has ended
202 but are not recorded, and the dashboard is closed. Pick a plan on the Billing screen to resume at once. The workspace’s sites and their data are deleted 30 days after the lock. See when the trial or a plan ends.Too many events from one address
Too many events from one address
visitorAddressForwarded in the setup check. See collector limits.A field is too long
A field is too long
Other symptoms
Every visit is counted twice
Every visit is counted twice
data-site and keep one.Visitors on a proxied site all look the same
Visitors on a proxied site all look the same
"visitorAddressForwarded": true.Pageviews arrive but custom events do not
Pageviews arrive but custom events do not
crispstats() in inline code that runs before the deferred script, the call fails unless the queue stub is on the page first. Add the queue stub above the script tag. On a page excluded with data-exclude, custom events are not sent either, and under data-manual events before the first crispstats.pageview() are dropped. For HTML attributes, check the spelling: data-cs-event and data-cs-prop-*. An event with an empty name is not sent.Early calls fail with "crispstats is not a function"
Early calls fail with "crispstats is not a function"
window.crispstats is the script element until the script runs, and early calls to crispstats() throw. The script replaces the element with the real function when it loads, but remove the id and use the queue stub for early calls.Route changes in a single-page app are missing
Route changes in a single-page app are missing
history.pushState, replaceState, the Navigation API where the browser has it, and back and forward navigation. A router that saved pushState before the script loaded can still hide its changes in browsers without the Navigation API: use manual pageviews. Apps that route with the URL fragment (#/page) need data-hash. Two URLs that differ only in a query parameter count as one page unless you keep the parameter with data-keep-params. See single-page apps.The install check says it is not answering
The install check says it is not answering