Skip to content

Glossary Consent

What Is Consent?

  • Analytics
Definition

Consent (cookie consent) is the freely given, informed, and unambiguous approval a user provides through an active action so a website can set non-essential cookies or tracking technologies in their browser.

A door security chain stretched across the gap of a half-open door — beside the title Consent
The chain opens only so far, and can be closed again
On this page 6
  1. What is consent and when is it required?
  2. Opt-in versus opt-out
  3. How it works: CMP, script blocking, and logging
  4. Why it matters: legal basis and the cookie wall debate
  5. Best practices
  6. Common mistakes
In brief

What conditions make consent valid under GDPR and the ePrivacy Directive, how a CMP blocks and logs it technically, and what the latest EU guidance says about cookie walls and pay-or-consent models.

A door security chain stretched across the gap of a half-open door — beside the title Consent
The chain opens only so far, and can be closed again

Opt-in versus opt-out

AspectOpt-inOpt-out
Starting pointNon-essential cookies stay blocked until the user decidesCookies are active until the user rejects them
Pre-ticked boxNot allowed: the action must be activeCommon, but doesn't count as valid consent in the EU
Legal status in the EUMandatory for non-essential cookies (Art. 5.3 ePrivacy)Not a valid legal basis for setting tracking

In the European Union, the only valid model for any non-essential cookie is opt-in: nothing gets set until the user grants authorization with a clear gesture, such as clicking "Accept." A pre-ticked box, or a banner that only offers "learn more" without an equally visible reject button, doesn't meet that requirement.

How it works: CMP, script blocking, and logging

Technically, consent is managed through a consent management platform (CMP). Before the user decides, the CMP blocks any non-essential script from loading: triggers for tracking pixels, analytics tools, or advertising tags stay paused until there's an explicit decision. The CMP usually integrates with the site's tag manager, so each script gets tied to a category (necessary, preferences, statistics, marketing) and only fires once that specific category gets a green light.

When the user accepts, rejects, or customizes their choice by category, the CMP stores that decision with an identifier and a timestamp, and only then releases the corresponding scripts. That log serves as proof to a data protection authority that the site asked for consent before acting, not after. If the user changes their mind later, that same CMP has to let them review and change their choice with the same ease it took to give it.

A common implementation mistake is confusing "visually hiding the banner" with "blocking the script." If a cookie has already been set in the background while the banner is still on screen, consent hasn't been respected, even if the user hasn't clicked anything yet. This technical error shows up in banners poorly wired into the site's tag manager, and turns a configuration problem into a legal violation.

Best practices

  • Block all non-essential scripts by default through the CMP, and release only the ones tied to the category the user accepted.
  • Design the banner so the "reject" button is just as visible and reachable as "accept," with no colors or sizing that nudge the user toward one choice.
  • Offer granular consent by category (necessary, preferences, statistics, marketing), not a single all-or-nothing toggle.
  • Log every decision with an identifier, the accepted category, and a timestamp, so it can be proven to a supervisory authority.
  • Make it just as easy to withdraw consent at any time through a visible link, with the same number of clicks it took to give it.
  • Write the banner's information in plain language, instead of pushing everything into a twenty-page privacy policy to explain what each cookie does.

Common mistakes

  • Visually hiding the banner without actually blocking the cookie or tracking pixel script, so tracking starts before the user decides.
  • Using a pre-ticked box on "accept all," or highlighting that button while "reject" stays buried in a submenu.
  • Lumping every purpose into a single toggle, without letting users accept analytics and reject advertising separately.
  • Treating a lack of response, or simply continuing to browse, as implied acceptance.
  • Skipping a check, during a technical SEO audit, of which scripts load before consent, a mistake that hurts both legal compliance and page speed.
Manuel Riveiro Rodriguez CEO & Digital Strategist

A technical audit covers this and everything else in one pass.

Request an audit

Frequently asked

Is it legal for a website to block access if I decline cookies?

Depends on the case. Guidelines 05/2020 from the European Data Protection Board hold that a cookie wall without a genuine alternative fails to meet the freely-given consent requirement. Opinion 08/2024 nuances that for large platforms: it requires an equivalent free alternative, assessed case by case based on the site's market power.

What's the difference between the ePrivacy Directive and GDPR when it comes to cookies?

The ePrivacy Directive (Art. 5.3) governs whether a cookie can be placed on the user's device at all, and requires prior consent for non-essential ones. GDPR takes over afterward, once that cookie processes personal data: it governs the legal basis, purpose, and the user's rights over that data.

Does a pre-ticked box count as valid consent?

No. Consent has to come from an active action by the user, such as clicking a button or ticking an empty box. A box that's already ticked, or simply continuing to browse without doing anything, doesn't count as a clear expression of will under either the ePrivacy Directive or GDPR.

Can I accept some cookies and reject others?

Yes, and it has to be possible. Consent must be granular: the user has to be able to accept, say, analytics cookies while rejecting advertising cookies separately, each through its own toggle in the CMP, without the site forcing a binary choice between accepting everything or rejecting everything.

What happens if my banner hides the notice but doesn't block the script?

Consent hasn't been respected, even if it looks that way visually. If a cookie or tracking pixel script runs in the background before the user decides, the site has installed tracking technology without authorization, which breaches Article 5.3 of the ePrivacy Directive and can trigger a fine.

Sources

  1. Directive 2002/58/EC (ePrivacy), consolidated text (EUR-Lex): sets out in Article 5.3 the obligation to obtain prior consent before setting non-essential cookies. Consolidated text following the 2009 amendment.
  2. Guidelines 05/2020 on consent (EDPB): defines the conditions for valid consent (freely given, specific, informed, unambiguous) and sets the reference position on cookie walls. Adopted May 4, 2020.
  3. Opinion 08/2024 on "consent or pay" models (EDPB): nuances the position on cookie walls for large platforms and requires an equivalent free alternative. Adopted April 17, 2024.