Google Analytics Opt-Out

Description

This plugin provides an Opt-Out functionality for Google Analytics by setting a cookie that prevents analytics.js to collect data.

Works perfectly together with the Google Analytics by MonsterInsights Plugin.

The free and the pro version have now been merged together. So you now can have the option to activate a banner, too! Enjoy!

Screenshots

  • The Opt-Out link can be added with this little button (shortcode)

  • This is how the code looks like

  • This is the settings page

Installation

  • Install and activate the plugin via your WordPress Administration panel
  • Go the “Settings” -> “Analytics Opt Out” and enter your UA-code (you don’t need this step if MonsterInsights plugin is active).
  • Read the FAQ for more information.

FAQ

You can find the FAQ on this page here.

Installation Instructions
  • Install and activate the plugin via your WordPress Administration panel
  • Go the “Settings” -> “Analytics Opt Out” and enter your UA-code (you don’t need this step if MonsterInsights plugin is active).
  • Read the FAQ for more information.

Reviews

Probably not GDPR compliant

How do I block Google Analytics beforehand with this plugin?
The first time you visit Google Analytics has already tracked your visit. So I believe this plugin is not GDPR compliant!
Because I am not sure if my assumptions above are correct I have changed the number of stars from 1 to 3. The plugin is great because of its simplicity.

Good plugin, but be careful about PHP version

Great and helpful plugin! Only after installing version 2.1.2, all pages, front end and back end, show a warning that a higher PHP version is required (my site runs on an older PHP version), so I could not even uninstall this plugin, had to delete it through FTP (and downgrade to an older version from backup).

OK but not multilingual

Easy to use but not helpful for multi lingual pages yet. Will you change that and add input fields for every language?

Works great!

I love this plugin. Simple and easy solution for Google Analytics opt-out. 🙂

Read all 13 reviews

Contributors & Developers

“Google Analytics Opt-Out” is open source software. The following people have contributed to this plugin.

Contributors

“Google Analytics Opt-Out” has been translated into 3 locales. Thank you to the translators for their contributions.

Translate “Google Analytics Opt-Out” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

2.1.4

  • Added missing return statement to no longer the plugin on older PHP versions

2.1.3

  • Fixed issue with old PHP warning that could block site access
  • Updated headline on the settings page
  • Inserted a paragraph that describes the indention of the plugin and shows the shortcode that can be copy and pasted.

2.1.2

  • Fixed an issue where the opt-out code may not be on top of the sourcecode of some websites.
  • Opt-Out settings field has been moved up on the settings page.

2.1.1

  • Fixed an issue with Monster Insights 7: Submenu item was not visible

2.1.0

  • Allow to disable the editor button as some users reported issues with loading the editor properly

2.0.2

  • Make plugin compatible with the latest version of MonsterInsights.
  • Remove/deprecate all functions that have been used when the old Yoast Analytics plugin was active.
  • Remove the ‘gaoop_stop_head’ filter as it’s no longer needed.
  • Display the options submenu under “Insights” menu.

2.0.1

2.0.0

  • The pro version is now free (this is it!)
  • New: allow the complete deactivation of the banner.

0.1.5

  • Added Spanish translation

0.1.4

  • Solves the issue that the opt-out link does not appear when the UA-Code was entered manually.
  • Also fixes an issue that the tracking code could not be found due to some code changes of the Yoast Google Analytics for WordPress Plugin (Yoast_GA_Frontend class no longer extends Yoast_GA_Options)

0.1.3

  • Made the plugin compatible with the latest version of the Google Analytics plugin by Yoast

0.1.2

  • Works again with the Google Analytics plugin by Yoast

0.1.1

  • Fixed the issue that error message still shows shows up
  • Added/replaced some translations
  • Fixed an issue that Yoasts Analytics for WordPress plugin has changed the option name

0.1

  • The first version