Mô tả
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
Block
This plugin provides 1 block.
- Opt-Out for Google Analytics
Cài đặt
- 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.
Đánh giá
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“Opt-Out for Google Analytics” đã được dịch qua 4 ngôn ngữ. Cảm ơn những người tham gia dịch vì đóng góp của họ.
Dịch “Opt-Out for Google Analytics” sang ngôn ngữ của bạn.
Muốn tham gia phát triển?
Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.
Nhật ký thay đổi
2.3.4
- 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.
2.3.3
- Fixed: [google_analytics_optout_close] shortcode did not close the popup
2.3.2
- Fixed: Make sure the JavaScript file is loaded correctly using the
wp_enqueue_scripts
filter.
2.3.1
- Fixed: removed checkbox in the end of the page
2.3.0
- Using SVG icons instead of images.
- Added new filters:
gaoop_info_icon_html
andgaoop_close_icon_html
. - Removed dependency from jQuery.
- Removed deferred loading of JS file because it makes no sense when script is in the footer.
2.2.6
- Bring back the sub-menu under “Insights” if MonsterInsights is installed.
2.2.5
- Corrected text domain for JS translations
- State that plugin works with gtag.js, too.
2.2.4
- Gutenberg block content was not translated correctly in WordPress 5.0
2.2.3
- Fixed PHP warning: filemtime(): stat failed in line xyz
2.2.2
- New Opt-Out Gutenberg block did not work (due to missing JavaScript file).
2.2.1
- Fixed a PHP fatal error when Gutenberg plugin is active and WordPress < 5.0 is installed.
2.2.0
- Added a block for WordPress’ 5.0 new block editor.
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
- Plugin can now be translated via translate.wordpress.org
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