Consent Mode Banner

Descripcion

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

  • Simple Setup: Integrate with Google Tag and Google Tag Manager with minimal configuration.
  • Customizable Consent Banner: Tailor the appearance and message of your consent banner.
  • User Preference Control: Allows users to specify their consent for different types of cookies (e.g., necessary, analytics, marketing).
  • Compliance with Privacy Laws: Helps in making your website compliant with GDPR, CCPA, and other privacy regulations.
  • Lightweight and Fast: Designed to be non-intrusive and does not affect your website’s load time.

Documentation

Banner UI

This plugin relies on open-source, lightweight Consent Banner UI available on GitHub:

tagconcierge/consent-banner-js

Screenshots

Installacion

  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

FAQ

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

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.

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

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.

Reviews

6 març 2025 1 reply
As the other reviewers mentions there are styling issues. Considering this banner is the first impression users will get on my website, styling is critical. Support responses are very slow. It appears the developer is occupied on other things. This is very disappointing because it makes me think I won’t get support for the developers other plugin for Google Tag Manager which seems pretty robust. NOTE: The 5-star review is the developer, not a plugin user.
23 setembre 2024
Hello, I chose this plugin because it is presented as light and the performance of my site is important. But I changed my mind and uninstalled it for another plugin. Clearly, it would have been better if: 1) the title of the box would not be in an H2 tag: it breaks the html structure of my pages and it’s negative for my SEO. And SEO is super important! 2) JS and CSS files would only be hosted on the site server and not on the external server. 3) bonus: it would be possible to change the color of the buttons, which are currently red. I could give it a higher rating if these points were corrected! Thanks
Read all 3 reviews

Contributors & Developers

“Consent Mode Banner” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Consent Mode Banner” into your language.

Interested in development?

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

Changelog

1.0.2

  • Fixes GTM snippets loading
  • Changes namespace due to naming collision
  • Upgrades Consent Banner JS library to 1.2.3

1.0.1

  • Fix javascript loading ordering

1.0.0

  • Initial version