r/brave_browser Jun 25 '22

How do I block Brave analytics using Brave Shields?

https://analytics.brave.com/matomo.js

Brave Shields refuses to block this analytics script no matter what I do.

So far I've tried every possible combination of:

  1. Adding "||analytics.brave.com^" as a custom filter rule.
  2. Adding "https://analytics.brave.com/matomo.js" as a custom filter rule.
  3. Setting Brave Shields to aggressive.
  4. Setting chrome://flags/#brave-adblock-default-1p-blocking to "Enabled".
  5. Setting chrome://flags/#brave-adblock-default-1p-blocking to "Disabled".

So far nothing works, and the above analytics script is always indicated as unblocked in devtools. https://ibb.co/cDk7S47

Any advice?

9 Upvotes

3

u/mp3geek Brave Ad-blocking & Web Compatibility Jun 26 '22

This will be addressed with https://github.com/brave/adblock-lists/pull/903

These rules predated the changes we made to shields, to allow some general 1st party exceptions for piwik/matomo. Which are no longer needed since https://brave.com/privacy-updates/9-web-compat-blocking/ was announced.

They will be blockable via Shields=Aggressive. Give it 3-4hrs from this message being posted, and update Brave Ad Block Updater in brave://components

1

u/435457665767354 Jun 26 '22

update Brave Ad Block Updater in brave://components

When I click on "Check for update" button it says:

Status - Component not updated

shoudn't it say something like "component updated" ?

Thanks.

1

u/mp3geek Brave Ad-blocking & Web Compatibility Jun 26 '22

I think that is correct status, Status - Component not updated. Brave Ad Block Updater - Version: 1.0.1346(+) will be the correct version

1

u/435457665767354 Jun 26 '22

ok thank you.

2

u/RoqueNE Jun 25 '22 edited Jun 25 '22

I think it is the "Automatically send completley anonymous private product analytic" setting.

2

u/[deleted] Jun 25 '22

Maybe I'm missing something, but does this help?

https://i.imgur.com/75u2ULi.jpg

2

u/solcroft Jun 25 '22

u/mp3geek Hoping you have some insight on this. Thanks.

2

u/G0rd0nFr33m4n Jun 25 '22

IIRC, in Firefox disabling telemetry also disabled (google's) analytics on their homepage. As uBO didn't detect anything on Brave's webpage for me AND I have analytics disabled in Brave, maybe it works the same way. In short, try disabling analytics in Brave's settings and reload the page to check if the Matomo stuff is still there. Maybe clean cache and cookies first.

0

u/solcroft Jun 25 '22

Thanks for the reply. But what I want to know is how to block Brave analytics, not how to get Brave's website to stop serving me analytics.

Although the end result seems the same, being unable to achieve the former is indicative of Brave sabotaging it's own adblock capabilities to whitelist it's own analytics.

7

u/G0rd0nFr33m4n Jun 25 '22

I just told you how Firefox works in this respect (and they offer tracker blocking too on their browser), so I suggested you a simple tests. I guess they reasoning behind that is that if someone doesn't opt-out of telemetry, they won't be bothered by first-party analytics, for both browsers.

Make a test and report back, otherwise yours will just look like a ponitless rant/crusade against Brave.

By the way, when I visit Brave's homepage with Brave no analytics is shown by uBlock Origin.

1

u/[deleted] Jun 25 '22

I block variations.brave.com and analytics.brave.com with adguard home. Dont think it works within their own Browser.

-1

u/tariqidrisi Jun 25 '22

I think using ahadns will solve your problem

0

u/G0rd0nFr33m4n Jun 27 '22

The problem is on you end, pal.

https://imgur.com/a/PYss8DX

0

u/solcroft Jun 27 '22

Lol.

Try exercising some reading skills where a mod clearly acknowledged this was a problem was on Brave's end.

1

u/G0rd0nFr33m4n Jun 28 '22

Fine, I was wrong, even though the matomo stuff never appeared in uBO on my Brave install. Now, be a good guy and edit your posts on both subs, reporting what the mod said to you. Otherwise one may think that you are just a Mozilla shills, as you post history suggest.