Get In Touch

Cookie Consent on WordPress: GDPR Banners Done Right (Without Killing UX)

Scroll

Home » Blog » Business » Cookie Consent on WordPress: GDPR Banners Done Right (Without Killing UX)

Google stopped treating cookie consent as optional homework. If you run Google Ads or Google Analytics and any of your traffic comes from the EU or UK, Google now requires a working consent signal before it will fully trust your conversion data — and a broken WordPress cookie consent setup can quietly throttle your ad account’s reporting without ever throwing an error.

This isn’t a “add a banner and forget it” job anymore. It’s a specific technical setup — Consent Mode v2, script blocking, and a plugin that actually talks to Google Ads — layered on top of the legal requirement to ask before you track.

A WordPress cookie consent banner is a plugin-driven notice that asks visitors for permission before non-essential cookies and tracking scripts run. It blocks scripts like Google Ads and Analytics until a visitor accepts, records that choice for compliance, and — since 2024 — passes Google Consent Mode v2 signals so EU ad campaigns keep reporting accurately.

Why Is Google Consent Mode v2 Suddenly a WordPress Problem?

Consent Mode v2 became mandatory because Google will no longer accept ad and analytics signals from EEA visitors without a certified consent signal attached. As of March 2024, Google requires any site running Google Ads or Analytics that serves EEA users to send four consent parameters — ad_storage, analytics_storage, ad_user_data, and ad_personalization — through a Google-certified Consent Management Platform (CMP).

Miss this and you don’t get a dashboard warning. You get quieter symptoms instead: shrinking remarketing audiences, gaps in conversion data, and Google Ads modeling your EU performance instead of measuring it — a budget problem before it’s ever flagged as a compliance one.

Most general-purpose GDPR plugins built before 2024 don’t send these four signals correctly out of the box — the single biggest reason to re-check a cookie plugin that’s “already installed and working.”

WordPress cookie consent banner icon with GDPR toggle switches and EU flag

Does Every WordPress Site Legally Need a Cookie Banner?

Yes, if your site sets any non-essential cookie — analytics, ads, embedded video, live chat, most page builders’ tracking scripts — and you have any visitors in the EU, UK, or a growing list of US states with their own privacy laws. Pass: you have a banner that blocks non-essential scripts until the visitor actively chooses, and that choice is logged and re-askable.

A cookie consent banner is a different document from a privacy policy — our privacy policy guide covers the legal disclosure text you’re required to publish, while this article covers the technical tool that actually enforces what that policy promises. You need both; neither one substitutes for the other.

If you’re also working through broader compliance obligations — accessibility, ADA, the European Accessibility Act — that’s a separate but related project worth scoping at the same time; see our guide on website accessibility compliance for how the two workstreams typically get bundled into one remediation pass.

How Does a GDPR Cookie Banner Actually Work Behind the Scenes?

A compliant banner doesn’t just display a message — it has to physically stop tracking scripts from firing until a visitor makes a choice, then release only the categories that were approved. Get the sequencing wrong and the banner is legal theater: scripts already ran before anyone clicked anything.

The flow every properly configured plugin follows:

  1. Visitor lands on the page. No non-essential script has fired yet — only strictly necessary ones (session cookies, security, load balancing).
  2. Banner renders and blocks scripts. The plugin scans the page and holds Google Analytics, Google Ads remarketing tags, Meta Pixel, chat widgets, and embeds behind a script-blocking layer.
  3. Visitor accepts, rejects, or customizes. A compliant banner presents accept and reject with equal visual weight — not a bright “Accept” button next to a grey text link for “Reject.”
  4. Consent signal fires. The plugin sends the Consent Mode v2 parameters to Google Tag Manager or gtag.js, and only the approved script categories are unblocked and loaded.
  5. Choice is logged and re-offerable. The plugin stores a timestamped consent record and gives visitors a way to change their mind later, usually via a footer link.

Skip step 2 and you’ve built a banner that’s cosmetic — the tracking already ran in the background regardless of what the visitor clicks.

Which WordPress Cookie Consent Plugin Should You Use?

Three plugins cover the vast majority of WordPress cookie consent setups we see in client audits: Complianz, CookieYes, and Borlabs Cookie. They differ less on “does it work” and more on pricing model, platform reach, and how deep the free tier actually goes.

PluginConsent Mode v2 supportPlatformStarting priceFree tier
ComplianzBuilt-in, native Google integrationWordPress and Shopify onlyFree (unlimited pageviews); Personal $59/yr for 1 siteYes — full-featured, no watermark
CookieYesBuilt-in, native Google integrationWordPress, Shopify, Wix, Webflow, custom HTMLFree tier available; paid plans from $10/mo per domainYes — capped features
Borlabs CookieBuilt-in via GTM templateWordPress onlyPersonal license from €49/yr for 1 siteNo — paid only

(Prices checked against each vendor’s pricing page in July 2026 — pricing changes frequently, so confirm current tiers before committing.)

Complianz is the strongest default for a WordPress-only site: free with no pageview cap, a mature Consent Mode v2 integration, and a free tier that’s genuinely usable rather than a stripped trial. CookieYes fits better across multiple platforms — an agency running WordPress, Shopify, and Webflow clients under one CMP contract, where per-domain pricing at scale can undercut separate WordPress-only tools. Borlabs Cookie suits a client who already trusts a paid, single-purpose tool with no free-tier upsell prompts.

Wordpress cookie consent plugin comparison: Complianz vs CookieYes vs Borlabs Cookie

How Do You Set Up Consent Mode v2 on WordPress?

The setup pattern is nearly identical across all three plugins — only the menu labels change.

  1. Install the plugin and run its scan. Each of the three crawls your site and auto-detects cookies and third-party scripts already firing.
  2. Categorize every detected script. Sort each into necessary, functional, analytics, or marketing — the plugin pre-labels most correctly, but review Google Ads/Analytics tags manually.
  3. Enable the Consent Mode v2 integration. This is usually a single toggle in the plugin’s Google/GTM settings tab — it wires up the four required parameters automatically.
  4. Connect Google Tag Manager, if you use it. Import the plugin’s provided GTM template so tags respect consent state instead of firing unconditionally.
  5. Set equal-weight accept/reject buttons. Adjust the banner design so “Reject” isn’t visually demoted — this is both a UX and legal requirement in the EU.
  6. Test in an incognito window. Reject everything, then check your browser’s network tab — Google Ads and Analytics requests should not fire until you accept.
  7. Publish and monitor Google Ads for 1–2 weeks. Watch for the “limited by consent” audience-size warnings in Google Ads disappearing or shrinking, confirming signals are flowing.

Does a Cookie Banner Actually Hurt Conversions?

Yes, poorly designed banners measurably hurt conversions — but a well-designed, compliant one costs far less than agencies assume. Banner UX has a real, measurable effect on both consent rates and on-site conversion, and the two aren’t the same metric: a banner can win high accept rates while still tanking the sale that happens after it.

Design choices with the biggest measured impact:

  • Equal-weight buttons matter more than banner placement. A visually identical “Accept” and “Reject” button avoids the dark-pattern designs regulators explicitly flag — the EDPB’s Guidelines 03/2022 on deceptive design patterns call out giving “Accept” more visual prominence than “Reject” as a practice that can invalidate consent.
  • Center-screen modals interrupt more but decide faster than bottom bars — test both on your own traffic rather than assuming one wins universally.
  • A full-page blocking overlay costs more conversions than the cookie law itself does. Keep the rest of the page interactive; block only the tracking scripts, not the visitor’s ability to browse or buy.
  • Never bury “Reject” behind a second click while “Accept” is one click away — this exact asymmetry is what France’s CNIL fined Google €150 million and Facebook €60 million for in January 2022: accepting cookies took one click while refusing them took several.

If your broader concern is conversion rate rather than just the banner, our guide on practical ways to increase conversion rates on your website covers the rest of the funnel beyond this one component.

GDPR cookie banner consent flow diagram for wordpress cookie consent setup

Getting Consent Mode v2 wrong doesn’t just risk a fine — it quietly breaks the Google Ads reporting you’re paying for. If your cookie banner setup, script blocking, or plugin choice needs a second pair of eyes, our custom WordPress development team can audit and fix the implementation — we’ve handled this across 500+ WordPress projects and hold a 5.0 rating on Clutch from 41 client reviews.

Frequently Asked Questions

Is a cookie consent banner legally required on every WordPress site?

Only if the site sets non-essential cookies and has EU, UK, or applicable-US-state visitors — which covers nearly every site running analytics, ads, or embedded video. Sites with zero tracking scripts and zero non-essential cookies technically don’t need one, though this is rare in practice for a business site.

What’s the difference between a cookie banner and a privacy policy?

A privacy policy is a legal disclosure document describing what data you collect and why. A cookie consent banner is the technical tool that actually blocks tracking scripts and records a visitor’s choice. Publishing a policy without an enforcing banner leaves the gap between what you promise and what your site actually does.

Will a free WordPress cookie plugin support Google Consent Mode v2?

Yes — Complianz’s free tier and CookieYes’s free tier both include Consent Mode v2 integration, so cost isn’t the barrier for most small sites. The paid tiers mainly add multi-site management, more granular cookie categorization, and priority support rather than gating the core consent signal itself.

Does rejecting cookies mean Google Analytics stops working entirely?

Not entirely — Consent Mode v2 keeps sending “cookieless pings” even after rejection, which Google uses to model aggregate behavior without identifying individuals. Your reported numbers will show a gap between raw traffic and tracked sessions, but you won’t lose all visibility the way you would without any consent signal.

Can a cookie banner slow down my WordPress site?

Slightly, if implemented poorly — a heavy banner script loaded synchronously can add measurable delay before the page becomes interactive. Well-built plugins like Complianz and CookieYes load asynchronously and add only a small script footprint; if you notice a real slowdown, check for a plugin conflict rather than assuming the banner itself is the cause.

Do I need a different cookie consent setup for US visitors than EU visitors?

Often yes, in effect — several US states (starting with California, and expanding) require an opt-out mechanism rather than the EU’s stricter opt-in-before-tracking model. Most major WordPress consent plugins let you run region-based rules so EU visitors see a blocking opt-in banner while US visitors see a lighter opt-out notice.

Alex Founder Web Help Agency

Alex

Founder

a moment ago

Looking for web developers?

Ready to chat? Simply click the button and select your preferred call time.

Let's discuss it chat-bubble