Linux 软件免费装
Banner图

Accept My Cookies

开发者 sghiaseddin
更新时间 2025年6月22日 16:25
捐献地址: 去捐款
PHP版本: 7.3 及以上
WordPress版本: 6.8
版权: GPLv3
版权网址: 版权信息

标签

cookies privacy gdpr consent google consent mode

下载

1.0.0 1.0.1 1.0.2 1.4.3 0.6.4 1.0.3 1.1.0 1.2.1 1.3.0 1.3.1 1.4.0 0.3.10 1.2.0 1.4.1 1.4.2

详情介绍:

Accept My Cookies is a lightweight and customizable WordPress plugin that helps you comply with GDPR and other privacy regulations. It displays a user-friendly consent modal, allowing visitors to accept or reject tracking cookies. The plugin supports Google Consent Mode for seamless integration with Google Analytics, Ads, and Tag Manager. Key Features Google Consent Mode The plugin supports Google Consent Mode, allowing you to manage user consent for Google services. When enabled, the plugin will: Customization You can customize the following aspects of the consent banner:

安装:

  1. Download the plugin ZIP file from the WordPress plugin directory.
  2. Go to your WordPress admin dashboard.
  3. Navigate to Plugins > Add New > Upload Plugin.
  4. Upload the ZIP file and click Install Now.
  5. Activate the plugin.

屏幕截图:

  • Google Analytics - Track responsibly.
  • Gtag Test - Best practice in implementation
  • Receiving Consent Signals
  • Plugin Settings - General
  • Plugin Settings - Google Property
  • Plugin Settings - Styling

升级注意事项:

0.4.3
  • Adding title for consent banner
  • Fixing text-domain load
  • Adding Persian language glossary

常见问题:

What is Google Consent Mode?

Google Consent Mode allows you to manage user consent for Google services like Analytics, Ads, and Tag Manager. It ensures that no tracking occurs without user consent. Set up consent mode on websites

I've installed and setup the plugin, but Google property still doesn't show consent signals. What do I do?

Ensure you are using the correct Google Analytics ID (e.g., G-XXXXXXXXXX). Test the consent implementation using Google Tag Assistant to verify that consent signals are being sent correctly. Note that it may take up to 24 hours for Google Analytics to collect and display the consent data in your reports. If issues persist, double-check your plugin settings and ensure Google Consent Mode is enabled.

I've created a new property in Google Analytic and saved the ID (e.g., G-XXXXXXXXXX) in the plugin settings. But the test wizard shows the script is not embeded in the page. What is wrong?

Ensure you are using the correct Google Analytics ID (e.g., G-XXXXXXXXXX) and purge the caching system on your host and CDN. Then skip the test wizard in the Google Analytics property creation and move forward to main page of Analytics. There you will see the tracking is working.

Consent banner is poping up on every page, even after visitor accept one. What is wrong here?

You probably has chosen "Cookies" as Storage Method in the settigs page. You might have also set caching system. This means the caching system has cached the pages with consent banner poping up state. I recommend changing Storage Method to "Local Storage", so the visitor decision on consents would be checked after page load by getting the associated key form local storage and using JavaScript.

Can I customize the consent banner?

Yes, the consent banner is fully customizable. You can change its text, colors, position, size, and delay.