question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Umami Tracker is being blocked by Brave Browser

See original GitHub issue

Umami Tracker script umami.js is getting blocked by Brave Browser not sure this is happening with other AdBlockers.

Is it because of subdomain contains analytics.example.com or since umami is now used by many so they are aware of it and blocking.

Is there any workaround to bypass this?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
StarryMoecommented, Feb 5, 2022

Hi @mcnaveen

Here is the Nginx Configuration reference. This is what I found in Plausible’s issues, the same applies to umami, it works fine on my site, hope it helps you.

  rewrite ^/script.js$ /umami.js last;
  location / {
    proxy_pass http://localhost:3000;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header Host $host;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  } 
1reaction
Luminilioncommented, Nov 16, 2021

https://www.freecodecamp.org/news/save-your-analytics-from-content-blockers-7ee08c6ec7ee/ Found this without actually implementing it, but the concept makes sense --> hide your analytics url behind a website url e.g. google.analytics.com requests hidden behind mycompanywebsite.com requests

Read more comments on GitHub >

github_iconTop Results From Across the Web

Preventing ad blockers from blocking Umami, using a ... - GitHub
I was testing this with Cloudflare. While the script is working when the page load, but it is stopped by when I use...
Read more >
Brave does not block its own tracker on brave website by shields
Some users on reddit have found out that brave does not block it's own tracker on its website brave.com. The analytics are served...
Read more >
Privacy friendly website analytics with Umami and NextJS
Note: Some browsers like brave have in-built ad-blockers which blocks such scripts from loading in many cases. Even third-party ad-blockers can be responsible ......
Read more >
How many visitors block ads and web analytics? - cri.dev
The idea is simple: A few people have some sort of Adblock installed (chrome extension, Brave browser, JS disabled, etc.) Through a self-hosted ......
Read more >
Simple and GDPR compliant website analytics with Umami
By default it is called umami.js which unfortunately is blocked by default by some adblockers or the privacy-focused browser Brave. I renamed ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found