uBlock Origin Blocking */gtag/js*
See original GitHub issueI use uBlock Origin, and after testing my implementation, it looks like this won’t work for any adblocker that uses https://easylist.to/easylist/easylist.txt because it has a filter for /gtag/js
?
I masked my googletagmanager URL using npm run mask www.googletagmanager.com/gtag/js?id=XYZ
and I have a reference to that in my app’s javascript
In the network calls, it redirects from the mask to http://MY-DOMAIN/www.googletagmanager.com/gtag/js?id=XYZ&l=dataLayer&cx=c which then gets blocked by uBlock Origin.
Not sure if this is anything that can be addressed on the implementation side, but just wanted to report this since I saw from https://github.com/ZitRos/save-analytics-from-content-blockers/issues/14#issuecomment-544560089 that @ZitRos you use AdGuard (tracking works when I enable AdGuard instead of uBlock Origin)
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (5 by maintainers)
Top GitHub Comments
Oh, that was easy. Fixed by 8540403a9fe196500ef8425995d84a4d03f0294b.
Please verify 😃 (I uploaded new container as well)
Yes, that’s strange it wasn’t masked in response. I’ll check tomorrow, thanks for reporting.