What Is GDPR Cookie Compliance? A Complete Guide
If you run a website — any website — there's a good chance you're using cookies. And if any of your visitors are in the European Union, you're subject to some of the strictest privacy regulations in the world. Understanding GDPR cookie compliance isn't optional anymore; it's a business necessity.
What Are Cookies, Exactly?
Cookies are small text files that websites store on a visitor's device. They serve many purposes: remembering login sessions, storing shopping cart items, tracking which pages a user visits, and building advertising profiles.
Not all cookies are created equal. There are four main categories:
- Strictly Necessary Cookies: Essential for the website to function. Login sessions, security tokens, load balancers. These don't require consent.
- Functional Cookies: Remember user preferences like language or theme. Helpful but not essential.
- Analytics Cookies: Track user behavior, page views, and session duration. Google Analytics is the most common example.
- Marketing/Advertising Cookies: Build user profiles for targeted advertising. Facebook Pixel, Google Ads remarketing, and dozens of ad tech trackers fall here.
Why Does Consent Matter?
Under the GDPR (General Data Protection Regulation) and the ePrivacy Directive, websites must obtain informed, explicit, and freely given consent before placing any non-essential cookies on a user's device. This means:
- You cannot pre-check consent boxes.
- You cannot use "cookie walls" that force users to accept all cookies to access content.
- You must provide an easy way to reject non-essential cookies — as easy as accepting them.
- You must explain what each cookie does in plain language.
- Consent must be recorded and auditable.
Simply displaying a banner that says "This site uses cookies" with only an "OK" button is not compliant. This approach has led to millions of euros in fines for companies across Europe.
What Does the Law Actually Require?
The legal requirements can be broken down into several key obligations:
- Prior Consent: Non-essential cookies must not be set until the user gives explicit consent. This means your analytics and marketing scripts should be blocked by default.
- Granular Control: Users must be able to accept or reject cookies by category (analytics, marketing, functional) — not just "accept all" or "reject all."
- Easy Withdrawal: Users must be able to change or withdraw their consent at any time, as easily as they gave it.
- Transparency: Your cookie policy must clearly list every cookie, its purpose, its provider, and its expiry period.
- Documentation: You must keep records of consent — who consented, when, and to what.
What Are the Penalties?
GDPR violations can result in fines of up to €20 million or 4% of global annual revenue, whichever is higher. Cookie-specific fines have been significant:
- Google was fined €150 million by France's CNIL for making it harder to reject cookies than to accept them.
- Amazon received a €746 million fine (the largest GDPR fine ever) partly related to cookie and tracking consent issues.
- Meta was fined €390 million for forcing users to accept personalized advertising as a condition of using Facebook and Instagram.
Even smaller businesses are not immune. Data protection authorities across Europe have increasingly targeted SMEs and mid-market websites, issuing fines ranging from €10,000 to €500,000 for cookie violations.
How to Get Compliant
The first step is understanding what cookies your website actually sets. Many website owners are surprised to find that their site loads 20, 30, or even 50+ cookies — most of which they never intentionally added. Third-party plugins, embedded videos, social media widgets, and analytics tools all bring their own cookies.
A comprehensive cookie scan identifies every cookie and tracker on your site, categorizes them, and flags compliance issues. From there, you can implement a proper consent management solution: a compliant banner with granular controls, automatic blocking of non-essential cookies before consent, and proper documentation.
Find Out If Your Website Is Compliant
CookieGuard scans your website in 30 seconds and shows every cookie, tracker, and violation. Free, no signup required.
Scan Your Website Free →