What a cookie banner is for
Published 2026-03-25

What the banner does
A cookie banner is the moment a site asks before it stores or reads information on a person's device, when that storage is not strictly necessary. The duty sits in Article 5(3) of the ePrivacy Directive, Directive 2002/58/EC as amended. Storing or gaining access to information on the device needs consent, unless it is strictly necessary to provide a service the person explicitly asked for. Where the information is personal data, the GDPR still applies on top of that rule. The banner is the ask. It is not the privacy notice, and it does not make the rest of the company's processing lawful.
Necessary cookies are the ones the service the person asked for cannot run without. A cookie that keeps a signed-in session. A cookie that remembers an item in a basket the person chose to use. A cookie that stores the choice the person just made about cookies. A security cookie that protects the page they requested from abuse. These may be set without a tick. They are not a quiet place to measure a campaign or to recognise the same browser on other sites. If a cookie's real job is measurement or marketing, calling it necessary does not change the job.
Necessary and the rest
Analytics and marketing sit on the other side of the line. Counting visits in a way that singles out a browser, building a picture of how that browser moves, or handing that picture to someone else is not strictly necessary to show the page. A cookie that follows a person so later ads can find them is not necessary either. Those cookies stay off until there is a clear yes, given before they are set. Setting them and asking a moment later does not repair the order. The permission has to come first.
A yes has a shape. Article 4(11) and recital 32 of the GDPR require a freely given, specific, informed, and unambiguous indication. Silence, a pre-ticked box, and inactivity are not consent. Closing the banner is not a yes. Scrolling the page is not a yes. Keeping on reading is not a yes. The Court of Justice of the European Union has held that a box already ticked is not valid consent for cookies. The same rejection applies to a banner that treats anything other than a clear act as agreement. If you cannot point to the act, you do not have consent.
What a yes and a no look like
Reject has to be as easy as accept. If Accept is a button on the first screen and Reject is behind a label called settings, a second page, and a row of switches, the choices are not equal. Both belong on the first layer, with the same number of clicks. Necessary cookies can stay described as on, without a pretend switch that suggests the site will fail if analytics are refused. Article 7(3) adds that taking the yes back later must be as easy as giving it. A link in the footer that reopens the same choice does that. A path that requires an account the person does not have, or a letter, does not.
A wall that hides the page until the person accepts tracking is not a free choice. The person asked for the page, not for a marketing profile. Consent that is a condition of seeing ordinary content is not freely given. If a particular feature truly cannot run without a non-essential cookie, say which feature, and let the person refuse it and keep the rest. Do not hold the whole site as the price of a measurement cookie. A people-search page that a person opens in order to read how removal works should be readable with necessary cookies only.
A small site and the record
A small site that sets almost nothing should say so, and should behave that way. If you do not run analytics and do not run marketing cookies, do not show a banner that implies those tools will start when the person clicks yes. List the necessary cookies in plain words, state that non-essential cookies are not loaded, and do not load them. atmasko states that analytics and marketing are offered as choices and are off, and that the current build does not load an analytics script or an advertising pixel even if those categories are accepted. That is a pattern worth keeping: do not describe a choice as if it already fires a tool you have not switched on. This article names no supplier. The duty does not depend on a brand.
Keep a record of the choice that matches what was offered. Store when it was made, which version of the text was on screen, and whether the person accepted or rejected the non-essential categories. A cookie that remembers that decision is itself necessary, because the person asked you to remember it. Do not turn it into a diary of pages. You do not need a named product to store four fields. If you later change the categories, ask again. An old yes does not cover a new tool. An old no still means no until the person says otherwise.
What the banner does not do
The banner will not do jobs that belong elsewhere. It is not the place for the company's identity, the full list of purposes, or the retention rule. Those belong in the privacy notice under Articles 13 and 14. It does not legalise a people-search listing. It does not collect an email. If a non-essential cookie identifies a person, the GDPR basis is consent, and the ePrivacy rule still wants that consent before the cookie is set. Necessary cookies that contain personal data still need a GDPR basis, such as the contract the person asked for or a legitimate interest in keeping a session from being abused. Say that in the notice. The banner only has to be honest about the device.
Test it the way a visitor meets it. On a fresh browser, before any click, non-essential cookies should be absent. Reject should sit on the same screen as accept. Reject should leave the site usable. Accept should set only what the text described. The footer should let the person change their mind. If one of these fails, the banner is decoration. In Latvia a complaint about personal data can go to Datu valsts inspekcija at dvi.gov.lv. This article is general information, not legal advice. Questions about the cookies atmasko actually uses can go to support@gatsby.business. The controller is SIA GATSBY.