Clym Logo

Cookie Consent Banner: Requirements, Examples & Best Practices

~ 18 min read

A cookie consent banner is a notification displayed to website visitors that informs them about the use of cookies and tracking technologies and, depending on applicable privacy law, requests their permission before non-essential cookies are activated. Regulations like the GDPR, CCPA/CPRA, LGPD, and PIPEDA require websites to implement cookie consent mechanisms that reflect the rules of the visitor’s jurisdiction. Failure to implement a technically functional banner can result in regulatory scrutiny, fines, and erosion of visitor trust.

Summarize full article with:

You have probably noticed that almost every website you visit these days opens with some kind of cookie message. That is not a coincidence. Cookie consent banners have gone from a niche legal footnote to a standard part of how websites operate globally, and the rules around them have gotten significantly stricter in recent years.

This guide covers everything you need to know: what a cookie consent banner actually is, what it needs to do to hold up under regulations like GDPR and CCPA/CPRA, what good and bad examples look like, and how to think about implementation without making it more complicated than it needs to be.

Quick answer: What is a cookie consent banner?

A cookie consent banner is a notification shown to website visitors that explains how the site uses cookies and tracking technologies, and either requests permission before any non-essential cookies are activated, or gives visitors a clear way to opt out. It is required under major privacy regulations, including the GDPR in the EU, CCPA/CPRA in California, LGPD in Brazil, and PIPEDA in Canada. Not having one, or having one that does not actually work as advertised, can expose a website owner to regulatory scrutiny and erode visitor trust.

What is a cookie consent banner?

A cookie consent banner is a user interface element displayed on a website that informs visitors about the use of cookies and other tracking technologies, and manages their consent choices in relation to those technologies.

The word ‘banner’ is used loosely. In practice, these notices appear in a range of formats: a bar at the bottom or top of the page, a centered pop-up, a full-screen overlay, or a floating widget in the corner. What matters is not the format but the function. A cookie consent banner has to actually do something. It has to block non-essential cookies until a visitor makes a choice, honor whatever that choice is, and give visitors a way to come back and change it later.

Thinking of it as a digital agreement between your website and your visitors is a useful frame. You tell them what you collect and why. They tell you what they are comfortable with. Your systems act accordingly.

Cookie notice vs. cookie consent banner: What is the difference?

These two terms get used interchangeably, but they are not the same thing, and confusing them is one of the more common mistakes website owners make.

A cookie notice is a passive disclosure. It tells visitors that the site uses cookies, but it does not ask for their permission, and it does not stop any cookies from loading. Before GDPR came into effect in 2018, this approach was widely used and broadly accepted. It is generally no longer sufficient under modern privacy regulations that require an active opt-in.

A cookie consent banner goes further. It actively requests permission before any non-essential cookies are loaded, provides controls for visitors to accept, reject, or customize their preferences by category, and technically enforces those choices in real time. If a visitor clicks ‘reject all’, analytics scripts, advertising pixels, and marketing trackers should not fire.

Cookie notice

Cookie consent banner

What it does

No

Requests permission before loading cookies

Visitor action required?

No

Yes

Cookies blocked until consent?

No

Yes, for non-essential cookies

GDPR sufficient?

Only partially, for the opt-out model

Yes, if correctly implemented

CCPA sufficient?

Jurisdictions with no active privacy law

Yes, with the ‘Do Not Sell’ option

Appropriate for

EU, UK, US states, Brazil, Canada, and most global markets

Is a cookie banner a legal requirement?

In most cases, yes. Whether a cookie banner is required depends on where your visitors are coming from, not necessarily where your business is based. Privacy regulations apply based on the location of the user, which means a company headquartered in Texas can still be subject to GDPR if it serves visitors in Germany.

The key regulations to know:

Regulation

Region

Consent model

Key requirement

Max penalty

GDPR + ePrivacy

EU, EEA, UK

Opt-in

Explicit consent before non-essential cookies load; no pre-ticked boxes; easy withdrawal

Up to 20M EUR or 4% global turnover

CCPA / CPRA

California, USA

Opt-out

‘Do Not Sell or Share My Personal Information’ link; honor Global Privacy Control signals

Up to 7,500 USD per intentional violation

LGPD

Brazil

Opt-in

Informed consent required; stated purpose for each category of data collected

Up to 2% of revenue

PIPEDA / Law 25

Canada / Quebec

Opt-in (stricter in Quebec)

Meaningful consent; right to withdraw; explicit consent for sensitive data

Up to 100,000 CAD

Thailand

Opt-in

Explicit consent before collection; clear purpose disclosed

Up to 5M THB

South Africa

Opt-in

Consent required before collection; purpose must be specified

Up to 10M ZAR

One thing worth noting: A jurisdiction that does not yet have an active privacy law today may pass one tomorrow. The pace of new data privacy legislation globally has been consistent over the last several years, and building a geo-aware, adaptable consent setup from the start is a more sensible long-term approach than reacting each time a new law comes into force.

What should a cookie consent banner include?

A cookie consent banner needs to do more than look the part. Regulators, particularly in Europe, have moved from examining whether a banner exists to examining whether it actually works and whether it nudges users fairly. Here is what a properly built banner should include:

  • Clear disclosure: Explain that the site uses cookies, what types are used (analytics, marketing, functional, essential), and why. Plain language, not legal boilerplate.
  • Granular controls: Visitors should be able to accept or reject different categories of cookies separately, not just accept everything or nothing.
  • Equal prominence for accept and reject: The ‘Accept’ and ‘Reject’ buttons must be equally visible. Hiding ‘Reject’ behind a small text link while ‘Accept’ is a bright button is a dark pattern and has been the basis of GDPR enforcement actions in multiple EU countries.
  • No pre-ticked boxes: Consent cannot be assumed under GDPR. Every option must default to off, and the visitor must actively make a selection.
  • Prior blocking: Non-essential cookies and tracking scripts must not load before the visitor has responded. This is one of the most technically important requirements and the one most often ignored by basic banner tools.
  • Easy withdrawal: Visitors must be able to change or revoke consent at any time. A persistent ‘Cookie settings’ link somewhere accessible on the page handles this.
  • Consent records: The platform must log what consent was given, when, and under which version of your cookie policy. This documentation matters if you are ever asked to demonstrate responsible data practices.
  • Link to your cookie policy: The banner should link clearly to a full cookie policy that explains in more detail what you collect, how long you keep it, and who you share it with.

Worth knowing

One of the most frequently cited technical violations in GDPR enforcement is a banner that looks correct but loads tracking scripts before the visitor has made a choice. Displaying the banner and blocking the scripts are two separate things. Many basic banner tools handle the first and ignore the second.

GDPR cookie banner requirements

The GDPR, combined with the ePrivacy Directive, sets the strictest cookie consent standard in the world. If your website is accessible to visitors in the EU or UK, these rules apply to you regardless of where your business is located.

Under GDPR, consent must be:

  • Freely given: users cannot be forced to accept cookies as a condition of accessing your content (with some nuance around ‘consent or pay’ models)
  • Specific: consent for analytics cannot double as consent for advertising
  • Informed: users must know what they are consenting to before they consent
  • Unambiguous: no pre-ticked boxes, no passive agreement through continued browsing

The European Data Protection Board has published guidance specifically targeting ‘dark patterns’ in cookie banners, following a wave of enforcement actions against companies that made accepting cookies visually easy and rejecting them deliberately awkward. Sweden, France, Italy, Germany, and the Netherlands have all issued fines in this area. The amounts range from tens of thousands to tens of millions of euros.

For a deeper look at how category-level consent controls work under GDPR, see our guide to granular consent.

One practical implication that often catches website owners off guard: if you update your third-party scripts or add new marketing tools, that may trigger a requirement to resurface the banner and ask for fresh consent from returning visitors.

CCPA / CPRA cookie banner requirements

The California Consumer Privacy Act and its successor, CPRA, take a different approach to consent. Rather than an opt-in model, they use an opt-out model, which means you can set non-essential cookies by default but must give California residents a clear and immediate way to opt out.

The required elements for CCPA/CPRA include:

  • A ‘Do Not Sell or Share My Personal Information’ link in the footer of every page
  • Honoring Global Privacy Control (GPC) signals, which are browser-level opt-out requests that California law now requires businesses to recognize automatically
  • No financial incentives or penalties for users who choose to opt out
  • A privacy policy that explains the categories of personal information collected and the purposes for which it is used

CPRA enforcement, which began in earnest in 2023, is now more active. The California Privacy Protection Agency has expanded its audit capabilities and has been targeting websites that claim to honor opt-out requests but continue tracking users through alternative means.

Cookie consent banner examples and notice text

One of the most practical things you can take away from this guide is a sense of what cookie consent banners actually look like in practice, both the compliant ones and the ones that would not hold up to scrutiny.

Banner format options

Cookie consent banners appear in several common layouts. The right choice depends on your site design, your visitor demographics, and the regulatory requirements you need to address:

  • Footer bar: A horizontal strip along the bottom of the page. Non-intrusive and widely used. Works well for opt-out models like CCPA, but can be too easy to miss for opt-in requirements like GDPR.
  • Header bar: Same idea, at the top. Slightly more visible, but can push page content down and affect the layout.
  • Centered pop-up: A modal or dialog box in the middle of the screen. More prominent and better suited to opt-in models because it requires the user to actively engage before proceeding.
  • Cookie wall: A full-page overlay that blocks all content until the user responds. High visibility but carries legal risk under GDPR if site access is completely denied to users who decline consent.
  • Corner widget: A small floating element, often in the bottom left or right corner. Often used as a persistent way to access cookie preferences rather than the initial notification.

Cookie notice text examples

The phrasing of your cookie notice matters both legally and for user experience. Here are three real-world style examples you can adapt:

GDPR opt-in example (for EU and UK visitors):

“We use cookies to improve your experience, understand how our site is used, and support our marketing. You can accept all cookies, reject non-essential ones, or customize your preferences. You can update your choices at any time via ‘Cookie settings’.”

[Accept all] [Reject all] [Cookie settings] | Cookie policy

CCPA opt-out example (for California visitors):

“This site uses cookies and similar technologies. California residents have the right to opt out of the sale or sharing of personal information.”

[Do Not Sell or Share My Personal Information] | Privacy policy

General informational notice (for jurisdictions without active consent requirements):

“This site uses cookies to improve your browsing experience. By continuing to use this site, you agree to our use of cookies.”

[Got it] | Learn more

Note to the design team: updated visual mockups of each of these three formats using Clym’s brand styling would strengthen this section considerably. A comparison image showing a compliant vs. non-compliant banner design (equal vs. unequal button prominence) would also work well here as a standalone graphic.

Cookie consent banner best practices

Beyond the legal baseline, there are a number of things that separate a banner that just exists from one that actually works well for both the business and the visitor.

  • Keep the language human: Phrases like ‘legitimate interest processing’ and ‘data controller obligations’ mean nothing to most visitors. Write for a general audience, not a legal one.
  • Do not make rejection harder than acceptance: Regulators are actively looking for this. If your ‘Reject’ option takes three clicks and your ‘Accept’ takes one, that is a design pattern regulators have specifically called out as manipulative.
  • Make the banner mobile-friendly: A consent banner that works on desktop but obscures content or misfires on mobile is both a user experience problem and a potential compliance gap.
  • Test that blocking actually works: Use your browser’s developer tools or a third-party scanner to verify that declining cookies actually prevents those scripts from loading. Many site owners discover their banner looked correct, but was not technically enforcing anything.
  • Resurface when things change: If you add new tracking tools, update your cookie policy, or change the purpose of existing cookies, returning visitors should be shown the banner again for fresh consent.
  • Support Global Privacy Control: GPC is a browser-level signal that tells websites a user wants to opt out. California law requires businesses to honor it automatically. Other jurisdictions are likely to follow.
  • Keep a consent log: Knowing what consent was recorded, when, and under which version of your policy is important for demonstrating responsible data practices if questions are ever raised.

Does cookie consent affect SEO?

This question comes up a lot, and the short answer is: not directly, but indirectly in ways that are worth understanding.

Google has confirmed that cookie banners themselves are not a ranking signal. However, how you implement consent can affect things that do matter for search performance:

  • Core Web Vitals: A poorly coded banner that causes layout shifts or delays page rendering can hurt your Largest Contentful Paint and Cumulative Layout Shift scores, both of which are ranking factors. A lightweight, fast-loading banner matters.
  • Analytics data quality: If your consent platform does not support Google Consent Mode V2, you may start to see gaps in your GA4 data as users decline cookies. This does not affect rankings directly, but it affects your ability to make informed decisions about your site.
  • Crawlability: If you implement a full cookie wall that blocks all content until consent is given, there is a risk that Googlebot cannot index your pages. Google’s guidance is that content should be accessible to its crawler regardless of consent status.
  • User experience signals: A banner that frustrates visitors, is hard to dismiss, or appears repeatedly can increase bounce rates and reduce time on page. These behavioral signals influence how Google assesses page quality over time.

What is Google Consent Mode V2, and why does it matter?

Google Consent Mode V2 (GCM v2) is a framework that allows your cookie consent banner to send consent signals directly to Google’s advertising and analytics tools. It became mandatory for websites using Google Ads or GA4 to target EU visitors in March 2024.

Here is the practical picture: when a visitor declines cookies, Consent Mode tells Google’s tags to run in a limited, privacy-safe mode. Instead of tracking individuals, Google uses statistical modeling to estimate conversion rates and traffic patterns. Advertisers still get usable data, and visitors’ choices are respected.

Without GCM v2 integration, websites in the EU that serve Google Ads risk losing a significant portion of their conversion data every time a visitor opts out. The implementation is not overly complex, but it does require a consent management platform that supports it natively; it usually requires custom developer work otherwise. For a broader explanation of how Consent Mode works, see our Google Consent Mode glossary entry.

Are free cookie consent banners enough?

Generally, no, though the honest answer depends on what you need them to do.

Free cookie consent tools can sometimes handle a basic informational notice. But for websites that need to meet GDPR opt-in requirements, support CCPA opt-outs, integrate with Google Consent Mode V2, and keep up with regulatory changes across multiple jurisdictions, free tools tend to fall short in three specific ways:

  • Technical enforcement: Many free banners display a UI but do not actually block third-party scripts from loading before consent is obtained. The banner is cosmetic rather than functional.
  • Ongoing maintenance: Privacy law changes regularly. A tool that is free today will not necessarily update its logic when a new regulation comes into force, or when an existing one is amended.
  • Multi-jurisdiction support: Showing the right banner type to the right visitor based on their location requires geo-targeting logic. Most free tools either apply a single global banner or require manual configuration per region.

Feature

Free tools

Premium CMP

Script blocking before consent

Often missing

Yes

Geo-targeted banner per regulation

Limited or manual

Automatic

Google Consent Mode V2 support

Rarely included

Yes, natively

Consent record logging

Basic or absent

Full audit trail

Regulatory updates

No guarantee

Included

IAB TCF 2.3 support

Rarely included

Yes

Not included

Yes

Customization and branding

Limited

Full control

What happens if you do not have a cookie consent banner?

The risks fall into three broad categories, and all three are real.

  • Regulatory fines: Under GDPR, fines for cookie consent violations have reached the tens of millions of euros for large organizations. For smaller businesses, fines in the thousands to hundreds of thousands of euros are more typical, but the enforcement trend is clearly upward. CCPA/CPRA fines reach up to 7,500 USD per intentional violation, which adds up quickly at scale.
  • Loss of visitor trust: Users are more privacy-aware than they were five years ago. Visitors who notice that a site is tracking them without disclosure are unlikely to become customers and may report the site to regulators.
  • Reputational exposure: Regulatory enforcement actions are typically public. Being named in a data protection authority’s press release is the kind of brand damage that outlasts the fine itself.

It is also worth noting that enforcement is not limited to the largest companies. Data protection authorities across Europe have issued fines to small businesses, local government websites, and non-profits. The assumption that regulators only go after big tech is no longer accurate.

How Clym can help

Managing cookie consent across GDPR, CCPA, LGPD, PIPEDA, and the many other privacy regulations that are now active globally is genuinely complex. The rules differ by jurisdiction, change over time, and have technical requirements that go well beyond putting a banner on a page.

Clym’s Consent Management Platform is built to handle this complexity through a single integration. Its RealtimeCompliance™ technology continuously scans your website, identifies cookies and third-party services, and applies the appropriate consent behavior based on each visitor’s location, without requiring manual configuration from your team each time something changes.

Some of the capabilities that distinguish Clym from a basic banner tool:

  • Geo-targeted consent: Visitors in the EU see an opt-in model; California visitors see a CCPA-appropriate opt-out model. This happens automatically based on IP location.
  • Google Consent Mode V2: Natively integrated, so analytics and advertising data are preserved even when visitors decline cookies, without custom developer work.
  • Script blocking: Clym’s RealtimeCompliance technology identifies over 1,200 third-party services and prevents unauthorized scripts from loading until the visitor has responded.
  • Data Subject Request management: Beyond the banner, Clym handles the full consent lifecycle, including processing access, deletion, and portability requests from visitors.
  • Legal document hosting: Cookie and privacy policies that reflect your actual data practices, available in multiple languages, and automatically updated when your setup changes.
  • Accessibility widget: The Clym Widget combines privacy and accessibility controls in a single interface, so visitors can manage both consent and accessibility preferences in one place.
  • Automatic regulatory updates: When regulations change, Clym updates your configuration. You are not responsible for monitoring every data protection authority announcement globally.

If you want to understand where your current setup stands, Clym’s free website scanner gives you a compliance assessment in a few minutes. No sign-up required to get started.

Scan your website free, explore the platform, or book a demo to see it in action.

Frequently asked questions

A cookie consent banner is a notification shown to website visitors that explains how the site uses cookies and tracking technologies, and either requests permission before non-essential cookies load, or provides a clear way to opt out. It is a legal requirement in most jurisdictions with active data privacy laws.

In most cases, yes. The requirement depends on where your visitors are located, not where your business is based. If your site is accessible to users in the EU, UK, California, Brazil, or Canada, among other regions, you will typically need a cookie consent mechanism that reflects the applicable local rules. For a full explanation of how opt-in and opt-out models differ by jurisdiction, see our guide to opt-in vs opt-out consent.

A cookie notice is a passive disclosure that tells visitors the site uses cookies but does not require any action and does not block cookies from loading. A cookie consent banner actively requests permission before non-essential cookies activate and must technically enforce the visitor’s choice. Under GDPR and most modern privacy laws, a passive notice is not sufficient.

A compliant banner should include a clear explanation of what cookies are used and why, separate opt-in controls for each cookie category, equally prominent accept and reject options, a link to your full cookie policy, and the ability for visitors to withdraw or update their preferences at any time. The underlying technology must also actually block cookies until consent is given.

To align your banner with GDPR requirements: do not load any non-essential cookies before consent is received; give equal visual weight to accept and reject options; do not pre-tick any consent boxes; allow granular consent by cookie category; do not block site access as a penalty for declining; and maintain a log of consent records. Using a consent management platform that supports GDPR natively takes care of most of these requirements automatically. You can explore GDPR requirements in more detail on our GDPR page.

Not directly, but indirectly in ways that are worth understanding. A poorly implemented banner that causes page layout shifts can hurt Core Web Vitals scores, which are a ranking factor. Not supporting Google Consent Mode V2 can also degrade your analytics data quality over time. A full-page cookie wall that blocks Googlebot from crawling your content is the most direct SEO risk.

Google Consent Mode V2 is a framework that allows your consent banner to send privacy signals directly to Google’s advertising and analytics tools. When visitors decline cookies, Google’s tags run in a limited mode using statistical modeling rather than individual tracking. It became mandatory for EU-targeted Google Ads and GA4 users in March 2024.

A free banner can sometimes handle basic informational notices, but most free tools do not technically block scripts before consent is received, do not support Google Consent Mode V2, do not geo-target by jurisdiction, and do not update automatically when regulations change. For sites with meaningful traffic from regulated jurisdictions, the technical gaps in free tools are usually significant.

Under GDPR, fines can reach 20 million euros or 4% of global annual turnover, whichever is higher. CCPA/CPRA intentional violations can result in fines of up to 7,500 USD per violation. Beyond direct financial penalties, non-compliance can result in reputational damage and public enforcement action from data protection authorities.

A consent management platform (CMP) is software that automates how a website collects, stores, and acts on user consent choices for cookies and tracking technologies. A full-featured CMP handles geo-targeted banner display, script blocking, consent logging, data subject requests, regulatory updates, and integrations with tools like Google Consent Mode, rather than requiring all of this to be managed manually. See our full comparison of consent management platforms for an overview of what to look for when evaluating options.

Adam Safar

Head of Digital Marketing

Adam is the Head of Digital Marketing at Clym, where he leverages his diverse expertise in marketing to support businesses with their compliance needs and drive awareness about data privacy and web accessibility. As one of the company’s original team members, Adam has been instrumental in shaping its journey from the very beginning. When he’s not diving into marketing strategies, Adam can be found cheering on his favorite sports teams or enjoying fishing.

Find out more about Adam