Hacker News new | ask | show | jobs
by rchmura 3903 days ago
Be careful because the Google Analytics code (newest version includes a noscript section that loads an iframe within it) - No script will not block that.
3 comments

So, uBlock then. Set 3rd-party, 3rd-party frames, and 3rd-party images to default-deny. As above, you can effectively block GA even if the noscript loads an iframe if you can block that iframe.

Or, if you are a serious, no-nonsense paranoiac uBlock even allows you to block 1st-party and inline scripts.

The world is your oyster. Block with reckless abandon! Watch the world burn! (mostly kidding with that last one)

Yes, UBO+NoScript has made browsing much more pleasant.
> Be careful because the Google Analytics code (newest version includes a noscript section that loads an iframe within it)

No it doesn't[1]? What are you referring to?

[1] https://developers.google.com/analytics/devguides/collection...

The tag manager does. The code you are linking to is a developer reference for the raw tracking code.

The tag manager has a "noscript" tag that points to an iframe with the domain googletagmanager.com

What about RequestPolicy?