Plain Cookie Consent
Plain Cookie Consent is a no-frills GDPR + ePrivacy consent banner for WordPress. It ships a single banner, Google Consent Mode v2 defaults, a server-side audit log with pseudonymised subject hashing, a DSAR lookup…
Use com cautela
Plain Cookie Consent works, but test it on a staging site before relying on it in 2026. Was last updated 2 months ago, and scores 60/100 on our health check.
- Testado com as últimas WordPress (7.1)
- Base de usuários pequenas (<10 instalações ativas)
- Muito poucos comentários até agora
Como ele se acumula?
Lado a lado em instalações, atualizações, avaliações e suporteDownloads diários
Os picos de download geralmente seguem uma nova versão — cada site que atualiza automaticamente é um download.
Rankings
Where Plain Cookie Consent stands todayWordPress.org Classificações de pesquisa
Posição ao vivo na pesquisa de plugins, top 100| Palavra chave | Posição |
|---|---|
| Modo de consentimento | >100 |
| consentimento do cookie | >100 |
| ePrivacy | #72 |
| GDPR | >100 |
| privacy | >100 |
About Plain Cookie Consent
From the official readme · v0.7.11Descrição
Plain Cookie Consent is a no-frills GDPR + ePrivacy consent banner for WordPress. It ships a single banner, Google Consent Mode v2 defaults, a server-side audit log with pseudonymised subject hashing, a DSAR lookup helper, and constant-gated Meta Pixel / Microsoft Clarity / LinkedIn Insight Tag helpers — all under GPL v2, with no upsells and no external telemetry. Uninstalling keeps the consent log and settings by default (GDPR Art. 7.1 evidence), with an explicit opt-in to permanently delete via Settings → Data on uninstall.
The plugin is designed to support a GDPR/ePrivacy-compliant consent setup. Final compliance depends on the site owner’s configuration and linked privacy policy.
Core compliance features
- Google Consent Mode v2 defaults injected at
wp_headpriority 1, before any tag manager or gtag snippet. - Early inline consent replay with a revision gate — consent recorded before a policy revision bump is not replayed; the banner re-prompts instead.
- Server-side audit log (
wp_plain_consent_log) with a privacy-preserving SHA-256 subject hash over a daily-rotating salt, and a 730-day default retention purge (filterable via constant). - Consent revision system with a “Force re-consent for all users now” admin action and strict rollback if the audit insert fails.
- Two-step choice pattern: the first layer offers Accept All and Show Options; the preferences screen (one click away) offers equal-weight Accept All, Reject All, and Save Preferences buttons.
- Server-mirror consent cookie via a cache-safe
GET /mirror-nonceendpoint (Cache-Control: no-store), so full-page caching does not break nonce validation. - Geo targeting: the consent-required region set is the EEA (EU-27 plus Iceland, Liechtenstein, Norway) plus the United Kingdom. Detection uses the Cloudflare
CF-IPCountryheader when present, with a fail-safe default: if the country cannot be determined, the visitor is treated as in-scope. - CSV/JSON streamed export of the consent log, plus a Data on uninstall shortcut and contextual deactivation reminder when log rows exist.
- DSAR lookup admin tool: recompute a visitor’s subject hash from IP + User-Agent and list matching consent-log entries (GDPR Art. 15 support).
Integrações
- Meta Pixel: define
PLAIN_COOKIE_CONSENT_FACEBOOK_PIXEL_IDinwp-config.php. - Microsoft Clarity: define
PLAIN_COOKIE_CONSENT_CLARITY_PROJECT_IDinwp-config.php. - LinkedIn Insight Tag: define
PLAIN_COOKIE_CONSENT_LINKEDIN_PARTNER_IDinwp-config.php. - Public
window.plainCookieConsentJavaScript API (getCategories,hasConsent,onChange,onGrant,onRevoke) for site-specific vendors. - Cookie cleanup on revoke with curated defaults for LinkedIn, TikTok, Hotjar, Clarity, Yandex Metrica, and Snapchat (
plain_cookie_consent_autoclear_cookiesfilter). localStorage/sessionStoragecleanup on a real granted-to-revoked transition (plain_cookie_consent_clear_storage_keysfilter).
Accessibility
- The banner and preferences modal are attested against WCAG 2.1 AA.
- axe-core smoke tests (
wcag2a,wcag2aa,wcag21aatags) run on every push and pull request via GitHub Actions. - Site-level accessibility remains the operator’s responsibility.
Idiomas
Translation catalogs ship for nine languages: English, German, Russian, Spanish, French, Italian, Dutch, Polish, and Portuguese. Banner language auto-resolution covers all nine shipped languages, including regional variants (for example de-AT or pt-BR), with any other locale falling back to English. Any shipped catalog can also be selected explicitly, and translators can override strings the standard WordPress gettext way.
Not included
- TCF v2.2 (programmatic publishers).
- Consent analytics dashboards beyond the read-only Consent Health widget.
- Multi-domain consent sync.
- Banner A/B testing.
- Script auto-blocking beyond Consent Mode and the documented vendor helpers.
Serviços externos
This plugin has no telemetry and never sends data to its own or the author’s servers. Consent records stay in your own WordPress database.
The plugin can optionally load three well-known third-party marketing/analytics tags on your behalf. Each one is OFF by default and only ever loads when BOTH of the following are true:
- You explicitly enable it by defining the matching constant in
wp-config.php, and - The visitor grants the relevant consent category in the banner.
If you do not define these constants, the plugin makes no third-party requests at all. Once enabled, the tag still loads only after the visitor grants the relevant consent category in the banner.
Meta (Facebook) Pixel
Optional advertising measurement. Enabled by defining PLAIN_COOKIE_CONSENT_FACEBOOK_PIXEL_ID. When a visitor grants advertising consent, the plugin loads https://connect.facebook.net/en_US/fbevents.js and initialises the Pixel with your Pixel ID. From then on, on each page view, Meta receives standard Pixel data: your Pixel ID, the page URL and referrer, the visitor’s IP address and browser/user-agent, and a PageView event. Nothing is sent before advertising consent.
Provider: Meta Platforms, Inc. Privacy Policy: https://www.facebook.com/privacy/policy/ — Business Tools Terms: https://www.facebook.com/legal/terms/businesstools
Microsoft Clarity
Optional session analytics (heatmaps and session insights). Enabled by defining PLAIN_COOKIE_CONSENT_CLARITY_PROJECT_ID. When a visitor grants analytics consent, the plugin loads https://www.clarity.ms/tag/<your-project-id>. From then on, on each page view, Microsoft receives Clarity analytics data: your project ID, the page URL, the visitor’s IP address and browser/user-agent, and interaction events such as clicks and scrolls. Nothing is sent before analytics consent.
Provider: Microsoft Corporation. Privacy Statement: https://www.microsoft.com/privacy/privacystatement — Clarity Terms of Service: https://clarity.microsoft.com/terms
LinkedIn Insight Tag
Optional advertising measurement on LinkedIn. Enabled by defining PLAIN_COOKIE_CONSENT_LINKEDIN_PARTNER_ID. When a visitor grants advertising consent, the plugin loads https://snap.licdn.com/li.lms-analytics/insight.min.js with your Partner ID. From then on, on each page view, LinkedIn receives Insight Tag data: your Partner ID, the page URL, and the visitor’s IP address and browser/user-agent. Nothing is sent before advertising consent.
Provider: LinkedIn Corporation. Privacy Policy: https://www.linkedin.com/legal/privacy-policy — LinkedIn Ads Agreement: https://www.linkedin.com/legal/ads-agreement
Renúncia
This plugin is provided “as is”, free of charge, for evaluation and use at
the site operator’s own discretion and risk.
- The site operator alone chooses which plugins to install and run on their
site, and bears full responsibility for that choice and its consequences. - The plugin is offered for informational and evaluation purposes. The
authors make no guarantees and no promises of any kind — including
correctness, completeness, fitness for a particular purpose, or
uninterrupted operation. - Software may contain errors. Any errors, malfunctions, data loss, or
legal consequences arising from the use of this plugin are the sole
responsibility of the site operator. - Nothing in this plugin or its documentation constitutes legal advice.
The plugin is designed to support a GDPR/ePrivacy-oriented consent setup,
but it does not and cannot guarantee legal compliance of any specific
site — final compliance always depends on the operator’s configuration,
vendors, and policies. - The warranty disclaimer and limitation of liability are governed by
sections 11 and 12 of the GNU GPL v2 license that ships with this plugin.
Instalação
- Upload the
plain-cookie-consentfolder to/wp-content/plugins/. - Activate the plugin via the Plugins menu.
- Visit Settings → Cookie Consent to configure the Privacy Policy URL, policy version, and optional data-controller name.
- For Meta Pixel / Microsoft Clarity / LinkedIn Insight: define the relevant constant in
wp-config.php.
Log de Changes
Restores the banner's English texts, which 0.7.10 could show in the site's language. No data, settings or schema changes.
0.7.11
- Fixed: the banner’s English texts are the plugin’s own English again. In 0.7.10, on sites running in another language, they could take the site language, which showed where the banner falls back to English (page languages other than the nine bundled ones).
0.7.10
- Fixed: theme and plugin strings translated with WPML String Translation (and other text domains WordPress cannot reload by itself) no longer stay in English on every page. Building the banner texts no longer switches the site language.
0.7.9
- Fixed: Diagnostics no longer flags missing plugin bootstrap markers on sites where the Pro add-on replaces the consent script with its own runtime.
0.7.8
- Changed: the phone lift above a Joinchat button is now the CSS custom property
--pcc-mobile-bottom-offset(default 84px), so a theme can adjust it. Sites that do not set it look exactly as before. - Fixed: Diagnostics no longer logs an “Array to string conversion” warning when the site sends a response header more than once.
0.7.7
- Changed: on phones the consent banner is more compact. Its consent buttons sit side by side at equal width; order, colors and wording are unchanged.
- Fixed: on phones the consent banner no longer covers a Joinchat (WhatsApp) floating button. When Joinchat is on the page, the banner sits just above it.
0.7.6
- Changed: a consent banner left unanswered now auto-shows again on the next page view in the same browsing session, instead of only once per session. The banner keeps appearing until the visitor makes a choice; visitors with a recorded choice are unaffected.
Capturas de tela
Para desenvolvedores
Este é o seu plugin? Mostre os números.
Adicione um crachá ao vivo ao seu site, Documentos ou Readme do GitHub. Ele é atualizado por conta própria - nenhuma conta necessária.
Best Plain Cookie Consent alternatives
Todos os plugins do modo de consentimento →FAQ
Plain Cookie Consent: quick answers
Respostas diretas, extraídas de dados ao vivo WordPress.org.
Fonte: WordPress.org
Is Plain Cookie Consent free?
Yes. Plain Cookie Consent is free to download and use from the official WordPress.org plugin directory.
Is Plain Cookie Consent safe to use in 2026?
Plain Cookie Consent works, but test it on a staging site before relying on it in 2026. Was last updated 2 months ago, and scores 60/100 on our health check.
How many websites use Plain Cookie Consent?
Plain Cookie Consent is active on <10 WordPress websites and has been downloaded 820 times since it launched in June 2026. It was downloaded 111 times in the last 30 days.
Does Plain Cookie Consent work with WordPress 7.1?
Yes. The developer has tested Plain Cookie Consent up to WordPress 7.1.5, the latest release. It requires WordPress 6.0 or newer.
What PHP version does Plain Cookie Consent need?
Plain Cookie Consent requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Plain Cookie Consent last updated?
The latest version, 0.7.11, was released on October 16, 2026 (2 months ago).
Who makes Plain Cookie Consent?
Plain Cookie Consent is developed and maintained by Ontario.
What are the best alternatives to Plain Cookie Consent?
The most popular alternatives to Plain Cookie Consent are tarteaucitron.io (10K+ installs), Cookie Choices (for EU Cook… (9K+ installs) and GAinWP Google Analytics Int… (7K+ installs).
Alimentado por PageForge
Um modelo e uma planilha. Uma página real para cada pesquisa.
PageForge Transforma cada linha de um CSV em uma página WordPress com seu próprio título, URL, SEO campos e esquema, construído no layout que você já desenhou. Gratuito em WordPress.org.
- CSV e XLSX, mais Google Sheets em Profissional e Empresarial
- Seu próprio título, URL, SEO campos e esquema para cada página
- Funciona com o editor de blocos, Elementor, Divi e Avada
- Gratuito em WordPress.org, sem cartão de crédito





