A cookie banner is required on any site that sets non-essential cookies for visitors in the EU, UK or several US states, and fines reach €20 million. Under the ePrivacy Directive, analytics, advertising and profiling cookies need opt-in consent before they load, and the banner must make rejecting as easy as accepting.

Key facts

  • GDPR fines reach €20 million or 4% of global annual turnover, whichever is higher; over €7.1 billion in penalties since 2018.
  • In January 2022 the CNIL fined Google €150 million and Facebook €60 million because rejecting cookies took several clicks while accepting took one.
  • Strictly necessary cookies, such as login and cart cookies, need no consent; analytics and advertising cookies do.
  • Free banner tools exist: CookieYes is free up to 5,000 pageviews a month and Cookiebot is free for one domain with up to 50 subpages.
  • In the US, California fines run $2,500 to $7,500 per violation, and 12 states required honoring opt-out signals in 2026.
CaseFineReason
CNIL vs Google, Jan 2022€150 millionRejecting cookies took several clicks; accepting took one
CNIL vs Facebook, Jan 2022€60 millionSame reject-as-hard problem on facebook.com
CNIL vs Amazon, Dec 2020€35 millionCookies dropped without consent
CNIL vs Conde Nast, Nov 2025€750,000Cookies placed without valid consent

Any site with visitors from the EU or UK needs one if it sets non-essential cookies. That covers Google Analytics, ad pixels, social embeds and most chat widgets. A site that only uses strictly necessary cookies, such as a login or cart cookie, does not need a banner.

In the US, California, Colorado and 10 other states required sites to honor opt-out signals in 2026. The rules there are opt-out rather than opt-in, so the banner looks different: a clear Do Not Sell or Share My Personal Information link instead of an accept-all popup.

What a compliant banner must do

  • Ask before any non-essential cookie loads, not after.
  • Offer a Reject all button on the first screen, the same size and style as Accept all.
  • Let visitors pick categories, such as analytics or marketing, instead of all-or-nothing.
  • Record each consent choice with a date and time, and let visitors change it later.
  • Never use pre-ticked boxes, cookie walls or scrolling as consent.

Add a banner in 5 steps

  1. Audit your cookies with a free scan from CookieYes or Cookiebot and list every tracker.
  2. Sort each cookie into necessary, analytics, marketing or preferences.
  3. Pick a banner tool that fits your traffic and regions; most small sites start free.
  4. Install the script and set it to block non-essential cookies until consent is given.
  5. Test it: accept, reject and change your choice, then check that analytics only fires after consent.

Common mistakes

The most common mistake is letting analytics load before the visitor answers. The CNIL fined Amazon €35 million in 2020 for dropping cookies without consent, and Google €150 million in 2022 for a reject path that took several clicks. A second mistake is a banner with no Reject all button on the first screen.

A third mistake is treating a privacy policy as consent. A policy explains what you do; it does not ask permission. Consent must be a clear yes from the visitor, given before the cookie is set, and easy to withdraw at any time.

What a banner costs

ToolFree planPaid from
CookieYes5,000 pageviews a month$10 a month, or $100 a year
Cookiebot1 domain, up to 50 subpages$8 a month
Termly10,000 banner views a month$14 a month, or $10 billed yearly
ComplianzWordPress plugin$59 a year for 1 site

Most small sites pay nothing. CookieYes is free up to 5,000 pageviews a month, Cookiebot is free for one domain with up to 50 subpages, and Termly is free up to 10,000 banner views a month. Paid plans start at $8 to $14 a month and add more pageviews, scheduled scans and consent logs.

For consent rules on forms, see Best GDPR Compliant Form Tools.

FAQ

Yes, if your site sets non-essential cookies for visitors in the EU or UK. Analytics, advertising and social embed cookies all count. A site with only strictly necessary cookies does not need one.

It asks for consent before non-essential cookies load, offers Reject all on the first screen, lets visitors choose categories, and records each choice. Pre-ticked boxes and cookie walls do not count as consent.

Yes. CookieYes is free up to 5,000 pageviews a month, Cookiebot is free for one domain with up to 50 subpages, and Termly is free up to 10,000 banner views a month.

What happens if my banner is not compliant?

Regulators can fine you. The CNIL fined Google €150 million in 2022 for a banner that made rejecting cookies harder than accepting them, plus €100,000 a day until it was fixed.

Many do. California and 11 other states required sites to honor opt-out signals in 2026, with fines of $2,500 to $7,500 per violation under California law.

Sources