fromPrebuiltAdsOnly still block google-analytics
Seraphli opened this issue · comments
I use ElectronBlocker.fromPrebuiltAdsOnly
and enableBlockingInSession(session.defaultSession);
. Still GA is blocked.
I find out this by disabling enableBlockingInSession(session.defaultSession);
.
Because I use googletagmanager
in my code, so I want the tracking available.
It seems easylist/easylistgermany.txt
contains google-analytics
but it is in the adsLists
. I will try to disable it.
Hi @Seraphli,
I think this is from peter-lowe list, which contains a mix of tracking blocking and ads blocking and is included by default in the ads preset. If you want more control maybe you could specify the lists to use explicitly by using fromLists()
instead of `fromPrebuiltAdsOnly().
Yeah, I've already been doing that. Thanks.