Darwin Cookie Consent
Cookie banner for Google Consent Mode v2, GDPR & FADP. Includes five built-in languages, privacy-safe metrics, and appearance controls.
Escolha sólida
Darwin Cookie Consent is a solid plugin choice in 2026, with a few things worth checking first. It runs on 60+ sites and was last updated 2 months ago, and scores 64/100 on our health check.
- Testado com as últimas WordPress (7.1)
- Base de usuários pequenas (mais de 60 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 Darwin Cookie Consent stands todayWordPress.org Classificações de pesquisa
Posição ao vivo na pesquisa de plugins, top 100| Palavra chave | Posição |
|---|---|
| consentimento | >100 |
| Modo de consentimento | #87 |
| cookie banner | >100 |
| cookies | >100 |
| GDPR | >100 |
Adoção da versão
Compartilhamento de sites ativos por lançamento.
About Darwin Cookie Consent
From the official readme · v1.3.5Descrição
Darwin Cookie Consent shows visitors a clear cookie banner, lets them choose what to accept, and sends those choices to your analytics and marketing tools through Google Consent Mode v2. Analytics and advertising cookies stay denied until the visitor gives consent.
The plugin includes admin controls for legal links, appearance, integrations, localized frontend messaging, and privacy-safe reporting.
Key Features
- GDPR cookie consent banner and settings modal
- Google Suporte ao modo de consentimento v2
- Editable localized content for English, French, German, Spanish, and Italian
- Automatic content selection by WordPress site locale
- WordPress editor support for the banner message and modal intro
- Configurable legal page links for privacy, terms, and cookie policy
- Integration controls for Google Tag Manager, GA4, Matomo, Facebook Pixel, LinkedIn Insight Tag, and Pardot
- Separate Ad Personalization consent handling
- Accept Essential Only banner button lets visitors decline analytics, marketing, and ad personalization in one click
- Required Strictly Necessary Cookies row always enabled in the popup
- Optional × close icon on the banner — show or hide via the Appearance settings
- Optional Accept Essential Only button — hide it to show only Accept All and Configure on the banner
- Aggregate admin metrics for recent banner views and accepts, deduplicated per browser session
- Resettable metrics counters with no personal data stored in the metrics table
Consent Categories
- Strictly Necessary Cookies: always required and always enabled
- Analytics: used for analytics tools such as Google Analytics and Matomo
- Marketing: used for marketing-related tracking integrations
- Ad Personalization: handled separately from general marketing consent
Privacy and Data Handling
- Localized content is stored in WordPress options
- Consent metrics store aggregate daily counts only — no personal identifiers are stored in the metrics table
- The consent log table stores a SHA-256 hash of the visitor IP address and the browser user agent alongside the encoded consent payload; no plain-text IP addresses are stored
- Consent Mode signals are updated based on saved user choices
- No data is transmitted to the plugin author or any third-party service by this plugin itself
Serviços externos
This plugin can load scripts from third-party services when those integrations are configured in the plugin settings. No external requests are made unless the corresponding integration is enabled by the site administrator.
Google Tag Manager
When a GTM container ID is provided, this plugin loads the Google Tag Manager script from googletagmanager.com. Google Consent Mode defaults are applied before GTM loads so that no tracking occurs without user consent.
- Data sent: page URL and GTM container ID as part of the script request.
- When: on every frontend page load, only if a GTM container ID is configured.
- Service provider: Google LLC — Terms of Service | Privacy Policy
Google Analytics (GA4)
When a GA4 measurement ID is provided, this plugin loads the gtag.js script from googletagmanager.com on every page, following Google Consent Mode v2 (advanced mode). Consent defaults (analytics_storage, ad_storage, ad_user_data, and ad_personalization set to denied) are applied before gtag.js loads, so no analytics or advertising cookies are set until the visitor grants consent. Until then, Google receives cookieless measurement pings only.
- Data sent: page URL, measurement ID, and cookieless measurement pings (without analytics cookies) before consent; full GA4 measurement data after measurement consent is granted.
- When: on every frontend page load, only if a GA4 ID is configured.
- Service provider: Google LLC — Terms of Service | Privacy Policy
Google Fonts
When the default plugin font is selected, this plugin loads the Roboto typeface from Google Fonts. The stylesheet is fetched from fonts.googleapis.com and the font files are served from fonts.gstatic.com. A preconnect resource hint is also added for both domains.
- Data sent: browser and referrer information as part of the font request (standard browser HTTP headers).
- When: on every frontend page load when the default font option is active.
- Service provider: Google LLC — Terms of Service | Privacy Policy
Facebook Pixel
When a Facebook Pixel ID is provided, this plugin loads the Facebook Pixel script from connect.facebook.net. The script only fires after marketing consent is granted.
- Data sent: page URL and pixel ID as part of the script request.
- When: on every frontend page load after marketing consent is granted, only if a Pixel ID is configured.
- Service provider: Meta Platforms, Inc. — Terms of Service | Privacy Policy
LinkedIn Insight Tag
When a LinkedIn Partner ID is provided, this plugin loads the LinkedIn Insight Tag from snap.licdn.com. The script only fires after marketing consent is granted.
- Data sent: page URL and partner ID as part of the script request.
- When: on every frontend page load after marketing consent is granted, only if a Partner ID is configured.
- Service provider: LinkedIn Corporation — Terms of Service | Privacy Policy
Salesforce Pardot
When Pardot account and campaign IDs are provided, this plugin loads the Pardot tracking script from pi.pardot.com. The script only fires after marketing consent is granted.
- Data sent: page URL and account/campaign IDs as part of the script request.
- When: on every frontend page load after marketing consent is granted, only if Pardot IDs are configured.
- Service provider: Salesforce, Inc. — Terms of Service | Privacy Policy
Matomo
When a Matomo URL and site ID are provided, this plugin loads the Matomo tracking script from the configured Matomo instance. The script only fires after measurement consent is granted.
- Data sent: page URL and site ID to the configured Matomo instance.
- When: on every frontend page load after measurement consent is granted, only if Matomo is configured.
- Service provider: InnoCraft Ltd — Terms of Service | Privacy Policy
Política de privacidade
This plugin stores data locally in your WordPress database only. No data is transmitted to the plugin author or any third-party service by this plugin itself.
Data stored locally
- Consent log table (
{prefix}darwin_gdpr_consent_log): When a visitor saves their consent choices, the plugin records a SHA-256 hash of the visitor’s IP address, the browser user-agent string, and the encoded consent payload. No plain-text IP addresses are stored. Entries are automatically deleted after the configured retention period (default: 180 days). - Aggregate metrics table (
{prefix}darwin_gdpr_metrics): Stores daily totals of banner views and consent accepts as integer counts. No visitor identifiers of any kind are stored in this table. - Plugin options: Localized content strings and appearance settings are stored in the WordPress options table. These contain no visitor data.
Third-party service data
When optional integrations are configured by the site administrator, scripts from third-party services are loaded in the visitor’s browser. Those services may collect data as described in their respective privacy policies, which are linked in the External Services section above. No data is sent to those services until the visitor grants the relevant consent category.
Site administrators should ensure their own privacy policy reflects the data practices described above, particularly the storage of hashed IP addresses and user-agent strings in the consent log.
Instalação
- Upload the plugin files to the
/wp-content/plugins/darwin-cookie-consentdirectory, or install the plugin through the WordPress plugin screen directly. - Activate the plugin through the
Pluginsscreen in WordPress. - Open
Darwin Cookie Consentin the WordPress admin menu. - Configure legal links, integrations, content, and appearance settings.
- Review the frontend banner and modal on your site after saving changes.
Log de Changes
Adds Italian support, an Accept Essential Only button, and Google Consent Mode v2 loading for GA4. The banner now always shows above other page elements. The close icon is now hidden by default; enable Show Close Button in Appearance → Layout to keep it.
1.3.5
- Added support for Italian language in the localized content settings
- Included default Italian translations for the cookie banner and settings modal
- Updated admin UI to include Italian in the content editor tabs
- Updated automatic locale detection to correctly handle Italian site settings
- Added an Accept Essential Only button to the consent banner, letting visitors grant necessary cookies while declining analytics, marketing, ad personalization, and media in one click
- Added Appearance settings to control the Accept Essential Only button’s background, hover background, text, and hover text colors
- Added Show Accept Essential Only Button option to the Appearance settings so the banner can show only Accept All and Configure; enabled by default
- Google Analytics (GA4) now loads on every page following the Google Consent Mode v2 standard (advanced mode), so Google Tag Assistant and GA4 detect the tag correctly; analytics cookies remain denied until the visitor grants consent
- The banner and settings modal now open in the browser top layer, so they always display above theme headers, sticky elements, chat widgets, and other overlays, even ones using the maximum z-index
- Changed the Show Close Button default to off to match the new banner design; sites that never saved the Appearance settings will no longer show the × icon until it is enabled
- Integrated the consent popup UI with the latest design
- Redesigned the plugin documentation and changelog pages with a new visual UI
1.3.4
- Added Show Close Button option to the Appearance settings to control whether the × close icon is displayed in the top-right corner of the banner; enabled by default
- Fixed banner view metric being incremented on every page load for the same visitor by using sessionStorage to deduplicate counts — a single browser session now records at most one banner_view regardless of how many pages the visitor navigates through before consenting
1.3.3
- Applied sanitize_text_field() before json_decode() on cookie and POST data in the consent controller so raw input is sanitized at the point of reading, not deferred
- Applied esc_url_raw() directly at the point of reading $_POST URL fields in general settings instead of deferring sanitization to the validation block
- Wrapped the inline CSS string with wp_strip_all_tags() before passing to wp_add_inline_style() to prevent any HTML tag injection into the style block
- Added load_plugin_textdomain() call so bundled .mo translation files are loaded at runtime
- Added Plugin URI, Requires at least, Requires PHP, and Tested up to headers to the plugin file
- Updated Google Fonts External Services entry in readme.txt to document the fonts.gstatic.com domain used for font file delivery
- Added is-dismissible class to admin error notices for consistent WordPress UX
1.3.2
- Removed CSS rules that suppressed third-party admin notices and hid the WordPress admin footer
- Scoped global textarea CSS rule to plugin admin pages only to prevent unintended style leakage
- Removed commented-out HTML blocks from all admin templates (PHP inside HTML comments was still executing)
- Removed redundant global $wpdb declaration from plugin root file scope
- Added Privacy Policy section to readme.txt documenting local data storage
- Removed donate link from readme.txt (pointed to company homepage rather than a donation page)
- Added docs/, .idea/, .claude/ to .distignore to exclude development-only directories from distribution
- Cleaned up commented-out CSS properties in admin stylesheet
- Eliminated redundant double sanitization on URL fields in general settings
- Replaced current_time(‘Y-m-d’) with wp_date(‘Y-m-d’) in metrics increment so write and read paths use the same timezone function
- Moved metrics table install check from init to admin_init so upgrade.php is never loaded on frontend page requests
- Added version guard to maybe_sync_defaults() so legacy content migration runs only on install or plugin upgrade, not on every request
- Set content sync version flag during plugin activation so the first post-activation request does not redundantly re-run migration
- Moved consent log fallback cleanup from init to admin_init to prevent synchronous DB deletes on frontend page loads
- Changed URL fields (privacy, terms, cookie policy, Matomo) in general settings to sanitize with esc_url_raw() at point of input rather than sanitize_text_field(), which can corrupt percent-encoded characters
- Removed redundant sanitize_text_field() calls from settings-general.php validation block; $posted values are already sanitized at assignment
- Added darwin_gdpr_content_synced_version to uninstall cleanup
1.3.1
- Fixed nonce verification to occur before any $_POST data is read on all settings pages
- Replaced phpcs:ignore sanitization suppression with explicit map_deep sanitization on content input
- Removed redundant wp_strip_all_tags() wrapper from inline CSS; CSS values are already escaped individually at source with esc_attr() and integer casts
- Removed suppress_other_notices() which was incorrectly suppressing all WordPress and third-party admin notices
- Wrapped plugin bootstrap in plugins_loaded hook to avoid non-prefixed global variable
- Fixed JSON consent payload handling in both AJAX and cookie reads to use wp_unslash() only; normalize_consent_payload() validates all values
- Removed orphaned legacy banner.js file (referenced wrong WPGDPR namespace and non-existent AJAX actions)
- Removed orphaned reopen-popup-icon.php template that was no longer included anywhere
- Replaced deprecated current_time(timestamp) with time() in lifecycle and metrics controller
- Replaced get_file_data() disk reads in admin pages and frontend modal with DARWIN_GDPR_PLUGIN_VERSION constant
- Removed no-op plugin_row_meta filter callback
- Fixed duplicate condition in ad_personalization consent normalization
- Added missing options to uninstall cleanup
- Added esc_attr() to all dynamic class attribute output
1.3.0
- Added support for Spanish language in the localized content settings
- Included default Spanish translations for the cookie banner and settings modal
- Updated admin UI to include Spanish in the content editor tabs
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 Darwin Cookie Consent alternatives
All consent plugins →FAQ
Darwin Cookie Consent: quick answers
Respostas diretas, extraídas de dados ao vivo WordPress.org.
Fonte: WordPress.org
Is Darwin Cookie Consent free?
Yes. Darwin Cookie Consent is free to download and use from the official WordPress.org plugin directory.
Is Darwin Cookie Consent safe to use in 2026?
Darwin Cookie Consent is a solid plugin choice in 2026, with a few things worth checking first. It runs on 60+ sites and was last updated 2 months ago, and scores 64/100 on our health check.
How many websites use Darwin Cookie Consent?
Darwin Cookie Consent is active on 60+ WordPress websites and has been downloaded 765 times since it launched in June 2026. It was downloaded 195 times in the last 30 days.
Does Darwin Cookie Consent work with WordPress 7.1?
Yes. The developer has tested Darwin Cookie Consent up to WordPress 7.1.5, the latest release. It requires WordPress 5.3 or newer.
What PHP version does Darwin Cookie Consent need?
Darwin 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 Darwin Cookie Consent last updated?
The latest version, 1.3.5, was released on October 16, 2026 (2 months ago).
Who makes Darwin Cookie Consent?
Darwin Cookie Consent is developed and maintained by Darwin Digital.
What are the best alternatives to Darwin Cookie Consent?
The most popular alternatives to Darwin Cookie Consent are CookieAdmin (400K+ installs), WP Consent API (300K+ installs) and TermsFeed AutoTerms: Privac… (70K+ 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
