Linux 软件免费装

Consent Mode Banner

开发者 Tag Concierge
tagconcierge
更新时间 2024年7月2日 17:38
PHP版本: 7.0 及以上
WordPress版本: 6.5.5
版权: GPLv2 or later
版权网址: 版权信息

标签

google tag manager google ads consent mode cookies banner consent management

下载

详情介绍:

Consent Mode Banner is a lightweight (~3 kB), user-friendly WordPress plugin designed to integrate Google Consent Mode seamlessly into your website. It offers a simple and efficient way for website owners to comply with cookie and privacy regulations like GDPR and CCPA, by enabling visitors to select their cookie preferences easily. Features Documentation Banner UI This plugin relies on open-source, lightweight Consent Banner UI available on GitHub: tagconcierge/consent-banner-js

安装:

  1. Upload or install Consent Mode Banner plugin from WordPress plugins directory.
  2. Activate the plugin through the Plugins menu in WordPress.
  3. That's it! Consent State will be pushed to DataLayer adhering to Consent Mode API
  4. Use plugin settings to customise the content and consent settings.
  5. Optionally use plugin settings to install GTM snippets

屏幕截图:

  • Consent Banner displayed as modal
  • Consent Banner displayed as bar without "wall"
  • Consent Banner settings screen with all consent types listed
  • Consent Mode State Preview in Google Tag Assistant
  • Consent Banner WP Admin basic settings
  • Consent Banner WP Admin banner content settings
  • Consent Banner WP Admin consent types settings

常见问题:

Do I need to configure anything in GTM to enable consent mode?

Once your Consent Banner is deployed the Consent Mode will be provided and will work with Google Tags (GA4 and Google Ads) out-of-the-box. For other integrations you need to review your GTM tags to ensure they have correct consent checks settings. You can use Consent Overview screen to quickly review and update tags. Read more here

Is it compatible with direct GA4 or Google Ads integration?

Yes, both direct usage of Google Tags and Google Tag Manager are supported. The plugin sends standard Consent Mode v2 parameters that will be respected by those tags.

Is it compatible with Facebook Pixel?

It can be compatible if Facebook Pixel is implemented via Google Tag Manager and correct consent settings are applied in GTM workspace. Read more here

How to inject GTM tracking snippet?

By default this plugin push consent information to the GTM DataLayer object that can be installed by other plugins or directly in the theme code. It can also embed GTM snippets, go to settings to configure it.

更新日志:

1.0.2 1.0.1 1.0.0