WordPress plugin intelligence profile

VGDev Cookie Banner for Consent Mode v2

GDPR cookie consent banner with Google Consent Mode v2, GTM & GA4 integration. Lightweight, self-hosted, multilingual, fully customizable.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 6.9
Current version1.0.0
WordPress coverageTested up to WordPress 6.9
Minimum stackWP 5.8 · PHP 7.4
Directory statusactive
Last directory update3 May 20266mo ago
Active installationsNewAdoption metric — not a quality score
WordPress.org ratingNo WordPress.org ratings yet
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records VGDev Cookie Banner for Consent Mode v2 version 1.0.0 as active, updated 6mo ago and tested up to WordPress 6.9.

Overview

About this plugin

VGDev Cookie Banner for Consent Mode v2 is a lightweight, self-hosted GDPR cookie consent solution that integrates natively with Google Consent Mode v2, Google Tag Manager (GTM) and Google Analytics 4 (GA4).

All consent signals start as denied and are updated in real time based on the visitor’s choices — fully compliant with Google’s requirements for EU markets.

Key Features

  • ✅ Google Consent Mode v2 — all 7 consent signals managed automatically
  • ✅ Google Tag Manager (GTM) — head snippet + body noscript injected automatically
  • ✅ Google Analytics 4 (GA4) — standalone gtag.js support (when GTM is not used)
  • ✅ GDPR Compliant — consent defaults to denied before any tracking occurs
  • ✅ Multilingual Privacy Policy — set a different privacy policy URL per language
  • ✅ 29 built-in languages — auto-detected via WPML, Polylang or WordPress locale
  • ✅ Performance Mode — lazy loads the banner after user interaction (boosts PageSpeed score)
  • ✅ Force Consent — block the page until the user makes a choice
  • ✅ Fully customizable — colors, layout, position, floating button, and more
  • ✅ Self-hosted — no external consent management platform needed
  • ✅ Lightweight — no jQuery dependency for the front-end script

Google Consent Mode v2 Signals

The plugin manages all required consent signals:

  • ad_storage
  • ad_user_data
  • ad_personalization
  • analytics_storage
  • functionality_storage
  • personalization_storage
  • security_storage

Consent Categories

  • Necessary → security_storage
  • Functionality → functionality_storage, personalization_storage, security_storage
  • Analytics → analytics_storage, security_storage
  • Marketing → ad_storage, ad_user_data, ad_personalization, personalization_storage

Multilingual Support

Works out of the box with WPML, Polylang and WordPress locale. You can also set per-language privacy policy URLs so visitors always see the privacy page in their own language.

Performance Mode

Enable lazy loading to load the cookie banner only after the first user interaction (scroll, click, mouse move or touch). Since Google PageSpeed Insights does not simulate interactions, the banner will not appear in the performance audit — significantly improving your Core Web Vitals score.

Built-in Languages

English, Greek, German, French, Spanish, Italian, Portuguese, Dutch, Polish, Czech, Slovak, Hungarian, Romanian, Bulgarian, Croatian, Serbian, Slovenian, Estonian, Latvian, Lithuanian, Finnish, Swedish, Danish, Norwegian, Russian, Ukrainian, Chinese, Japanese, Arabic.

External Services

This plugin connects to external services provided by Google when the site administrator configures a Google Tag Manager (GTM) Container ID or a Google Analytics 4 (GA4) Measurement ID in the plugin settings.

Google Tag Manager (GTM)

When a GTM Container ID is entered in the plugin settings, the plugin loads the Google Tag Manager JavaScript snippet from Google’s servers. This happens on every front-end page load.

  • What it does: Loads the GTM container script so that tags configured inside GTM (analytics, advertising, etc.) can fire according to consent status.
  • What data is sent: The GTM Container ID and standard browser information (IP address, user agent, page URL, referrer) are sent to Google’s servers when the script is loaded. Additional data may be collected depending on the tags configured within GTM by the site administrator.
  • When it is sent: On every front-end page load, after the consent defaults have been set.
  • Service provider: Google LLC
  • Terms of Service: https://www.google.com/analytics/terms/tag-manager/
  • Privacy Policy: https://policies.google.com/privacy

Google Analytics 4 (GA4) via gtag.js

js script from Google’s servers.

  • What it does: Loads the GA4 measurement script to collect website analytics data (page views, events, etc.) according to consent status.
  • What data is sent: The GA4 Measurement ID and standard browser information (IP address, user agent, page URL, referrer) are sent to Google’s servers. Analytics data (page views, session data, events) is only collected according to the visitor’s consent choices.
  • When it is sent: On every front-end page load, after the consent defaults have been set. Actual analytics data collection depends on user consent.
  • Service provider: Google LLC
  • Terms of Service: https://marketingplatform.google.com/about/analytics/terms/us/
  • Privacy Policy: https://policies.google.com/privacy

Note: No data is sent to any external service by this plugin unless the site administrator explicitly configures a GTM Container ID or GA4 Measurement ID. The cookie consent preferences are stored locally in the visitor’s browser and are not transmitted to any external server.

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • consent mode
  • cookie banner
  • cookie consent
  • analytics
  • gdpr
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 6.9

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 6.9.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to6.9
Minimum requirementsWordPress 5.8 · PHP 7.4
Update activity3 May 20266mo ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.