This plugin provides an Opt-Out functionality for Google Analytics by setting a cookie that prevents analytics.js or gtag.js to collect data. The new GDPR rules requires an opt-out.
Works perfectly together with the Google Analytics by MonsterInsights Plugin. However the plugin is not necessary to configure the opt-out feature. Just enter your UA- or GA-Code manually. That’s it!
The free and the pro version have now been merged together. So you now can have the option to activate a banner, too! Enjoy!
Ảnh màn hình
This plugin provides 1 block.
- Opt-Out for Google Analytics
- Install and activate the plugin via your WordPress Administration panel
- Go the “Settings” -> “Analytics Opt Out” and enter your UA- or GA-code (you don’t need this step if MonsterInsights plugin is active).
- Read the FAQ for more information.
Người đóng góp & Lập trình viên
“Opt-Out for Google Analytics” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.Những người đóng góp
Nhật ký thay đổi
- Fixed: Banner did not stay closed if someone clicked on the info icon and/or the shortcode link.
- Fixed: Browser warnings because of missing SameSite Cookie attributes.
- Fixed: MonsterInsights showed a warning because of multiple occurrences of the UA-Code number.
- Fixed: [google_analytics_optout_close] shortcode did not close the popup
- Fixed: removed checkbox in the end of the page
- Using SVG icons instead of images.
- Added new filters:
- Removed dependency from jQuery.
- Removed deferred loading of JS file because it makes no sense when script is in the footer.
- Bring back the sub-menu under “Insights” if MonsterInsights is installed.
- Corrected text domain for JS translations
- State that plugin works with gtag.js, too.
- Gutenberg block content was not translated correctly in WordPress 5.0
- Fixed PHP warning: filemtime(): stat failed in line xyz
- Fixed a PHP fatal error when Gutenberg plugin is active and WordPress < 5.0 is installed.
- Added a block for WordPress’ 5.0 new block editor.
- Added missing return statement to no longer the plugin on older PHP versions
- 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.
- 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.
- Fixed an issue with Monster Insights 7: Submenu item was not visible
- Allow to disable the editor button as some users reported issues with loading the editor properly
- 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.
- Plugin can now be translated via translate.wordpress.org
- The pro version is now free (this is it!)
- New: allow the complete deactivation of the banner.
- Added Spanish translation
- 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)
- Made the plugin compatible with the latest version of the Google Analytics plugin by Yoast
- Works again with the Google Analytics plugin by Yoast
- 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
- The first version