Cookie Dough Compliance and Consent for GDPR is a GDPR cookie consent extension. Style your…
Cookie Dough Compliance and Consent for GDPR allows you to add your site cookie consent form through a user-friendly interface.
Unlike many other plugins, Cookie Dough Compliance and Consent for GDPR allows you to actually disable scripts if the user refuses cookies.
When you install the plugin the modal is directly deployed on your site. You can customize it in the back office.
⭐️ If you like this plugin, please give us a 5 star rating on WordPress.org. This will motivate us to develop new features and write other plugins. ⭐️
Does Cookie Dough really block cookies before consent?
Yes. The scripts, iframes and style sheets of every service you declare (outside “strictly necessary”) are neutralised in the HTML before the page leaves your server. The banner script switches them on in the browser, only for what the visitor accepted. Refused or withdrawn services stay off, and their known cookies are deleted when consent is withdrawn.
Is Cookie Dough compliant with the GDPR / RGPD and the CNIL guidelines?
It is built around them: prior consent, refusal as easy as acceptance, no pre-ticked box, choice per purpose, easy withdrawal, a 6-month default before asking again, proof of consent, a new consent when the list of services changes. The Compliance screen tells you what is left to do on your site. A plugin cannot make a site compliant on its own: your privacy policy and the services you choose matter too.
Does it support Google Consent Mode v2?
Yes, natively and for free. The default state (“denied”) is sent at the very top of each page, and updated as soon as the visitor chooses. ad_storage, ad_user_data, ad_personalization, analytics_storage, functionality_storage and personalization_storage are covered. Google tags stay blocked until consent (basic mode); the advanced mode is part of Cookie Dough Pro.
Does it work with WP Rocket, LiteSpeed Cache, Cloudflare or another page cache?
Yes. The HTML is identical for every visitor and the decision is made in the browser, so cached pages stay correct. Cookie Dough also tells optimisation plugins not to delay its own script.
Does it work with Google Tag Manager?
Yes. Declare Google Tag Manager as a service (the scan does it for you), keep Consent Mode on, and use the cdc_consent_update dataLayer event as a trigger for the tags that do not follow Consent Mode. Switch on “Always ask for every purpose” in the Services tab so that visitors can answer for the tags loaded by GTM.
Does it block YouTube videos and Google Maps?
Yes. Their iframes are held back and replaced by a placeholder that explains why, with a button to accept that service only.
Do I need an account or an API key? Is there a pageview limit?
No. There is no account, no licence key, no cloud dashboard and no limit on traffic or on the number of consents in the free plugin.
Cookie Dough vs Complianz: which one should I choose?
Complianz is a very complete solution with a long legal wizard and documents for many regions of the world. Cookie Dough takes a shorter road: a two-minute setup, a compliance score with one-click fixes, a banner that is blocking by default, and Consent Mode v2, the consent register and the site scan included in the free plugin. If you mainly need a lawful, good-looking banner for a European audience, Cookie Dough is the lighter choice; compare both on your own site.
Cookie Dough vs CookieYes, Cookiebot, Axeptio or Didomi?
Those are hosted consent platforms: the banner is managed from an online account and plans usually depend on your traffic or number of pages. Cookie Dough is a pure WordPress plugin: your configuration and your consent register stay in your own database, no script is loaded from a third-party server, and there is nothing to pay per pageview.
Cookie Dough vs Real Cookie Banner, Borlabs Cookie or GDPR Cookie Compliance?
They are WordPress plugins like Cookie Dough, each with its own approach. What sets Cookie Dough apart: refusal on the first screen with the same look as acceptance by default, a compliance score that names what is wrong, a cache-friendly blocker with no setting to tick, a banner isolated from your theme, and a free version without limits on services or consents.
Is it an alternative to Tarteaucitron?
Yes, for WordPress. You get the same idea (services switched on one by one after consent) with a visual setup, a site scan, a consent register and Consent Mode v2, without editing code.
How do visitors change or withdraw their consent?
From the floating button shown on every page, or from any link you create with the [cookie_dough_preferences] shortcode (for example in your footer). Withdrawing is one click, as the law requires.
How do I add a service that is not in the list?
In Cookie Dough > Services, click “Add a custom service”, give it a name and a purpose, then either type a piece of its address (for example example.com/tracker.js) so that Cookie Dough recognises its tags, or paste its code so that Cookie Dough prints it only after consent.
Where is the proof of consent stored, and for how long?
In a table of your own database: date, random consent ID, choices, version of the cookie list and page. No IP address, no user agent, no name. Lines are kept 30 days in the free plugin (up to 36 months with Cookie Dough Pro). Visitors find their consent ID at the bottom of the preferences window.
I am updating from version 2. Will I lose my settings?
No. Your texts, colours, floating button and services are converted the first time version 3 loads, and the old settings stay in the database as a backup. Visitors are asked once more, because version 3 no longer pre-ticks anything.
Is the banner accessible?
Yes: real buttons and links, keyboard navigation, focus kept inside the open window, labels for screen readers, reduced-motion support and a contrast check on your colours.
Can I translate or change the texts?
Every text of the banner can be changed in Cookie Dough > Texts. Leave a field empty to use the default text, which follows the language of your site. English and French are included.
Can I remove the “powered by webdeclic” line?
The credit line is part of the free plugin; the Cookie Dough Pro add-on has a switch to remove it.
Is it compatible with WooCommerce, Elementor, Divi and other builders?
Yes. The banner is not shown inside page-builder editors, WooCommerce cookies are declared as strictly necessary, and the banner is isolated from theme styles.
Does it respect Global Privacy Control (GPC)?
Yes, optionally: visitors whose browser sends the signal are treated as having refused until they decide otherwise.
I am a developer. How do I make my own script wait for consent?
Write it as <script type="text/plain" data-cdc-category="analytics">…</script> (categories: preferences, analytics, marketing), or use CookieDough.on( 'consent', callback ) and CookieDough.hasConsent( 'marketing' ) in JavaScript. Add data-cdc-ignore to a tag that must never be blocked.