Why does my analytics show no visits, and how do I check that it works?

Check, in order: the snippet is on the live page, the page's hostname is the Project's hostname or an alias, your browser sends no Do Not Track or Global Privacy Control signal, and the Subscription is active. Then run the collection check in Analytics. It passes only once Analytics has stored a valid event from your site.

Last updated 26 November 2026. By Paul Badarau.

A fictional developer adds the snippet to a new portfolio, deploys, and sees no visits the next morning. Work through the checks below in order.

  1. Open the live page, not a local build, and view its source. Find the tag with script.js and data-site. Without the data-site attribute the script sends nothing.
  2. Open the browser's network panel and reload. Look for a request to /api/event right after the page loads. No request, or one marked as blocked, means a blocker or a Content Security Policy stopped the script or its request, or the tag is missing. A 403 means the page's hostname is not the Project's hostname or one of its aliases. A 404 means the data-site value matches no Project. A 429 means too many events from one visitor in a short time. A 5xx or a connection error means the collector is unavailable, so try again later. A 202 means the collector accepted the request.
  3. Check the hostname. It has to match the Project's canonical hostname or a listed alias exactly, without a port. Localhost and preview addresses do not count.
  4. Check your own browser. New Projects drop visits that send Do Not Track or Global Privacy Control, and known bots are dropped too. Pages under an excluded path prefix are dropped before storage.
  5. Check the Project and the Subscription. An archived Project stores nothing until you restore it. Collection runs only while the Workspace's Subscription is active, and the Trial counts as active.
  6. Run the collection check in the Project's tracking setup. It passes only when Analytics has stored a valid event.

Once events arrive, open the Project report in PostDeploy Analytics with the Today range. Project days follow the Project's time zone, and the Workspace overview uses UTC days, so a visit just after midnight can land on different days in the two reports.

A 202 in the network panel is not proof. The collector answers 202 when it stores an event and also when it drops one on purpose: for Do Not Track, Global Privacy Control, a known bot, an excluded path or an archived Project. Only the collection check tells you an event was stored.

The product page for this is Analytics.

Start your 14-day free trial