Skip to content

When is cookie consent required and what makes the banner compliant?

The mechanism a site uses to collect consent before installing non-technical cookies, with no pre-ticked choices.

Cookie consent is the mechanism a website uses to collect agreement before installing, on the device of whoever is browsing, cookies or other tracking tools (fingerprinting, local storage used for profiling) that are not strictly necessary to deliver the requested service. The rule comes from the EU ePrivacy Directive, transposed in Italy by the Privacy Code (Article 5(3) of Directive 2002/58/EC, as amended by 2009/136/EC; Article 122 of the Privacy Code): consent has to be collected before the cookie is installed, and it has to be freely given, specific, informed and unambiguous, the same bar the GDPR sets for any other consent. In Italy the operative reference is the Guidelines on cookies and other tracking tools issued by the Garante on 10 June 2021: they translate that principle into concrete requirements for how the banner must appear, which choices it must offer, and when the consent it collects has to be treated as invalid, no matter how many visitors clicked "accept".

See also: Dark patternAn interface element designed to distort a single user decision, prohibited by Article 25 of the DSA.

Technical, analytics and profiling cookies

Technical cookies (session, shopping cart, load balancing) need no consent, only disclosure, because they exist solely to deliver the service explicitly requested. Third-party analytics cookies and profiling cookies require prior consent, because they build a browsing profile traceable to a person even without using their name. The Garante treats analytics like technical cookies only under precise conditions: aggregate statistics, the IP masked at least in its last component when the tool is third-party, no cross-referencing with other sources. A tool left on its default configuration does not meet them.

What a compliant banner needs

The Guidelines are specific about form: refusing has to cost the same effort as accepting, and closing the banner with an "X", as prominent as the consent button, counts as a refusal. Continuing to browse or scrolling the page is not valid consent: scroll-as-consent is the same dark pattern applied to the banner instead of the rest of the interface. Consent also has to be granular by purpose, and as easy to withdraw as it was to give.

An enterprise example

A B2B company installs a tag manager with ten marketing tools firing by default on the first visit, and the banner shows only "Accept". An audit of the consent management platform's logs finds that over half of the consents collected in the past year never passed through a refusal option: that number does not show a preference, it shows the absence of a real choice, and it is the first thing an inspection checks alongside the timestamps of cookie installation against the consent click.

Why it matters for decision makers

Consent collected the wrong way invalidates everything built on top of it: remarketing, attribution, traffic forecasting models. Implications for tools like Google Consent Mode follow from this: the mode that models missing conversions reduces the statistical damage of absent consent, it does not replace it, and it still depends on a banner that meets the Guidelines. The fine is not the only risk: invalid consent makes the entire dataset built on it retroactively unusable.

This entry is informational and does not constitute legal advice: for your banner's configuration, involve your DPO or legal counsel.

  • Dark patternAn interface element designed to distort a single user decision, prohibited by Article 25 of the DSA.
  • GDPR and Artificial IntelligenceGDPR and artificial intelligence: personal data rules also apply to training and using AI systems, and duties must be assessed for each processing activity.
  • Data governanceData governance sets decision rights, responsibilities and rules for organizational data, from quality to access, so that data use is reliable and auditable.

See it in the universe

If it is a risk for your company, I will tell you where to start without selling you fear.

See security and compliance

Or write to me.