
Cookie Dough – GDPR Cookie Consent Banner & Google Consent Mode v2
v3.0.0Ludwig You · 2022年10月31日 上架
GDPR / RGPD cookie banner that truly blocks trackers until consent. CNIL-ready, Google Consent Mode v2, consent log, site scan. No account.
- 正在使用
- 400+
- 评分
- 5.0 / 5
- 累计下载
- 7,362
- 最近更新
- 2026年11月26日
贡献者
截图








Cookie Dough is a cookie consent banner for WordPress that does what the law asks: nothing is loaded before your visitor says yes.
Most cookie notices only show a banner. Cookie Dough holds back Google Analytics, Meta Pixel, YouTube, Google Maps and the other trackers of your site until the visitor agrees, lets them refuse in one click, remembers the choice and keeps the proof. It follows the GDPR (RGPD), the ePrivacy directive and the CNIL guidelines on cookies, and it sends Google Consent Mode v2 signals out of the box.
Everything runs inside your WordPress: no account, no cloud service, no pageview limit, no data sent to us.
Why site owners pick Cookie Dough
- Real blocking before consent. Scripts, iframes (YouTube, Vimeo, Google Maps…) and remote style sheets (Google Fonts…) of your declared services are neutralised on the server and switched on in the browser only after consent.
- Works with page caches and CDNs. The page is the same for every visitor, so WP Rocket, LiteSpeed Cache, W3 Total Cache, Cloudflare and the others keep working.
- Refusing is as easy as accepting. “Refuse all” sits next to “Accept all”, on the first screen, with the same look – the CNIL rule most banners still miss.
- Choices purpose by purpose, service by service. Nothing is pre-ticked. Visitors can change their mind at any time from a floating button or a link in your footer.
- Google Consent Mode v2 built in.
ad_storage,ad_user_data,ad_personalizationandanalytics_storagestart as “denied” and follow the choice, before any Google tag runs. Acdc_consent_updatedataLayer event is there for Google Tag Manager. - A compliance score, not guesswork. The Compliance screen checks your configuration against the rules and fixes most points in one click.
- Site scan. Cookie Dough reads your active plugins and your home page, finds the trackers and declares them for you. 28 popular services are recognised and blocked automatically; 250+ more are in the catalogue.
- Consent register. Each choice is recorded with its date, a random consent ID and the version of your cookie list – your proof of consent. No IP address is stored.
- Guided setup in about two minutes, then four ready-made designs with a live preview: card, bar or window, your colours, your texts.
- Placeholders for blocked content. A blocked video or map is replaced by a tidy box that lets the visitor accept that service only.
- Accessible. Keyboard navigation, focus management, screen reader labels and a contrast check. The banner lives in a shadow root, so your theme cannot break it.
- Light. One small deferred script, one style sheet, no jQuery, no external request.
What is checked for you
- Trackers found by the scan that are not declared (and therefore not blocked)
- Services declared as “strictly necessary” that usually need consent
- Refuse button as visible as the accept button
- A way to withdraw consent on every page
- How long the choice is remembered (6 months recommended by the CNIL, 13 months maximum)
- Link to your privacy policy
- Proof of consent, and a new consent when your list of services changes
- Google Consent Mode v2 when Google tags are used
- Readable colours (WCAG AA contrast)
Services recognised out of the box
Google Analytics (GA4), Google Tag Manager, Google Ads, Google AdSense, Google Maps, Google Fonts, Google reCAPTCHA, YouTube, Vimeo, Dailymotion, Meta Pixel (Facebook), Facebook social plugins, Instagram, X (Twitter), LinkedIn Insight Tag, TikTok Pixel, Pinterest Tag, Microsoft Clarity, Hotjar, Matomo, Jetpack Stats, HubSpot, Mailchimp, Crisp, Calendly, Stripe, WooCommerce and WordPress itself. Any other service can be added by hand: give it a name, a purpose and a piece of its address, or paste its code.
Made for
- Site owners who want a cookie banner that is lawful without reading a legal treaty
- WooCommerce shops that run Google Ads, Meta Pixel or analytics and need Consent Mode v2
- Agencies and freelancers who want the same clean setup on every client site
- Developers:
type="text/plain"tags withdata-cdc-category, a small JavaScript API (CookieDough.hasConsent(),CookieDough.on( 'consent' )), a PHP helper, filters and actions everywhere, and the WP Consent API
Shortcodes
[cookie_dough_preferences]– a “Cookie preferences” link for your footer[cookie_dough_declaration]– the table of your services and cookies, for your privacy or cookie policy[cookie_dough_consent]– the consent ID and the date of the visitor’s choice
Cookie Dough Pro
Everything that makes the banner lawful is free and stays free. The optional Cookie Dough Pro add-on goes further:
- Whole-site scan (up to 30 pages), weekly, with an e-mail alert when a new tracker appears, and 45+ more recognised services
- Consent register kept up to 36 months, search by consent ID, CSV export
- Consent statistics day by day
- 8 premium designs, your own images, custom CSS, banner without the credit line
- Google Consent Mode v2 advanced mode, Meta Pixel, Microsoft UET and Clarity consent signals
- Regional rules (banner only in the EU, EEA, UK and Switzerland), one choice shared across sub-domains
- Cookie policy page generator, import / export of the configuration
- AI assistants (MCP): let Claude or another assistant audit and fix a site
En français
Cookie Dough est un bandeau cookies RGPD pour WordPress conforme aux recommandations de la CNIL : aucun traceur n’est chargé avant le consentement, « Tout refuser » est aussi visible que « Tout accepter », le choix se fait finalité par finalité et la preuve du consentement est conservée. Google Consent Mode v2, scan du site, registre des consentements et score de conformité sont inclus, sans compte ni service externe. L’extension est traduite en français.
Privacy and transparency
- The plugin makes no request to any third-party server.
- The consent register stays in your own database and holds no IP address and no name.
- The banner shows a small credit line, “Cookie Dough · powered by webdeclic”, with a link to webdeclic.com.
- Cookie Dough helps you comply; it is not legal advice. You remain responsible for your privacy policy and for the services you use.
Other plugins by Webdeclic
Webdeclic is a French web agency based in Paris. We also make:
- QuickWebP – Compress / Optimize Images & Convert WebP
- Mentions Légales par Webdeclic
- Universal Honey Pot
- Clean My WP
⭐️ If Cookie Dough helps you, a 5-star review on WordPress.org helps us a lot.