My traffic dropped. Did a deploy break something?

Check whether events still arrive before you assume visitors left. A drop that starts at the deploy and hits every page and source usually means the snippet, the hostname or an excluded path changed. A drop on one page or in one browser points at that page, or at code that fails in that browser.

Last updated 26 November 2026. By Paul Badarau.

A fictional portfolio, inkwell.example, moves to a new framework on Thursday. On Friday the report shows 30 pageviews where a normal day has about 400. Before looking for lost visitors, find out whether the tracking still works.

  1. Open the Project in PostDeploy Analytics, pick today, then visit your own site in another tab and reload the report. Analytics confirms an installation only by a valid event it receives, so a pageview that never arrives is the first clue.
  2. If nothing arrives, view the source of the deployed page and look for the snippet. A new layout or template can leave it out.
  3. Check the hostname. Pageviews must come from the Project's canonical hostname or one of up to 20 aliases, and unlisted subdomains cannot collect. If the deploy moved the site from www to the bare domain, or onto a new subdomain, add the new host as an alias. A hostname cannot belong to two Projects.
  4. Check the Project's excluded paths. Excluded paths and everything under them are dropped before storage, so new routes under an excluded prefix such as /app are never counted.
  5. If the deploy added or tightened a Content-Security-Policy header, make sure it still allows the Analytics script and the requests it sends. A browser blocks what the policy does not allow.

If events arrive but fewer than before, compare the range with the previous period and read Pages. One page that fell to zero is usually a broken route or a missing snippet on that template. Then read the browser breakdown. A drop in one browser points at code that fails there.

If the site sends errors from @sentry/browser to PostDeploy Monitoring, Owners and Administrators get an email when a new issue appears, and the errors page compares the count with the period before. Raw errors are kept for 7 days, so look soon after the deploy.

Some states look like a drop when the site is fine. An archived Project still answers 202 to every event and stores nothing, so your browser shows no error. Collection stops when the Workspace's Subscription is no longer active. A report section that fails to load shows an error with a retry. It never shows a pending value as zero, so an empty section is not a count of zero.

Check the calendar too. Project reports follow the Project's time zone, and Workspace reports use UTC days. A drop that appears in one view and not the other is often the date edge.

The product page for this is Analytics.

Start your 14-day free trial