What is cookie consent
Cookie consent is a website visitor's permission to store or read non-essential cookies on their device, usually given through a cookie banner.
Cookie consent is a website visitor's permission to store or read non-essential cookies on their device, usually given through a cookie banner.
Cookie consent is a website visitor's permission to store or read non-essential cookies and similar trackers on their device. Websites usually ask for it through a cookie banner before analytics, advertising, or social media cookies load.
Laws such as the EU's ePrivacy Directive and the GDPR, and the UK's PECR, require this permission for non-essential cookies, while US state laws such as the CCPA focus on letting people opt out. The software that collects and records these choices is a cookie consent management platform.
Label | Value |
|---|---|
Definition | A visitor's permission to store or access non-essential cookies on their device |
How it is collected | A cookie banner, pop-up, or preference center |
Cookies that usually need consent | Analytics, advertising, and social media cookies |
Cookies usually exempt | Strictly necessary cookies, such as login, security, and shopping cart cookies |
Main laws | ePrivacy Directive, GDPR, UK PECR, CCPA/CPRA, Brazil's LGPD |
Valid consent under the GDPR | Freely given, specific, informed, unambiguous, and as easy to withdraw as to give |
Privacy relevance | The legal basis for most non-essential tracking on EU and UK websites |
Cookie consent follows the same short sequence on most websites:
Visitor arrives -> banner explains the cookie categories -> visitor accepts, rejects, or customizes -> the choice is stored -> only the allowed cookies load
The visitor can reopen their settings later to change their mind. The notice that asks for the choice is a cookie consent banner.
Cookies that a website needs to work, such as login, security, and shopping cart cookies. Essential cookies are usually exempt from consent, but you still need to disclose them.
Cookies that remember preferences such as language or region. In the EU and UK they usually need consent unless the visitor clearly asked for the feature.
Cookies that measure visits and behavior, such as Google Analytics. They usually need consent in the EU and UK.
Third-party cookies used for ad targeting, retargeting, and social media embeds. They need prior consent in the EU and UK and an opt-out under the CCPA.
These terms are often used interchangeably, but they describe different things:
Term | What it is | Collects a choice? |
|---|---|---|
Cookie consent | The visitor's permission itself | Yes, it is the choice |
Cookie banner | The on-screen message that asks for consent | Yes |
Cookie notice | A message that tells visitors cookies are used, without offering a real choice | No |
Cookie policy | A page that lists the cookies a website uses and why | No |
In the EU and UK, a notice on its own is not enough for non-essential cookies. Visitors need a real choice before those cookies load.
Cookie consent is how websites give people control over tracking, and the rules differ by region:
Region | Model | What visitors see |
|---|---|---|
EU and UK | Opt-in | Non-essential cookies stay off until the visitor accepts |
California and other US states | Opt-out | Tracking can run, but visitors can opt out of the sale or sharing of their data |
Regulators enforce these rules. In September 2025, France's data protection authority fined Google €325 million and Shein €150 million, in particular for breaking the rules on cookies.
No, not under the GDPR. The European Data Protection Board's guidelines on consent say that scrolling or continuing to browse is not a clear affirmative action, so it is not valid consent. Pre-ticked boxes are not valid either. This kind of implied consent may be acceptable under some opt-out laws, but not for non-essential cookies in the EU.
Consent management platform (CMP) Software that collects, stores, and shares user consent for cookies and personal data.
Cookie wall A banner that blocks access to a website until the visitor accepts cookies.
Non-essential cookies Cookies a website does not need to function, such as analytics and advertising cookies.
Global Privacy Control (GPC) A browser signal telling websites a visitor wants to opt out of the sale or sharing of their data.
Do Not Sell or Share My Personal Information The opt-out link the CCPA requires from businesses that sell or share personal information.
Cross-context behavioral advertising Ad targeting based on a person's activity across different websites and apps.
Personal data Any information that relates to an identified or identifiable person.
Data privacy The practice of handling personal data in line with people's rights and the law.
Cookie consent is a visitor's permission for a website to store or read non-essential cookies on their device. It is usually collected through a cookie banner that lets visitors accept, reject, or customize cookie categories before analytics or advertising cookies load.
In the EU and UK, yes: the ePrivacy Directive, the GDPR, and PECR require consent before non-essential cookies are set. In California and other US states, the CCPA and similar laws require an opt-out instead, so prior consent is not required for most cookies.
Analytics, advertising, social media, and most functional cookies need consent in the EU and UK. Strictly necessary cookies, such as login, security, and shopping cart cookies, are usually exempt, although you should still list them in your cookie policy.
The website should load only strictly necessary cookies and keep analytics and advertising cookies switched off. Rejecting should be as easy as accepting, and the website should still work for visitors who reject.
No single EU rule sets a duration. Many websites store a visitor's choice for six to twelve months and then ask again. Visitors must be able to change or withdraw their choice at any time, usually through a link or icon on every page.