Block Google Analytics cookies


Firefox extension CustomizeGoogle 0.39 has a new optional feature that blocks all Google Analytics cookies, on any website.

"Using this feature makes you more anonymous. But your visit on a single webpage can still be logged. This way, both Google and the owner of the website knows that someone visited the webpage, but it's difficult to track all pages you're visiting. Also, it's really really hard for Google to know that you visited both Website A and Website B."

You can read more about the feature at


Nice idea, but that's

Nice idea, but that's already built in to Firefox, surely? It does allow blocking of third party cookies.

Not third party cookie.

No, you can't block Google Analytics cookies using Firefox alone. It is not a third-party cookie, it is a true first-party cookie.

Actually, it's really hard to opt-out since Firefox can not block a cookie based on a name. To opt-out you need to block all cookies on all domains that are using Google Analytics. And that would also make some of the websites (like Threadwatch) harder to use.

"You may refuse the use of cookies by selecting the appropriate settings on your browser, however please note that if you do this you may not be able to use the full functionality of the website." Google TOS

You can't reject the Google Analytics cookie alone. But with CustomizeGoogle, you can.

Or just change your hosts file

Add the following line to your Windows hosts file


You should omit the www to catch all current and future subdomains:

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.