🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Konto Get it free
Opt-Out for Google Analytics (DSGVO / GDPR) icon
aktiv gepflegt Getestet mit WP 7.1 #15 in dsgvo

Opt-Out for Google Analytics (DSGVO / GDPR)

GDPR opt-out link for Google Analytics 4 as block, Elementor and Divi module, with automatic status check, uptime monitoring API and webhooks.

Aktive Installationen3K+1K + Stufe
Downloads · 30d1.7K▼ -74.6% vs prev. 30d
Wertung4.3/56 Bewertungen
Gesundheits-Score65/100Gut
Downloads aller Zeiten113.5KSeit April 2016
Unterstützung gelöst0 / 10% in den letzten 2 Monaten
erfordertWP 6.3PHP 7.4+
Downloads · 7d418▲ +25.1% week over week
Unser Urteil

Solide Wahl

Opt-Out for Google Analytics (D… is a solid plugin choice in 2026, with a few things worth checking first. It runs on 3K+ sites, is rated 4.3/5 and was last updated 1 month ago, and scores 65/100 on our health check.

  • Getestet mit dem neuesten WordPress (7.1)

Wie stapelt es sich?

Side-by-side bei Installationen, Updates, Bewertungen und Support

Tägliche Downloads

3697391.1KSep 4Oct 18Dec 2
Gestern91
Täglicher Durchschnitt (1 Jahr)32
Spitzentag1,47928.10.2026
Letzte 12 Monate11.8K

Download-Spitzen folgen normalerweise einer neuen Version - jede Website, die automatisch aktualisiert wird, gilt als Download.

Ranglisten

Where Opt-Out for Google Analytic… stands today

WordPress.org Ranglisten suchen

Live-Position in der Plugin-Suche, Top 100
StichwortPositionKonkurrierende PluginsKategorie
DSGVO #12 188 Beste DSGVO-Plugins →
GA4 #32 687 Beste GA4-Plugins →
DSGVO #46 4,263 Beste DSGVO-Plugins →
Google Analytics #29 4,777 Beste Google Analytics-Plugins →
opt-out #2 3,600 Best opt-out plugins →

Versionsübernahme

Anteil aktiver Sites pro Release.

  • 2.740.2%
  • 2.421.2%
  • 2.38.6%
  • 2.25.6%
  • Andere24.4%

Bewertungsaufschlüsselung

★★★★★★★★★★ 4.3 from 6 reviews

  • 5★83.3%
  • 4★0.00%
  • 3★0.00%
  • 2★0.00%
  • 1★16.7%

About Opt-Out for Google Analytics (DSGVO / G…

From the official readme · v2.7.1

Beschreibung

The General Data Protection Regulation (GDPR, German: DSGVO) requires that website visitors can object to the collection of their data by Google Analytics.

Until now, this was only possible with a browser add-on or with complicated JavaScript code on your own website. With this plugin, it is child’s play, and visitors can also undo their objection at any time.

And the plugin makes sure that it stays that way: it checks regularly whether the opt-out still works on your website, and notifies you by email, in Slack, Microsoft Teams or Discord, or in your uptime monitoring, if something is wrong.

Merkmale

Opt-out for your visitors

  • Support for Google Analytics 4 (GA4)
  • Visitors can disable Google Analytics tracking for themselves and enable it again later.
  • The texts of the opt-out and opt-in link can be customized, also individually per block, widget, module or shortcode.
  • After the click, the popup text is shown as a browser popup or as a notice below the link, optionally with a reload of the page. Also individually per block, widget, module or shortcode.
  • Local storage fallback: If a visitor deletes their cookies, the opt-out cookie is restored, as long as the browser’s local storage has not been cleared as well.
  • Works with page caching: the link always shows the current status of the visitor.
  • Accessible: the link can be used with the keyboard (Enter and space key), and screen readers announce the notice below the link or the new status.
  • Compatible with Google Tag Manager
  • Optional Google Consent Mode: the opt-out also denies the consent “analytics_storage”, so it also works if Google Analytics is loaded by the Google Tag Manager.
  • No other plugin needed to add the Google Analytics code to your website. The plugin can add it for you.
  • The GA4 measurement ID (G-XXXXXXXXXX) can be entered manually or read automatically from a Google Analytics plugin (see compatible plugins).

Block, page builders and shortcode

  • Gutenberg block with a preview, a warning if the link is not displayed, link colors (also on hover, e.g. as a button), colors of the notice, typography, spacing and alignment. Shortcode blocks with the opt-out shortcode can be converted into the block.
  • Elementor widget with individual texts, behavior, alignment, typography, colors and background (also on hover), padding, border radius and the style of the notice.
  • Divi module for Divi 4 and Divi 5 with individual texts, behavior, live preview in the Visual Builder, the Divi design settings and the style of the notice. Existing modules are converted automatically to Divi 5.
  • Shortcode [ga_optout] with attributes for individual texts and the behavior.

Status check and monitoring

  • Regular check (daily, weekly or monthly) whether the opt-out still works, and “Check now” at any time.
  • The check also loads the website and checks whether the opt-out script is loaded (and not removed or delayed by an optimization plugin), which measurement ID is used and whether the opt-out link is displayed on the privacy policy page, with every page builder and theme. Also for websites protected with a password (HTTP basic authentication), e.g. staging websites.
  • Email if a check failed, also to several addresses.
  • Webhook for Slack, Microsoft Teams, Discord, Google Chat, n8n, Make or Zapier: the result is sent if a check failed, or optionally after every check.
  • Dashboard widget with the status check, and integration into the Site Health of WordPress.
  • REST API for uptime monitoring (UptimeRobot, Better Stack, Uptime Kuma etc.): a status URL with a secret token returns the result as JSON with an ID per check and the number of passed and failed checks, and the HTTP status 200 or 503.
  • WP-CLI commands for the status check, the export and import of the settings and the status of all sites of a network.
  • Multisite: overview of all sites in the network admin with filter, search and sorting, the check can be started for one or all sites, one status URL and one webhook for all sites, and the settings can be transferred to all sites, used for new sites. The settings page and the dashboard widget can be hidden for site admins.

Settings and developers

  • Modern settings page with a help tab, which contains all instructions, and a preview of the link with the current settings, also before saving.
  • Import and export of the settings as JSON file.
  • Custom CSS to change the appearance, with line numbers, a check while typing (e.g. for a missing “;” or “}”) and automatic formatting. On the website it is minified and only loaded together with the link.
  • Actions and filters for developers, e.g. for own checks, other page builders or the status email (see FAQ).
  • Full integration with the privacy features of WordPress
  • Compatible with WordPress Multisite
  • Compatible with Advanced Custom Fields, Secure Custom Fields, WPML, Polylang and Loco Translate
  • Also works on smartphones, provided the browser supports cookies
  • Available in English and German
  • Supports PHP 7.4 to PHP 8.4

Regular check whether the opt-out still works

Have you ever edited your privacy policy page and accidentally deleted the opt-out shortcode? Or removed your Google Analytics plugin, reinstalled it later and forgot to set up the tracking code again? Or does an optimization plugin delay the opt-out script, so it runs too late?

To keep you on the safe side, the plugin checks the settings and the website regularly. If something is no longer correct, an error message appears in the WordPress admin and in the Site Health, and you receive an email.
You can choose how often the check runs: daily, weekly or monthly. With “Check now” in the dashboard widget or on the settings page, it runs at any time.

The following is checked:

  • Opt-out function is enabled
  • A valid GA4 measurement ID was found
  • Opt-out shortcode, block, Elementor widget or Divi module is present on the privacy policy page
  • The privacy policy page is publicly available (published and not password protected)
  • The cron job for the status check is active
  • The opt-out script is loaded on the website, and not removed or delayed by an optimization plugin
  • The opt-out link is displayed on the privacy policy page
  • Google Analytics on the website uses the measurement ID of the settings (if it is not loaded after the consent or by the Google Tag Manager)

For agencies and multisite networks

  • wp gaoo status shows the result of the status check with WP-CLI, wp gaoo status --run runs it first. The command fails if a check failed, so it can be used in a monitoring script.
  • The status URL (REST API with a secret token) returns the result as JSON, with the HTTP status 200 or 503. An uptime monitoring like UptimeRobot can check it without access to the server, and your own scripts can evaluate each check by its ID. The texts are English, or translated with the parameter lang.
  • In a multisite network, the network admin shows the status of all sites with filter, search and sorting, and the check can be started for one or all sites. One status URL of the network shows the status of all sites, for one monitor of the whole network.
  • wp gaoo network status and wp gaoo network check show and start the check of all sites, wp gaoo settings export and wp gaoo settings import transfer the settings, e.g. in a deployment script.
  • A webhook sends the result to Slack, Microsoft Teams, Discord, Google Chat or a service like n8n, so your team sees problems without checking emails.
  • In a multisite network, the settings page and the dashboard widget can be hidden for site admins, so only super admins change the settings, while site admins still see the status.
  • The settings can be exported and imported, and in a network transferred to all sites. New sites can get the settings of a site automatically. The settings of each site (source and code of Google Analytics, privacy policy page, access data, email addresses and webhook) are not transferred.
  • With filters, you can add own checks (e.g. for a cookie banner), send the result to another service or change the recipients of the status email.

Built-in compatibility with the following plugins

You do not need any of these plugins! The plugin also works with other plugins, or if you have added the Google Analytics code yourself.
With the built-in compatibility, the current GA4 measurement ID is read automatically and kept up to date, so you never have to correct it manually.

Privacy policy that is AUTOMATICALLY kept up to date

Keeping track of all changes in data protection law is not easy, especially alongside your core business. That’s why we offer a privacy policy generator together with our partner eRecht24.
You create your privacy policy ONCE, and it is automatically kept up to date in WordPress. No more filling out forms and copying and pasting privacy statements: it is completely automated.
More information: https://schweizer.solutions/erecht24

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

Coded with love by Schweizer Solutions GmbH

This plugin is not made or supported by Google. Google Analytics is a trademark of Google LLC.

Installation

Installation in WordPress

  1. In the admin, go to Plugins > Add New Plugin.
  2. Search for Opt-Out for Google Analytics.
  3. Click “Install Now”.
  4. Aktivieren Sie das Plugin.

Manuelle Installation

  1. Download the ZIP file and unpack it.
  2. Upload the folder opt-out-for-google-analytics to the /wp-content/plugins/ directory of your WordPress installation.
  3. Aktivieren Sie das Plugin.

Konfiguration

  1. In the admin, go to Settings > GA Opt-Out.
  2. Switch on “Enable Opt-Out function”, if it is not enabled yet.
  3. Select the source of the GA4 measurement ID, or enter it manually.
  4. Select your privacy policy page, so the status check can monitor it.
  5. Save the changes.
  6. Add the link to your privacy policy: with the shortcode [ga_optout], the block, the Elementor widget or the Divi module “Opt-Out for Google Analytics”. Done!
  7. Optional: in “Status check”, set up the email addresses, a webhook (e.g. Slack or Microsoft Teams) or the status URL for your uptime monitoring.

All instructions can also be found in the help of the settings page (“Help” at the top right).

Note on the GA4 measurement ID

If you added the Google Analytics tracking code yourself, e.g. in your theme, enter the measurement ID in the input field.
If you use one of the compatible Google Analytics plugins, you can select it as the source. The plugin then reads the current measurement ID automatically, and you do not need to enter it.

Änderungsprotokoll

Big update: the status check also checks your website, notifications by webhook (Slack, Teams, Discord), REST API for uptime monitoring, Google Consent Mode, multisite center, WP-CLI and a new settings page. Requires WordPress 6.3 and PHP 7.4.

2.7.1

  • Fixed: Loading of the language files.

2.7

  • Added: Website check: the status check loads the website and checks the opt-out script, the measurement ID and the opt-out link on the privacy policy page.
  • Added: Access data (HTTP basic authentication) for the website check, e.g. for staging websites.
  • Added: Webhook for Slack, Microsoft Teams, Discord, Google Chat, n8n, Make and Zapier.
  • Added: REST API for uptime monitoring, e.g. UptimeRobot.
  • Added: Option “Google Consent Mode”: the opt-out also denies “analytics_storage”.
  • Added: “Check now” in the dashboard widget and on the settings page.
  • Added: Status check in the Site Health of WordPress.
  • Added: WP-CLI commands for the status check, the settings and the network.
  • Added: Multisite: status of all sites, one status URL and one webhook for the network, transfer of the settings and settings for new sites.
  • Added: Multisite: the settings page and the dashboard widget can be hidden for site admins.
  • Added: Import and export of the settings.
  • Added: Popup text as a notice below the link, as an alternative to the browser popup.
  • Added: Popup type and page reload individually per block, Elementor widget, Divi module and shortcode.
  • Added: Preview of the link and help tab with all instructions on the settings page.
  • Added: Actions and filters for developers.
  • Updated: Custom CSS is checked while typing and formatted when saving.
  • Updated: Gutenberg block: colors for the link and the notice, also on hover. Existing block colors are moved to the link automatically.
  • Updated: Elementor widget: background, padding and border radius of the link.
  • Updated: Popup texts can have several lines.
  • Updated: Better accessibility of the link (space key, screen reader announcements).
  • Updated: Several UX tweaks on the settings page and in the dashboard widget.
  • Updated: Minimum requirements: WordPress 6.3 and PHP 7.4.
  • Removed: CSSTidy library. The plugin minifies the custom CSS itself.
  • Fixed: Several smaller bugs, security hardening and code quality.

2.6

  • Security: Only users with the “edit_css” capability can change the custom CSS, like the “Additional CSS” of WordPress (relevant for multisite).
  • Added: Switch to enable or disable the custom CSS without deleting it, e.g. to test the website without it. It is disabled by default, and enabled automatically on update if custom CSS was already entered.
  • Updated: The tracking code and the custom CSS are read-only, with a notice, if the user is not allowed to change them.
  • Added: Elementor widget “Opt-Out for Google Analytics” with individual link and popup texts, and settings for alignment, typography and colors.
  • Added: The status check also finds the Elementor widget and the shortcode on pages built with Elementor. Same for Divi module (Divi 4 and Divi 5).
  • Added: Divi module “Opt-Out for Google Analytics” for Divi 4 and Divi 5, with individual link and popup texts, live preview in the Visual Builder and the Divi design settings.

2.5

  • Security: Only users with the “unfiltered_html” capability can change the tracking code (relevant for multisite).
  • Security: Hardened the output of the custom CSS, the link texts and the promotion data.
  • Added: The Gutenberg block shows a preview of the link and a warning if the link is not displayed on the website.
  • Added: Settings for color, typography, spacing and text alignment in the Gutenberg block.
  • Added: Individual link and popup texts per block or per shortcode: [ga_optout link_deactivate=”…” link_activate=”…” popup_deactivate=”…” popup_activate=”…”]
  • Added: Compatibility with Secure Custom Fields. The status check also finds the shortcode in its fields.
  • Updated: New, modern design of the settings page.
  • Updated: New, modern design of the dashboard widget.
  • Updated: The Gutenberg block is now rendered dynamically and is translatable. Existing blocks keep working and are migrated automatically when edited.
  • Updated: The link has the new CSS class “gaoo-link”. Please use it instead of the ID “#gaoo-link”, which still works for compatibility.
  • Updated: The minimum required WordPress version is now 5.8.
  • Updated: Support for WordPress 7.1.
  • Fixed: The opt-out link did not work with block themes (e.g. Twenty Twenty-Five), because the JavaScript data was missing.
  • Fixed: With page caching, the opt-out link could show the wrong status. The link now always shows the current status, also if it is used several times on one page.
  • Fixed: The admin notice was shown when everything was fine, and hidden when there were problems. Thanks to @greenlightsolutions for reporting!
  • Fixed: The plugin could not be deactivated with the bulk action or with WP-CLI.
  • Fixed: Fatal error if another plugin also loads the CSSTidy library.
  • Fixed: Site Kit by Google: the GA4 measurement ID is now read correctly.
  • Fixed: The opt-out link no longer depends on a global JavaScript variable from the header script.
  • Fixed: The CSS class of the opt-out link is now updated correctly in both directions.
  • Fixed: PHP warning in the status check with Advanced Custom Fields if the page has no fields.
  • Fixed: Invalid email addresses for the status emails were silently changed or removed. They are now validated, and an error message is shown.
  • Fixed: Multisite: the links to install a compatible Google Analytics plugin lost the search query. The links are now only shown if the user is allowed to install or activate plugins.
  • Fixed: Multisite: new sites did not get the status check cron job when the plugin is network activated.
  • Fixed: The status check cron job was not created when the plugin was activated with WP-CLI.
  • Fixed: The status check is now updated when the privacy policy page is saved.
  • Fixed: Cached data is now reliably cleared after a plugin update, regardless of the update method.
  • Fixed: The admin styles of the plugin affected code elements on all admin pages.
  • Removed: Support for Universal Analytics (UA-XXXXXX-Y). Google has shut down Universal Analytics, so only Google Analytics 4 (G-XXXXXXXXXX) is supported.
  • Removed: The status check “IP anonymization is enabled”. Google Analytics 4 does not log or store IP addresses.
  • Removed: Unused code and files.

2.4

  • Updated: Support for WordPress 6.8.1.

2.3

  • Updated: CSSTidy library to version 2.1.0.
  • Updated: Support for WordPress 6.5.
  • Updated: readme.txt.
  • Fixed: Analytify: detection of whether IP anonymization is enabled.

Vollständiges Änderungsprotokoll auf WordPress.org →

Screenshots

Settings page of the plugin (Settings > GA Opt-Out), with the status check and the custom CSS
Settings page of the plugin (Settings > GA Opt-Out), with the status check and the custom…
Shortcode inserted in the classic editor
Shortcode inserted in the classic editor
Opt-out link with popup on the website
Opt-out link with popup on the website
Example of a status email
Example of a status email
Block in the block editor, with individual link and popup texts
Block in the block editor, with individual link and popup texts
Dashboard widget with the status check, also of the website
Dashboard widget with the status check, also of the website
Multisite: status of all sites in the network admin, with filter, search and sorting, the check can be started for one or all sites
Multisite: status of all sites in the network admin, with filter, search and sorting, the…
Multisite: settings of the network, with the status URL and the webhook for all sites, the template site, the transfer of the settings and the access of the site admins
Multisite: settings of the network, with the status URL and the webhook for all sites…

Für Entwickler

Ist das dein Plugin? Zeigen Sie die Zahlen.

Fügen Sie Ihrer Website, Docs oder GitHub Readme ein Live-Badge hinzu. Es wird von selbst aktualisiert - kein Konto erforderlich.

Aktiv installiert Badge Bewertungsabzeichen Gesundheits-Score-Abzeichen

Best Opt-Out for Google Analytics… alternatives

All dsgvo plugins →
Alternativen
Rang Plugin Aktive Installationen Wertung Aktualisierten Gesundheit
1 DSGVO-Cookie-Compliance – Cookie-Banner, Cookie-Einwilligung, Cookie-Hinweis für CCPA DSGVO-Cookie-Konformität Cookie-Hinweis Banner für DSGVO, CCPA, EU-Cookie-Gesetz, Datenschutz- und Datenschutzbestimmungen… von der Moove-Agentur 300K+ ★★★★★★★★★★ 4.6 (206) Vor 2 Wochen 92
2 OMGF | DSGVO/DSGVO-konform, schneller Google Schriftarten. leicht OMGF | DSGVO/DSGVO-konform, schneller Google Schriftarten. leicht Das ursprüngliche Plugin für Schriftarten Google. Zwischenspeichert Ihre Schriften automatisch lokal – nein… von Daan van den Bergh 300K+ ★★★★★★★★★★ 4.7 (213) Vor 1 Woche 96
3 Disable and Remove Google Fonts | GDPR & DSGVO friendly Disable and Remove Google Fonts | GDPR & DSGVO friendly Improve frontend performance by disabling Google Fonts. GDPR and DSGVO friendly. by fontsplugin 100K+ ★★★★★★★★★★ 4.5 (46) Vor 3 Monaten 90
4 Shariff Wrapper Shariff Wrapper Shariff provides share buttons that respect the privacy of your visitors and follow the… by 3UU 30K+ ★★★★★★★★★★ 4.9 (101) vor 7 Monaten 52
5 Self-Hosted Google Fonts Self-Hosted Google Fonts Automatically self-host all the Google Fonts on your site. Plug and play. by asadkn 20K+ ★★★★★★★★★★ 4.8 (40) Vor 8 Jahren 46
6 WP DSGVO Tools (GDPR) WP DSGVO Tools (GDPR) WP DSGVO Tools (GDPR) by legalweb.io help you to fulfill the GDPR (DSGVO) compliance… von legalweb.io 10K+ ★★★★★★★★★★ 4 (116) Vor 6 Monaten 65
7 GDPR tools: Cookie notice + privacy GDPR tools: Cookie notice + privacy Adds a full customizable bar with cookie notice and integrated notice to privacy policy by fhwebdesign 5K+ ★★★★★★★★★★ 5 (6) Vor 1 Monat 84
8 CCM19-Integration CCM19-Integration Integriert den CCM19 Cookie Consent Manager in WordPress. Um dieses Plugin CCM19 zu verwenden, muss… von Papoo Software & Media GmbH 5K+ ★★★★★★★★★★ 5 (1) Vor 8 Monaten 51
9 BST DSGVO Cookie BST DSGVO Cookie DSGVO Cookie Hinweis - WordPress Plugin by amargolf 4K+ ★★★★★★★★★★ 4 (4) Vor 5 Jahren 33
10 Google Analytics Opt-Out Google Analytics Opt-Out Provides opt-out functionality for Google Analytics. by wp-buddy 4K+ ★★★★★★★★★★ 4.5 (16) Vor 3 Jahren 39

Fragen und Antworten

Opt-Out for Google Analytics (DSGVO…: quick answers

Gerade Antworten, gezogen von Live WordPress.org Daten.

Quelle: WordPress.org

Is Opt-Out for Google Analytics (D… free?

Yes. Opt-Out for Google Analytics (D… is free to download and use from the official WordPress.org plugin directory.

Is Opt-Out for Google Analytics (D… safe to use in 2026?

Opt-Out for Google Analytics (D… is a solid plugin choice in 2026, with a few things worth checking first. It runs on 3K+ sites, is rated 4.3/5 and was last updated 1 month ago, and scores 65/100 on our health check.

How many websites use Opt-Out for Google Analytics (D…?

Opt-Out for Google Analytics (D… is active on 3K+ WordPress websites and has been downloaded 113,468 times since it launched in April 2016. It was downloaded 1,662 times in the last 30 days.

Does Opt-Out for Google Analytics (D… work with WordPress 7.1?

Yes. The developer has tested Opt-Out for Google Analytics (D… up to WordPress 7.1.5, the latest release. It requires WordPress 6.3 or newer.

What PHP version does Opt-Out for Google Analytics (D… need?

Opt-Out for Google Analytics (D… requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was Opt-Out for Google Analytics (D… last updated?

The latest version, 2.7.1, was released on October 30, 2026 (1 month ago).

Who makes Opt-Out for Google Analytics (D…?

Opt-Out for Google Analytics (D… is developed and maintained by Schweizer Solutions GmbH.

What are the best alternatives to Opt-Out for Google Analytics (D…?

The most popular alternatives to Opt-Out for Google Analytics (D… are GDPR Cookie Compliance (300K+ installs), OMGF (300K+ installs) and Disable and Remove Google F… (100K+ installs).

Angetrieben von PageForge

Eine Vorlage und eine Tabelle. Eine echte Seite für jede Suche.

PageForge Verwandelt jede Zeile eines CSV in eine WordPress-Seite mit eigenem Titel, URL, SEO Felder und Schema entworfen. Kostenlos auf WordPress.org.

  • CSV und XLSX, plus Google Sheets auf Beruf und Unternehmen
  • seinen eigenen Titel, URL, SEO Felder und Schema für jede Seite
  • Arbeitet mit dem Blockeditor, Elementor, Divi und Avada
  • Kostenlos auf WordPress.org, keine Kreditkarte

↑↓ bewegen↵ öffnen