The Google Analytics Opt-Out Browser Add-On stops the Google Analytics JavaScript (gtag.js, analytics.js) from recording your activity on any site you visit. Once installed and enabled, it prevents your browsing data from being sent to Google Analytics, keeping your visits out of GA4 reports. The extension, provided by Google, is a simple way for site visitors to completely opt out of Google Analytics measurement.
Using the add-on does not prevent the website from collecting data with other analytics services, nor does it block ads. It only stops Google Analytics measurement for your browser.
What The Add-On Does
The opt-out add-on is a small browser extension that tells Google Analytics to stop collecting data about your visits. Its only purpose is to disable the Google Analytics JavaScript libraries, gtag.js and analytics.js, that run on websites using those collection methods. When the add-on is installed and enabled, Google says it prevents that JavaScript from sharing information about your visit activity with Google Analytics, for any site you visit.
The add-on does not block advertisements, hide content or interfere with any other web analytics services. It also does not prevent websites from sending data to their own servers or to other analytics platforms. It is built for websites using the supported Google Analytics JavaScript (gtag.js, analytics.js). Google notes it does not stop data being sent to the website itself or in other ways to analytics services, so data a site sends by other means, such as server-side Measurement Protocol calls, is outside its scope.
As long as the extension is installed and enabled, you remain opted out on every site you visit. Google states that the add-on must be able to load and execute properly, so if your browser settings or another extension block it, the opt-out will not work.
Install it once and you stay opted out until you remove or disable the extension. For site owners, this means visits from anyone with the add-on are not shared with Google Analytics, so they are missing from GA4 reports. The add-on is a visitor-side off-switch for Google Analytics measurement.
Which Browsers Support It
| Browser | Supported |
|---|---|
| Google Chrome | Yes |
| Mozilla Firefox | Yes |
| Apple Safari | Yes |
| Microsoft Edge | Yes |
| Other browsers | Not supported |
You download the add-on from tools.google.com/dlpage/gaoptout. If you visit with a browser it does not support, the page displays: “The Google Analytics Opt-out Browser Add-on is not supported for your browser.”
Google lists Chrome, Firefox, Safari and Edge and says nothing about mobile browsers, so do not count on it on a phone. The download page notes that the add-on must be able to load and execute properly. Practical consequences: if your browser is locked down by a group policy that forbids extensions, or if another extension interferes, the opt-out will not work even on a supported browser. For users who cannot install it, other methods like disabling cookies or denying consent are the remaining options. Note that with consent mode, a denial can still send cookieless pings to Google.
Short on time? Analytics Art can check this in your property for you.
How To Install And Remove It
- Open a supported desktop browser and go to
tools.google.com/dlpage/gaoptout. - Download the add-on for your browser from that page.
- Follow your browser's prompt to add the extension. The dialog differs by browser.
- Make sure the extension is enabled. Google says it must be able to load and execute properly to work.
- To check it, visit a site you know uses Google Analytics and watch the network requests in your browser's developer tools, or use Google Tag Assistant, to see whether any data still reaches Google Analytics.
To remove the add-on, open your browser’s extension manager, find the Google Analytics Opt-out Add-on, and remove or disable it. Google Analytics measurement then applies to your visits again.
Opting Out Without The Add-On
The browser add-on is Google's own tool for disabling Google Analytics measurement on every site you visit. There are, however, other methods that limit how much information Google Analytics can collect, each with different trade-offs. Users can disable all cookies in their browser settings. That stops GA from storing first-party cookies. For advertising identifiers, visitors can use Google's Ads Settings to manage how Google’s advertising products use data when GA is configured with Advertising Features. This does not disable core measurement; it only controls ad-related identifiers.
Site-level consent banners offer another layer. When a site implements Google Consent Mode and a visitor denies analytics storage, GA stops reading or writing analytics cookies and, in an advanced implementation, sends cookieless pings instead. Those pings allow modeling in GA4, and as part of normal browser communication they may include user agent, screen resolution and IP address (Google says Analytics does not store or log IP addresses). The opt-out add-on, by contrast, stops the Google Analytics JavaScript from sharing visit activity at all.
For users who want to delete existing data, the Google Analytics opt-out add-on does not remove past information already stored by Google. A site owner can delete a single user's data with the User Deletion API or the User Explorer report, though that does not delete aggregate data such as page URLs visited. Clearing your own cookies does not delete data already in Google Analytics. The add-on only applies to future activity.
What It Means For Site Owners
When a visitor has the Google Analytics opt-out add-on installed, your GA4 property logs nothing from that person. No events, no page views, no user identifier, the session simply does not exist in your reports. This creates a permanent blind spot for you, because the blocker works silently on the visitor’s side and you cannot distinguish an absent user from one who actually saw your site. You won’t know how many visitors use the add-on; you may only notice a mismatch when comparing GA4 numbers with server logs or other analytics systems.
This is different from a consent denial. Under analytics_storage='denied' in an advanced consent mode setup, GA4 still receives cookieless pings that feed behavioral and conversion modeling. With the add-on, the visitor's activity is not shared with Google Analytics, so there is no signal to recover from that visitor. Unlike consent mode, which you can implement to respect user choices and still get partial data, the add-on is entirely out of your control.
You can reduce the impact of other data losses by setting up GA4 correctly and validating with tools like Tag Assistant or GA4 DebugView. Enabling Google Consent Mode V2 helps capture modeled data for users who respond to your consent banner, but it cannot reach the small segment who choose the browser add-on. The add-on does not block ads; it only disables Google Analytics measurement. For privacy compliance, accept that some users will use this add-on, it is part of giving visitors a real choice about their data. The data you do collect will always be a subset of total traffic, and good analytics processes account for that gap.
Frequently Asked Questions
Does Google Have A Built-In Ad Blocker?
The Google Analytics opt-out browser add-on is not an ad blocker. It only prevents the Google Analytics JavaScript (gtag.js, analytics.js) from sending data to Google Analytics. It does not hide ads on websites or stop other tracking services.
How Do I Exclude Myself From Google Analytics?
Install the Google Analytics opt-out browser add-on from tools.google.com/dlpage/gaoptout. Once installed and enabled, it disables Google Analytics measurement on every site you visit that uses gtag.js or analytics.js.
How Do I Remove An Add-On From Google?
Open your browser’s extension manager, locate the Google Analytics Opt-out Add-on, and remove or disable it.
How Do I Manage My Ad Privacy Settings On Google Ads?
Use Google's Ads Settings to control how Google ads use your data, including advertising identifiers collected by Google Analytics when Advertising Features are active. This affects ad personalization, not the core GA measurement.
Does Google Analytics Comply With GDPR?
Google says it operates as a data processor for Google Analytics under GDPR, as reflected in its Ads Data Processing Terms, while customers are the data controllers. It provides tools for data retention, user deletion and consent management to help site owners meet their obligations.
How Do Cookies Work In Google Analytics?
Google Analytics mainly uses first-party cookies to store a random client identifier (e.g., 12345.67890) that distinguishes users. No personally identifiable information is allowed. The cookies are set by the website’s domain and can be disabled by the user.
Does Google Analytics Record IP Addresses?
Google Analytics uses IP addresses to protect the security of the service and to give site owners a sense of where users come from. Google says Analytics does not log or store IP addresses.
Related GA4 Guides
- Google Consent Mode V2: What It Is And How To Set It UpGoogle Consent Mode V2 adds ad_user_data and ad_personalization. Learn the setup with a CMP and GTM, how to test it, and its effects on GA4 and Ads data.
- How To Check If Consent Mode Is WorkingConsent mode checker: use Tag Assistant and GA4 admin to verify consent signals, default and update states, and troubleshoot common errors in your Google Analytics setup.
More in Consent & Privacy or browse all GA4 guides.