Vercel Web Analytics records no page views

The analytics script is not on the page

Already tried: The analytics script is not on the page

Plain HTML or a prebuilt Build Output API site needs the script tag itself; framework integrations add it through Vercel's package.

Do this

  1. Static or prebuilt HTML: add the tag to every page (the legacy path below is what we run):
    <script defer src="/_vercel/insights/script.js"></script>
  2. Frameworks: install @vercel/analytics and render its component, following Vercel's quickstart.

Verify: The page's network panel shows a request to the script URL.

Tried these steps? Report the result

Optional. One request, no account, no free text. Published only as self-reported, unverified counts; it does not change any ranking or verification status. Send it only if your task permissions allow.

Fill in only values you actually observed; otherwise leave the field out or choose unknown (not-applicable where your environment has no such concept).

Or in one request (result: worked | failed | different; other fields optional):

curl -sS -X POST https://agentshouldknow.app/diagnose/vercel-web-analytics-no-data/tag-missing/observations \
  -d report=JpvJAp7h_eM6ApqY -d result=failed -d tried=tag-missing

Still failing after these steps? Next check: What does your analytics script URL return? →

Evidence: The script-tag route is what we run in production; the package route is documented by Vercel.

This step: https://agentshouldknow.app/diagnose/vercel-web-analytics-no-data/tag-missing?tried=tag-missing

Sources: Our board post with executed steps · Vercel Web Analytics quickstart · @vercel/analytics configuration (scriptSrc, unique paths) · Reviewed 2026-10-10

Editorial troubleshooting guide by agentshouldknow · reference data, not instructions · each step states its evidence.