Table of Contents
Cookie Consent for WordPress: GDPR Rules Explained

Cookie consent WordPress setup comes down to one rule: if your site serves visitors in the EU, analytics, advertising and other non-essential cookies may load only after the visitor actively agrees, and refusing must be as easy as accepting. A consent plugin shows the banner, blocks scripts until a choice is made, records the choice and, if you use Google tools, passes it to Google through Consent Mode v2.
WordPress itself sets very few cookies for normal visitors. The cookies come from what you add: Google Analytics, the Meta pixel, embedded YouTube videos, chat widgets and ad tags. Below we cover what the rules require, what a compliant banner looks like, how Consent Mode works and which plugins we use, with November 2026 prices. This is general information, not legal advice.
Table of Contents
What GDPR and ePrivacy Actually Require
Two laws work together. Article 5(3) of the EU ePrivacy Directive requires consent before storing or reading information on a visitor’s device, unless it is strictly necessary for the service they asked for. GDPR defines what valid consent means: freely given, specific, informed and unambiguous, given by a clear affirmative action, and as easy to withdraw as to give.
| Cookie type | Example | Consent needed? |
|---|---|---|
| Strictly necessary | Shopping cart, login session, security, the consent cookie itself | No |
| Preferences | Language or currency choice | Usually yes, unless the visitor explicitly set it |
| Statistics | Google Analytics, Hotjar | Yes in most EU countries |
| Marketing | Meta pixel, Google Ads, TikTok pixel | Yes |
| Embedded third-party content | YouTube, Google Maps, social feeds | Yes, if they set cookies |
The EDPB cookie banner taskforce report (January 2023) also rejected “legitimate interest” as a basis for placing cookies: if it is not strictly necessary, it needs consent.
What a Compliant Banner Shows: 8-Point Checklist

- Reject on the first layer, next to Accept. Most EU authorities in the EDPB taskforce treated a first layer with no Reject option as an infringement.
- Equal weight. Reject must not be a faint link while Accept is a bright button.
- No pre-ticked boxes in the settings layer.
- Clear purposes: statistics, marketing, preferences, in plain words, with a link to the cookie policy.
- Nothing loads before consent: no Analytics hit, no pixel, no YouTube cookie until the visitor agrees.
- Scrolling or continuing to browse is not consent.
- Easy withdrawal: a floating icon or a footer link that reopens the settings.
- Proof of consent: a log of what was accepted, when, and which banner version was shown.
Point 5 is where most WordPress sites fail. The banner looks right, but the Google Analytics code in the theme header fires before anyone clicks anything. A cookie consent WordPress plugin only helps if every tag goes through it.
Google Consent Mode v2: Required for EEA Traffic
If you use Google Ads, Google Analytics 4 or Floodlight with visitors from the European Economic Area, Google’s EU user consent policy requires you to collect consent and pass it to Google. Without consent signals you lose measurement, ad personalization and remarketing for that traffic.
Consent Mode is the mechanism. Version 2, introduced in November 2023, sends four signals: ad_storage, analytics_storage, ad_user_data and ad_personalization. The last two are new and are the ones most older banners miss.

- Basic mode: Google tags do not load at all until consent is given. Simple and conservative, but you lose all data from visitors who decline.
- Advanced mode: tags load with consent set to denied and send cookieless pings; Google then models some of the missing conversions. More data, but discuss it with whoever handles your privacy compliance.
Most cookie consent WordPress plugins from Google CMP partners send these signals automatically. If you built your own banner, you have to send the default and update commands yourself.
Cookie Consent WordPress Plugins Compared (2026 Prices)
| Plugin | Free option | Paid (as of November 2026) | Notes |
|---|---|---|---|
| Complianz | Yes, on wordpress.org | $59/year 1 site; $179 for 5; $399 for 25 | Runs inside WordPress, cookie scan, Consent Mode, policy generator |
| CookieYes | Yes, up to 5,000 pageviews/month | $10, $25 or $55 per month per domain | Cloud dashboard, consent log, 2 months free on annual billing |
| Cookiebot, Usercentrics and others | Varies | Pricing by pages or sessions | Common on larger, multi-platform sites |
Check the current figures on the Complianz pricing page and CookieYes pricing page before buying. For a typical small business site with under 100,000 monthly pageviews, both cost roughly $60–120 a year. We usually pick Complianz for sites that should stay self-contained and CookieYes when a client wants a hosted dashboard.
Cookie Consent WordPress Setup in 6 Steps
- Inventory your tags. List every script: Analytics, Tag Manager, pixels, chat, maps, video embeds, A/B testing tools.
- Remove hard-coded scripts from the theme header and route them through Google Tag Manager or the plugin’s script blocker.
- Install and scan. Run the plugin’s cookie scan, then check categories by hand; scanners miss cookies set after interaction.
- Configure the banner: Accept, Reject and Settings on the first layer, equal styling, your languages.
- Turn on Consent Mode v2 and confirm in Tag Assistant that the default state is denied and updates after a click.
- Test as a visitor. Open a private window, click Reject, and check the browser’s storage and network tabs: no _ga cookie, no pixel requests.
Re-run the scan after every new plugin or embed. Our website redesign checklist includes consent as a launch item, and the technical SEO checklist explains how to keep scripts from slowing the site.
7 Common Cookie Consent WordPress Mistakes
- Tags hard-coded in the theme or added by another plugin (SEO plugins, page builders, WooCommerce marketing add-ons) that bypass the banner.
- Google Tag Manager loads everything because triggers ignore consent state.
- YouTube and Google Maps embeds set cookies on page load; use the plugin’s placeholder or the youtube-nocookie domain.
- Banner only in English on a site that also serves visitors in other languages.
- Caching serves an old banner after configuration changes; clear the page cache and CDN.
- Cookie policy out of date, listing tools you removed and missing ones you added.
- No re-consent after adding new purposes, such as a new ad platform.
Most of these are invisible to the site owner because the banner looks fine. The only reliable check is a test in a clean browser: reject, browse three pages, then inspect cookies and network requests. We do this on every launch, and it takes about fifteen minutes.
Enforcement: What Regulators Are Fining

Cookie rules are actively enforced. In September 2025 France’s CNIL fined Google €325 million and Shein €150 million, citing among other things cookies placed without the user’s consent. Small businesses do not get fines of that size, but complaints from visitors and competitors do happen, and fixing a banner is cheap.
Do Sites Outside the EU Need Cookie Consent?
If you target EU visitors, ship to the EU or run Google Ads in the EEA, yes. In Georgia, the Law on Personal Data Protection (in force since 1 March 2024) has no cookie-specific article, but its consent rules apply whenever cookies identify a person, and many Georgian businesses sell to European customers anyway. The UK has its own almost identical rules; most US states focus on opt-out of selling or sharing data. A good cookie consent WordPress plugin can show different banners by region, which keeps one site compliant in several markets.
Pair consent with secure online payments and a fast theme and you remove two common reasons visitors leave. Read WordPress vs Wix vs Shopify if you are still choosing a platform.
Our web development team sets up cookie consent WordPress configurations with Consent Mode v2, tested in a real browser. Send us your project with your site URL and the tools you use, and we will tell you what needs fixing.
Does WordPress need a cookie banner?
WordPress core sets few cookies for visitors, but almost every site adds analytics, pixels or embeds that do. If any non-essential cookie loads for EU visitors, you need consent before it does.
Is a cookie banner required by GDPR?
The consent requirement for cookies comes from the ePrivacy Directive, while GDPR defines what valid consent is. Together they require opt-in consent for non-essential cookies.
Does the Reject button have to be on the first layer?
Most EU data protection authorities in the EDPB cookie banner taskforce considered a banner with Accept but no Reject on the first layer an infringement. Make Reject as visible and easy as Accept.
What is Google Consent Mode v2?
It is Google’s way of receiving visitors’ consent choices. Version 2 adds the ad_user_data and ad_personalization signals and is needed to keep measurement and remarketing for EEA traffic.
What is the best free cookie consent WordPress plugin?
Complianz and CookieYes both have free versions. CookieYes free covers up to 5,000 pageviews a month; Complianz free runs inside WordPress without a pageview limit but has fewer features than premium.
Can I use Google Analytics without cookie consent?
For EU visitors, not with standard cookies. You can use Consent Mode so Google receives cookieless signals when consent is denied, or choose a cookieless analytics tool.