Universal Consent Mode
Universal WordPress plugin for Google Consent Mode v2 with multilingual support (EN, RU, UA, PL) and GDPR/PKE compliance for EU/EEA.
by Your Name · github.com/andrzejsaw/consent_mode_wordpress · website
★ 0stars
11release downloads
0forks
Install
The author publishes release zips, so WP-CLI can install straight from GitHub:
wp plugin install https://github.com/andrzejsaw/consent_mode_wordpress/releases/download/v1.1.6/consent-mode.zipFrom the readme
Universal Consent Mode (GCMv2)
Universal WordPress plugin for Google Consent Mode v2 – multilingual (EN, RU, UA, PL), stateless (No-DB), GDPR and Polish PKE 2024 compliant.
🇵🇱 Dokumentacja w języku polskim: READMEPL.md
Features
- 3-button consent model: Essential Only / Marketing / Accept All + Customize modal
- Native for granular per-category preferences (no polyfill required)
- No-DB Architecture: consent stored in consentpreferences cookie only – no SQL tables
- Google Consent Mode v2: gtag('consent', 'default'|'update', ...) with all 7 parameters
- Google Tag Manager: optional auto-loading, validated GTM ID, noscript fallback
- Script Guard: blocks tracking scripts until consent, dual-attribute (data-consent-category + data-rcm-consent), auto-reactivation
- 4 Languages: EN, RU, UA, PL – auto-detected from WordPress locale (WPML/Polylang compatible)
- Admin Language Manager: tabbed UI to edit all banner/modal texts per language
- Revocation button: permanent floating cookie button on every page (GDPR Art. 7 compliant)
- Geolocation: Cloudflare headers / WP timezone fallback – strict mode for EU/EEA users
- Accessibility: ARIA roles, native focus trap, :focus-visible outli
Read the full README on GitHub →