Cookie Banner
What is a Cookie Banner?
A cookie banner is a consent layer that appears on first contact with a website and collects a decision about storing and reading information on the device. The layer separates technically necessary storage from optional purposes such as analytics, marketing or embedded media. Depending on the decision, tracking scripts, advertising pixels and third party embeds load or stay blocked. The banner is usually the first interactive element of a session and therefore shapes both the measurement setup and the first impression of a shop.
Definition
In the European Union two frameworks meet: the General Data Protection Regulation governs the processing of personal data, while the ePrivacy Directive and its national implementations, in Germany the TDDDG, govern access to information stored on terminal equipment. Common expectations are an informed, specific, freely given and revocable decision, equally prominent options to accept and to reject, and no pre selected optional categories. A consent management platform stores the decision, its scope and its timestamp and passes signals to tag management. This description is general and does not replace legal assessment of a concrete setup.
Why it matters
In a composable storefront, consent becomes a state that other components read. The signal is available to the rendering layer, so embeds such as maps, video players or chat widgets can show a placeholder until the relevant category is granted. Because banners load early, their size and blocking behaviour affect layout stability and Core Web Vitals; a reserved area prevents layout shift. Edge caching needs care, as consent dependent markup should not be cached for all visitors. Server side tagging and consent aware analytics modes are common patterns to keep measurement usable under restrictive decisions.
Use cases
The banner appears on the first page view, whether that is a landing page, a product page or a blog article, and again after the storage period ends or when purposes change. A settings link in the footer allows revocation at any time without searching. Category pages with embedded video, product pages with third party review widgets and checkouts with payment or fraud scripts are the places where blocked resources become visible. Measurement reacts as well: without marketing consent, attribution relies on modelled or aggregated data, which changes how campaign reports are read.
Related
Explore Consent Mode · First-Party Data.