WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by Schweizer Solutions GmbH v2.4

Opt-Out for Google Analytics

Allows the user to opt-out of Google Analytics tracking. DSGVO / GDPR.

Opt-Out for Google Analytics

The facts

Rating
4.3★ from 6
Active installs
3k+
Price
Free
Last updated
6 Jun 2025
Added
Apr 2016
Requires WP
3.5
Tested up to
WP 6.8.8
Requires PHP
7.0
Downloads
104,793

Our analysis

AI-assisted

Opt-Out for Google Analytics is a WordPress plugin designed to help site visitors exercise their rights under the GDPR by allowing them to opt out of Google Analytics tracking. It simplifies the process of implementing an opt-out feature without requiring complex coding or additional plugins.

The plugin supports Google Analytics 4 and integrates with various WordPress features and plugins. It includes functionality for users to deactivate and reactivate tracking, customizable link text, and regular compliance checks to ensure settings remain up to date with data protection regulations.

Best for: This plugin is suitable for website owners who need to comply with GDPR regulations regarding Google Analytics tracking.

What it does well

  • Supports Google Analytics 4
  • Allows users to opt out of tracking easily
  • Regular compliance checks for data protection
  • Compatible with multiple WordPress plugins
  • Customizable link text for activation/deactivation

Where it falls short

  • Limited information on user experience or support
  • No details on the frequency of updates or future plans

Verdict

Opt-Out for Google Analytics provides a straightforward solution for GDPR compliance related to tracking. It is useful for those looking to enhance user privacy on their WordPress sites.

From the developer

Schweizer Solutions GmbH's own description of Opt-Out for Google Analytics, lightly tidied.

The Basic Data Protection Regulation (DSGVO, EU-DSGVO, GDPR) stipulates that a site visitor must have the option to object to the collection by Google Analytics.

Until now, this was only possible via browser addon, or complicated JavaScript code embedding on the own website. With this plugin, this is child’s play and the user also has the option to undo the objection.

Features

  • Support for Google Analytics 4 (GA4)
  • Full integration of the new WordPress DSGVO / GDPR features
  • Weekly check whether the settings are still data protection compliant!
  • Compatible with Google Tag Manager.
  • NO other plugin needed to use the Google Analytics code on the website. This can be integrated directly by this plugin.
  • Site visitors can deactivate the Google Analytics tracking for themselves and also activate it again afterward.
  • Link text for the activation and deactivation link can be changed individually.
  • A popup can be set up, which appears after clicking the link.
  • The UA-Code or GA4-Code can be entered manually or read out automatically by a Google Analytics tracking plugin (see compatible plugins).
  • HTML5 Local Storage Fallback: If a user deletes his cookies, the opt-out cookie can be restored if the local storage was not additionally deleted by the browser.
  • WordPress Multisite compatible.
  • Fully compatible with Gutenberg Editor.
  • Compatible with: Advanced Custom Fields, WPML, Polylang and Loco Translate
  • Also works on the smartphone, provided that the browser supports cookies.
  • Visual customizations through custom CSS codes that are loaded only together with the shortcode (optimized loading time).
  • Translation for DE and EN available.
  • Full support for PHP 8.1

Regularly check whether the settings are still data protection compliant!

Ever edited the privacy policy page and accidentally deleted the opt-out shortcode? Recently deleted the plugin for Google Analytics tracking, then reinstalled it and forgot to re-enable IP anonymization?

To ensure the highest security, the plugin regularly checks the settings. Should a setting no longer fit, then an error message appears in the WP Admin (Backend / Dashboad) or you will receive an email.
You can freely choose the frequency of the check. The following intervals are available: daily, weekly or monthly.

The following settings are checked:

  • Opt-Out function enabled
  • Opt-Out shortcode present on the page
  • Page with the shortcode publicly available (published and no password protection)
  • Valid UA-Code found (only the formatting is checked)
  • IP anonymization enabled (Works only in conjunction with a compatible plugin or the tracking code is stored in the plugin)

Integrated compatibility with the following plugins

It is not a requirement to use the listed plugins! The Google Analytics Opt-Out Plugin is also compatible with other plugins and can be used even if the Google Analytics code itself was inserted.
With integrated compatibility, we make work easier because the current UA-Code is automatically read out and kept up to date. This means that it does not have to be corrected manually.

AUTOMATICALLY current privacy policy

Keeping track of all the GDPR legislative changes is not easy. Especially not next to the core business. That’s why we offer you a data protection generator with our partner easyRechtssicher.
The privacy policy is created ONCE and automatically kept up to date in WordPress itself. No more filling out forms again and copying and pasting privacy statements onto the page, it’s completely automated.
More info here: https://schweizer.solutions/datenschutzgenerator

Do you like our plugin?
It motivates us a lot to keep working on our free plugins if you leave us a positive review.

Coded with love by Schweizer Solutions GmbH

Read the full description on the official page →

Tagged as

Alternatives

Other plugins for measuring traffic.

Under Construction

Easy to use Under Construction Page & Coming Soon Page. Enable Under Construction Mode in seconds & sh...

Free 600k+ installs 4.8★ (1,285)
Ad Inserter

Manage Google AdSense ads, banners, ad rotation, sticky widgets, AMP ads, ads.txt, tracking, header and footer...

Free 300k+ installs 4.9★ (2,428)
MonsterInsights

The best free Google Analytics plugin for WordPress. See how visitors find and use your website so you can gro...

Free 2M+ installs 4.5★ (3,148)
Maintenance

Great looking maintenance, coming soon & under construction pages. Put your site under maintenance in minu...

Free 1M+ installs 4.4★ (860)
Header Footer Code Manager

Easily add tracking code snippets, conversion pixels, or other scripts required by third party services for an...

Free 600k+ installs 4.9★ (309)
GA Google Analytics

Adds Google Analytics tracking code to your WordPress site. Supports many tracking features.

Free 400k+ installs 4.9★ (158)