How To Block Google Analytics In Firefox

Google Analytics is a service offered by Google to monitor and record website traffic. It is commonly utilized by marketing teams and webmasters to analyze information about site visitors. However, certain users may have privacy apprehensions and wish to halt Google Analytics from monitoring their online actions.

This blog post will guide you on how to block Google Analytics in Mozilla Firefox, one of the most popular web browsers worldwide. Follow these simple steps:

Step 1: Open Firefox Options

Start by opening Firefox. Click on the menu button (three horizontal lines found in the upper-right corner), and then select Options.

Step 2: Privacy & Security

From the Options page, select Privacy & Security from the panel on the left. This will take you to the Firefox privacy settings.

Step 3: Enhanced Tracking Protection

Under the Privacy & Security section, you will find Enhanced Tracking Protection.

Step 4: Custom

Click on the Custom option to customize your tracking protection.

Step 5: Check the Cookies Checkbox and Select “All third-party cookies”

Check the Cookies checkbox and select “All third-party cookies” from the dropdown list.

Step 6: Save Changes

Click on Save Changes to apply your new settings.

Once you have completed these steps, Firefox will block Google Analytics and other third-party cookies, thus preventing them from tracking your online activities.

Using Add-ons to Block Google Analytics

Alternatively, you can use add-ons to block Google Analytics. There are numerous Firefox add-ons available for this purpose, among which uBlock Origin and Ghostery are quite popular.

Here are the steps to install and use uBlock Origin:

Step 1: Add to Firefox

Search for uBlock Origin in the Firefox Add-ons page and click Add to Firefox.

Step 2: Install

Click Install to add the extension to Firefox.

Step 3: Enable uBlock Origin

Once installed, make sure uBlock Origin is enabled in your extensions list.

Step 4: Block Google Analytics

uBlock Origin will automatically block Google Analytics, along with many other trackers.


Privacy is a fundamental right, and blocking tracking cookies can be an effective way to protect your online privacy. Whether you choose to adjust Firefox’s privacy settings or use an add-on, you now have the knowledge to prevent Google Analytics from tracking your browsing activities.