Umami not tracking pageviews after adding script #4213
-
|
Umami is not tracking pageviews after installation I installed Umami on my server and added the tracking script to my website, but the dashboard shows 0 visitors even after multiple visits. The script loads without errors in the browser. How can i fix this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
This usually comes down to one of these:
You can verify quickly by opening DevTools → Network tab → filter for collect and see if requests are being sent. |
Beta Was this translation helpful? Give feedback.
This usually comes down to one of these:
Website ID mismatch
Double check the
data-website-idin your script matches the one in your Umami dashboard.Domain mismatch
In Umami settings, make sure the domain matches exactly (including subdomain).
Example:
www.example.comvsexample.comScript blocked (ad blockers)
Try opening your site in incognito with no extensions.
Some blockers prevent requests to
/api/collect.Reverse proxy / HTTPS issue
If you’re using Nginx or similar, confirm requests to
/api/collectare correctly forwarded.You can verify quickly by opening DevTools → Network tab → filter for collect and see if requests are being sent.