Self-hosted Umami analytics silently blocked if subdomain is named 'umami'
Developers self-hosting Umami analytics may unknowingly lose all visitor tracking data if their subdomain follows the common naming convention of 'umami.yourdomain.com'. The EasyPrivacy filter list, used by uBlock Origin, Brave, and AdGuard, contains a hostname-pattern rule that blocks any subdomain literally named 'umami' serving a 'script.js' file, regardless of whether the analytics are first-party or privacy-respecting. The failure is entirely silent — no errors appear in logs or the browser console, and affected visitors simply never register in the dashboard. One developer discovered the issue only after noticing a mismatch between Umami's reported traffic, server logs, and Stripe conversion data. The fix requires no changes to the Umami installation itself — simply serving the tracker script from a generic subdomain such as 'u.' or 'stats.' is enough to avoid the filter rule.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in