A cookie banner is the consent interface that lets visitors accept or refuse cookies and trackers before your site uses them. In 2026, a compliant banner needs three things: non-essential cookies stay blocked until the visitor allows them, "Reject" is as easy as "Accept," and the choice actually controls what loads. Regulators and plaintiffs' lawyers have stopped asking whether you have a banner—they're testing whether it works. In September 2025 alone, France's CNIL fined SHEIN €150 million and Google €325 million over consent interfaces that didn't do what they claimed.
Quick definition: a cookie banner is the visible front end of a consent management platform (CMP). The banner collects the visitor's choice; the CMP enforces it—blocking scripts until consent, logging the proof, and re-applying the choice on every page. A banner without enforcement behind it is decoration, and in 2026, decoration gets sued.
This guide covers what the law actually requires on both sides of the Atlantic, the mistakes that turn banners into liabilities, and the design practices that keep consent rates—and conversion—healthy.
What Is a Cookie Banner and Why Do Websites Need One?
A cookie banner is the notice that appears on a visitor's first pageview explaining that the site uses cookies and similar technologies (pixels, local storage, SDKs), what they're for, and what choices the visitor has. Behind the banner, a CMP maps every script on the site into categories—strictly necessary, preferences, analytics, marketing—and holds each one back or releases it according to the visitor's choice.
Websites need one for two converging reasons:
- Opt-in law (EU model). The ePrivacy Directive requires prior consent before storing or reading anything non-essential on a user's device, and the GDPR sets the bar for what valid consent means: freely given, specific, informed, unambiguous. Only strictly necessary cookies—cart, login, security, consent storage—are exempt.
- Opt-out law + litigation (US model). No US state requires a "banner" by name, but as of 2026 nineteen states enforce comprehensive privacy laws that require opt-outs from targeted advertising and "sales" of personal data—and California treats the browser-level Global Privacy Control (GPC) signal as a binding opt-out. Meanwhile, a wave of California Invasion of Privacy Act (CIPA) lawsuits targets sites whose trackers fire regardless of what the visitor chose.
There's also a commercial forcing function: since March 2024, Google requires consent signals via Consent Mode v2—delivered through a Google-certified CMP—for ad personalization and measurement in the EEA and UK. No valid consent signal, no personalized ads and degraded campaign data. Compliance and ad performance now run through the same banner.
What Laws Govern Cookie Banners in 2026?
| Regime | Model | What it means for your banner |
|---|---|---|
| GDPR + ePrivacy Directive (EU/EEA, similar in UK) | Opt-in | Block all non-essential cookies until consent; reject must equal accept; granular purposes; withdrawal any time |
| CCPA/CPRA (California) + 18 other state laws | Opt-out | Offer "Do Not Sell/Share" opt-outs; honor GPC signals; no dark patterns; some states require opt-in for sensitive data |
| CIPA (California, via litigation) | Private lawsuits | If your banner offers choices, they must actually work—"Reject All" that doesn't reject is the core allegation |
| Google EU User Consent Policy | Commercial requirement | Certified CMP + Consent Mode v2 to serve personalized ads in EEA/UK since March 2024 |
Details worth knowing on each:
The EU rules are converging, not disappearing. The proposed ePrivacy Regulation was formally withdrawn in early 2025 after years of deadlock. In its place, the Digital Omnibus package (proposed November 2025, in trilogue negotiations as of mid-2026) would fold cookie-consent rules into the GDPR, mandate a single-click reject, ban re-prompting for six months after a refusal, and require sites to honor machine-readable browser consent signals. None of this is law yet—the ePrivacy Directive still applies—but it tells you where the puck is going: fewer, simpler, more honest banners.
US state laws keep multiplying. Tennessee (July 2025), Minnesota (July 2025), Maryland (October 2025), and Indiana, Kentucky, and Rhode Island (January 2026) all came online in the last year alone. The practical common denominators: a working opt-out from targeted advertising, honoring GPC where required, and no dark patterns in the consent flow. Our guide to building a CCPA-compliant cookie banner covers the opt-out mechanics step by step.
CIPA turned banner bugs into lawsuits. More than 1,000 CIPA suits were filed in 2025, many alleging that a site's cookie banner promised control ("Reject All," toggles) while third-party trackers kept firing—plaintiffs frame the trackers as illegal wiretaps or "trap and trace" devices. Media companies, retailers, and DTC brands have all been hit; the Los Angeles Times agreed to a $3.85 million settlement over website and app tracking. Court outcomes are mixed and a legislative fix (SB 690) has been pending, but the demand letters are real today. If California traffic matters to you, read our cookie banner CIPA audit guide.
What Must a Compliant Cookie Banner Include?
For EU-model (opt-in) compliance, your banner needs all of the following:
- Prior blocking. No analytics, advertising, or social pixels fire before opt-in. This is the requirement most "compliant-looking" banners fail in practice.
- Equal choices. "Reject" available at the first layer, as prominent as "Accept." No pre-ticked boxes, no consent hidden behind "settings" while accept glows in brand color.
- Granular purposes. Visitors can accept analytics but refuse marketing. Purposes described in plain language, with the third parties involved disclosed.
- Easy withdrawal. A persistent re-entry point (footer link or floating icon) that reopens preferences; withdrawing must be as easy as consenting was.
- Consent records. Timestamped logs of each choice—your proof if a regulator or plaintiff asks.
- Strictly necessary transparency. Essential cookies load immediately but are still disclosed, typically as an always-on category.
For US-model (opt-out) compliance, add: a clear "Do Not Sell or Share My Personal Information" path, GPC signal handling, and—in states like Maryland—hard limits on sensitive-data processing regardless of consent.
If you operate internationally, don't ship one banner worldwide. A geo-targeted CMP applies opt-in behavior to EU visitors and opt-out behavior to US visitors, which keeps you compliant in Berlin without needlessly suppressing consent rates in Boston.
Do the Same Rules Apply Outside the EU and US?
The EU and US models cover most eCommerce traffic, but three other regimes come up constantly for cross-border stores:
- United Kingdom. Post-Brexit, the UK runs its own copies of the rules—UK GDPR plus PECR—and the practical requirements mirror the EU model: opt-in consent before non-essential cookies, reject as easy as accept. If your banner is EU-compliant, applying the same behavior to UK visitors is the safe default.
- Canada (Quebec). Quebec's Law 25 requires that technologies which identify, locate, or profile users be off by default—effectively an opt-in standard for tracking, which surprised many US-focused brands used to opt-out thinking.
- Brazil. The LGPD requires a legal basis for cookies that process personal data, and the national regulator's cookie guidance pushes strongly toward EU-style banners: prior consent for non-essential cookies, plain-language notice, and easy refusal.
The pattern across all of them: the world is converging on the EU's honesty requirements—real choices, honored faithfully—even where the consent model differs. Building your banner to the strictest market you serve, then relaxing per region via geo-targeting, is cheaper than maintaining per-country logic from scratch.
How to Implement a Cookie Banner (Step by Step)
If you're setting up—or re-doing—a banner on an eCommerce store, this is the order that avoids rework:
- Scan before you configure. Run a cookie scan against your live site to inventory every cookie, pixel, and tracker actually present—not the list you think you have. This inventory drives everything downstream.
- Categorize honestly. Sort each cookie into strictly necessary, preferences, analytics, or marketing. Resist the temptation to stuff borderline tags into "necessary"—that's the exact mislabeling regulators test. When in doubt, it needs consent.
- Wire up blocking, not just display. Integrate the CMP so categorized tags are actually held until consent: via your tag manager's consent triggers, Shopify's Customer Privacy API, or script-level blocking. This step is where most broken banners went wrong—the banner shipped, the blocking didn't.
- Configure geo-rules. Opt-in behavior for EU/UK (and Quebec), opt-out plus GPC handling for US states. Set the default for unknown regions to whichever model dominates your traffic risk.
- Enable Consent Mode v2 and consent logging. Pass the four Google consent signals so EEA/UK ad measurement keeps working, and confirm every consent event is timestamped and stored—that log is your evidence.
- Test all five failure modes. Run the fifteen-minute audit at the end of this guide (fresh-session, reject, withdrawal, GPC, inventory) before launch, then re-run it after every significant site change.
Most CMPs—including PieEye—automate steps 1, 2, and 5, but steps 3 and 6 are where you should spend your own attention: enforcement and verification are what separate compliance from decoration.
What Happens When a Banner Doesn't Actually Work?
2025 was the year "fake compliance" became the enforcement theme on both continents:
- SHEIN — €150 million (CNIL, September 2025). Advertising cookies fired as soon as users landed, before any choice; cookie information was incomplete; and when users clicked "Refuse All" or withdrew consent, new cookies were still set and existing ones still read.
- Google — €325 million (CNIL, September 2025). Ads placed inside Gmail without consent, and an account-creation flow where refusing personalized-ad cookies took six clicks versus two to accept—consent that isn't as easy to refuse as to give isn't freely given.
- California enforcement. The state's three 2025 privacy actions—Healthline ($1.55M, the largest CCPA settlement to date), Honda ($632.5K), and Todd Snyder ($345K)—all centered on consent and opt-out mechanisms that were broken, unequal, or demanded unnecessary identity verification. In Todd Snyder's case, the CPPA found the opt-out simply didn't work for 40 days—and nobody noticed.
- CIPA litigation. The complaint template writes itself: screenshot of the banner promising choice, network log showing trackers firing anyway.
The common thread: every one of these organizations had a cookie banner. What they lacked was enforcement and testing behind it. "We installed a CMP" is not a defense if the CMP was misconfigured—and regulators have shown they'll check the network traffic, not the screenshot.
It's also worth understanding the economics on the plaintiff side, because they explain why mid-market stores get targeted. A CIPA demand letter costs a law firm almost nothing to send: the "evidence" is your own public website, captured with standard browser tools in minutes. Firms scan thousands of sites for the banner-says-reject-but-trackers-fire pattern and send letters in bulk, betting that settling for five figures beats litigating for six. You don't need to be a household name to receive one—you need California visitors and a misconfigured banner. The defense is identical to the compliance work you already owe elsewhere: make the banner's behavior match its promises, and keep the consent logs that prove it.
Cookie Banner Design: Best Practices That Don't Kill Conversion
Compliance sets the floor; design determines what happens above it. The goals are honest consent and a healthy opt-in rate—and they're less opposed than most teams assume.
Placement and timing. A bottom banner or centered modal on first pageview. Don't block the whole page on mobile (some regulators consider forced interaction a dark pattern; users consider it a reason to bounce). Never delay the banner until after your tags have fired—sequence is the whole point.
Copy. Plain language beats legalese: say what you use cookies for in one sentence, in your brand voice. "We use cookies to keep your cart working and to show you relevant offers" outperforms a paragraph of regulatory boilerplate on both trust and click-through. A few patterns that work for stores:
- Straightforward: "We use cookies for essential site functions, and—with your OK—for analytics and personalized offers."
- Value-forward: "Cookies help us remember your cart and show you products you'll actually like. You choose which ones we use."
- Minimal: "Cookies: essential ones always, optional ones only if you say yes."
Whatever the voice, the description must stay accurate—friendly copy over deceptive behavior is still deception.
Buttons. Three actions: Accept all, Reject all, Preferences. Equal visual weight on accept/reject. It feels like leaving consent on the table; in practice, users who would only accept because rejecting was hidden are exactly the users regulators are watching for—and their "consent" is void anyway.
The second layer. Keep the preferences panel simple: one toggle per purpose, short descriptions, a save button. Cookie-by-cookie tables belong in the cookie policy, not the consent flow.
Test it like a landing page. Banner design measurably moves consent rates, and you can optimize legally—wording, layout, and color are fair game; deception is not. Our guide to A/B testing cookie banners under privacy constraints covers compliant experiment design in detail.
Measure what refusal costs you—accurately. With Google Consent Mode v2, refused-consent visits still send cookieless pings that let Google model conversions, recovering a meaningful slice of the measurement you'd otherwise lose. That's the honest answer to "won't a real Reject button hurt our data?"—somewhat, and modeling narrows the gap, and the alternative is the SHEIN fine.
The Five Most Common Cookie Banner Mistakes
- The banner shows, but tags fire anyway. Misconfigured CMPs that display a banner without blocking anything are the single most common failure—and the core of both the CNIL fines and the CIPA suits. Test with a fresh browser profile and the network tab open, or run a free cookie scan that reports exactly what fires before and after consent.
- Unequal buttons. Accept in bold brand color, reject buried two layers deep. This voids consent in the EU and reads as a dark pattern to US regulators.
- Ignoring GPC. California treats the Global Privacy Control signal as a binding opt-out; a banner that ignores it while asking "accept our cookies?" is out of compliance before the visitor clicks anything.
- No way back in. Consent must be withdrawable, which requires a persistent preferences link. If the visitor's only option is clearing their cookies, you're non-compliant.
- Set-and-forget. Every new app, pixel, or agency tag changes your cookie inventory. A banner categorized against last year's stack misdescribes today's—which is a transparency violation on its own. Rescan on a schedule, especially after site changes and before high-traffic seasons.
Doesn't My Platform Handle This for Me?
Partially—and the gap is where brands get burned. Shopify provides a Customer Privacy API and basic consent tooling, and both Shopify and BigCommerce document their own cookie usage. But you are the data controller for your store: the pixels you added, the apps you installed, and the agency tags from three redesigns ago are your responsibility, and the platform's built-in tooling doesn't automatically know about them, categorize them, or block them.
The same applies to consent apps from the app store: installing one is not the same as configuring one. The Todd Snyder case is the cautionary tale—a working brand, a consent tool in place, and an opt-out that silently failed for 40 days. Treat platform tooling and consent apps as raw material, verify what actually fires with a scan, and re-verify after changes. Ownership of the outcome can't be delegated.
Do Cookie Banners Affect SEO and Site Performance?
Less than commonly feared, if implemented well. Google crawls without interacting with banners, so a compliant banner doesn't hide content from indexing—just avoid interstitials that physically block content rendering. Performance-wise, load the CMP script early and asynchronously; a slow consent script delays every tag gated behind it. And there's an upside: gating a dozen marketing tags behind consent measurably speeds up first paint for non-consenting visitors.
The bigger measurement story is analytics: expect a gap between sessions recorded and sessions that occurred, proportional to your refusal rate. Consent Mode's modeled data fills part of it; first-party server-side measurement of your own order data fills more. What you shouldn't do is "fix" the gap by loading analytics before consent—that's the exact behavior the €150M SHEIN fine punished.
Will Cookie Banners Go Away?
Not soon—but they will change shape. The EU's Digital Omnibus (still in negotiation as of mid-2026) points toward one-click reject, a six-month quiet period after refusal, and browser-level consent signals that sites must honor. If adopted, expect fewer, simpler prompts and more consent decisions made once, in the browser—much as GPC already works for US opt-outs. None of that eliminates the need for a consent layer; it moves the interface and raises the bar for honesty.
The durable strategy is the same regardless of how the proposals land: keep an accurate inventory of what your site sets, block until you have a lawful basis, honor signals (clicks or headers) faithfully, and log everything. Do that and the format of the banner is an implementation detail.
How Do You Test Your Own Cookie Banner?
A fifteen-minute audit that catches the failures above:
- Fresh session test. Open your site in a private window with the network tab open. Before touching the banner, look for calls to google-analytics, facebook, tiktok, doubleclick. Anything non-essential firing pre-consent is a finding.
- Reject test. Click "Reject All," browse three pages, and check the network log again. Marketing and analytics calls after rejection are the SHEIN/CIPA pattern.
- Withdrawal test. Accept, then find your way back to preferences and withdraw. Count the clicks; confirm the tags actually stop.
- GPC test. Enable Global Privacy Control in your browser and confirm your site registers the opt-out for California-model compliance.
- Inventory test. Compare the cookies your banner discloses against what a scanner actually finds. Run PieEye's free cookie compliance scan—it crawls your storefront and reports every cookie and tracker, categorized, including what fires before consent. (Definitions for any term in that report live in our privacy glossary.)
If any of the five fail, fix the enforcement layer before touching the design layer—an ugly banner that works beats a beautiful one that lies.
Frequently Asked Questions
What is a cookie banner?
The notice a website shows on a visitor's first visit that explains which cookies and trackers the site uses and lets the visitor accept, refuse, or customize them. In the EU it must collect opt-in consent before any non-essential cookie is set; in most US states it supports notice and opt-out rights instead. A compliant banner is wired to a consent management platform that actually blocks tags until the visitor's choice allows them.
Are cookie banners legally required?
If you use non-essential cookies on visitors from the EU, UK, or similar opt-in jurisdictions, effectively yes—those rules require prior consent before setting cookies. US state laws like the CCPA don't mandate a banner by name, but they require opt-out mechanisms and honoring the Global Privacy Control signal, which a banner plus CMP is the standard way to deliver. Google also requires a certified CMP to serve personalized ads in the EEA and UK.
What makes a cookie banner GDPR compliant?
Five things: non-essential cookies stay blocked until opt-in; refusing is as easy as accepting (no pre-ticked boxes or buried reject options); consent is granular by purpose; the visitor can withdraw as easily as they consented; and every choice is logged as proof. Strictly necessary cookies are exempt and may load immediately.
What happens if my cookie banner doesn't actually block cookies?
That gap is now the main enforcement target. In September 2025 France's CNIL fined SHEIN €150 million for setting advertising cookies before consent and continuing after users clicked "Refuse All," and fined Google €325 million over unequal consent paths. In the US, more than 1,000 CIPA lawsuits were filed in 2025, many alleging that banners offered a reject option but kept firing trackers anyway.
Will cookie banners go away?
Not soon. The EU's Digital Omnibus proposal (November 2025) would move cookie rules into the GDPR, mandate single-click reject, ban re-asking for six months after a refusal, and require sites to honor browser-level consent signals. It's still in negotiation as of mid-2026—and even if adopted, it standardizes consent interfaces rather than eliminating them.