Umami Blocked by Ad Blockers (uBlock Origin, Brave)
Quick answer
Filter lists block umami.is and the default script.js and /api/send paths. Rename them with TRACKER_SCRIPT_NAME and COLLECT_API_ENDPOINT when self-hosting, or proxy the script and endpoint through your own domain for Umami Cloud.
Most likely fix: Rename the script and endpoint (self-hosted)
How to fix it
Try these in order — the most common fix is first.
1. Rename the script and endpoint (self-hosted)
- Set TRACKER_SCRIPT_NAME to a neutral name, e.g. TRACKER_SCRIPT_NAME=x.js
- Set COLLECT_API_ENDPOINT to a neutral path, e.g. COLLECT_API_ENDPOINT=/api/x
- Restart Umami and change your script tag to load https://your-umami/x.js
- Avoid words like umami, analytics or stats in the subdomain
Did this fix it?2. Proxy through your own domain
- Serve the tracker from your domain at a path like /stats.js that fetches the Umami script
- Forward a path on your domain to the collect endpoint (https://gateway.umami.is/api/send for Cloud), passing User-Agent and client IP
- Set data-host-url on the script tag to your own domain
- In Next.js you can do this with rewrites in next.config
Did this fix it?3. Host the script file yourself (no server access)
- Download https://cloud.umami.is/script.js
- Upload it to your site under a neutral filename
- Set data-host-url so data still reaches Umami
- Re-download it whenever Umami updates the tracker
Did this fix it?4. Use a Cloudflare Worker proxy
- Create a Worker on your domain that forwards the script and collect requests to your Umami host
- Route a neutral path on your site to the Worker
- Point the script src and data-host-url at that path
Did this fix it?
Symptoms
Visitor counts are lower than server logs or other tools, the script shows as blocked in DevTools, or tracking works in one browser but not in Brave or with uBlock Origin.
Why it happens
- Filter rule blocking umami.is as a third-party domain
- Default script name script.js and endpoint /api/send are on blocklists
- Umami running on a subdomain like umami.example.com or analytics.example.com that matches keyword rules
- Some lists block anything that behaves like analytics, regardless of name
This guide also covers
- umami blocked by adblock
- umami ublock origin
- umami brave blocked
- umami proxy script
- umami tracker_script_name
Still not working?
If Umami keeps failing, you're not alone. See every Umami problem users report or the alternatives people switch to.
Done fighting Umami? Our small team builds your own Umami alternative, made for how you work. On your domain or hosted by us. Price agreed together.
Get a quoteThe same problem in other apps
All plan limits, paywalls & watermarks guides →
- Plausible Blocked by Ad Blockers (How to Set Up a Proxy) (Plausible Analytics)
- PostHog Blocked by Ad Blockers (PostHog)
- Fathom Analytics Blocked by Ad Blockers (Fathom Analytics)
Other Umami errors
- Umami Not Tracking Visitors (No Data Showing)
- Umami v3 Upgrade: MySQL Not Supported
- Umami Migration Failed (Prisma P3009 / P3018 Error)
- Umami Docker "Unable to Connect to the Database"
- Umami Default Login and Forgot Password Reset
- Umami Shows Wrong Country or "Unknown" Location
- Umami Custom Events Not Showing
- How to Exclude Your Own Visits in Umami