Back to blog
    Header image for the article "Cookies and GDPR: Compliance Guide for Cookie Banners 2026"
    WCAG & GDPR compliance07/06/20268 min

    Cookies and GDPR: Compliance Guide for Cookie Banners 2026

    Want to know how your own site is doing?

    EDPB and AKI have tightened cookie banner rules for 2024-2026. 'Accept all' dark patterns are no longer permitted. Learn the new requirements.

    Author: Kodulehehaldus

    What are cookies from a legal perspective?

    Cookies are text files that a website stores on a user's device. According to the GDPR and the ePrivacy Directive, they are divided into:

    TypeExampleConsent required?
    Strictly necessarySession ID, shopping cartNo
    FunctionalLanguage selectionNo (if set by user)
    AnalyticsGoogle Analytics, HotjarYES
    MarketingFacebook Pixel, Google AdsYES

    New EDPB and AKI rules (2024-2026)

    The European Data Protection Board released the Cookie Banner Taskforce report in 2024. The Estonian Data Protection Inspectorate (AKI) follows these guidelines.

    What is FORBIDDEN:

    ❌ "Accept all" button being greener or larger than "Reject all" ❌ "Reject all" hidden behind a second click (e.g., "Settings → Reject all") ❌ Pre-ticked checkboxes ❌ Cookie walls ("Accept or you cannot access content") ❌ Dark patterns (e.g., "Are you sure?" prompts after clicking Reject) ❌ Storing cookies before consent (including loading the GA script)

    What is MANDATORY:

    ✅ "Accept all" and "Reject all" must be the same size and on the same level ✅ Granular choice (analytics separate from marketing) ✅ Withdrawing consent must be as easy as giving it ✅ A list of all cookies (name, purpose, duration, provider) ✅ No non-essential scripts loaded without prior consent

    Technical Implementation

    Easiest option: SaaS tools

    • Cookiebot – ~€10-50/month, auto-scanning
    • Iubenda – Comprehensive, excellent legal templates
    • Termly – A more affordable alternative

    Free open-source options:

    Custom (if you have a developer):

    Implement Google Consent Mode v2 – this allows GA to function, even without full consent (anonymous mode).

    Google Analytics 4 and GDPR

    GA4 is not GDPR-compliant by default. Take these steps:

    1. Disable IP address collection (GA4 anonymises by default – verify this)
    2. Disable Google signals and Ads personalisation (unless consent is given)
    3. Set Data Retention to 2 months (Admin → Data Settings → Data Retention)
    4. Add Consent Mode v2
    5. Sign a DPA with Google (automatic for EU accounts)

    Common Mistakes in Estonia

    Based on our GDPR audits of Estonian websites:

    1. 89% of sites load GA before consent
    2. 76% use "Reject all" as a hidden button
    3. 54% do not list the cookies used
    4. 42% enable Facebook Pixel automatically

    In 2024, the AKI issued compliance requirements to 12 Estonian companies, including two major e-commerce stores.

    Fines

    • France: Google €150M, Amazon €35M (2021-2022)
    • Estonia: up to €20M (theoretical upper limit)

    Action Plan

    1. Scan your site – Cookie-Script.com
    2. List all cookies – name, purpose, duration
    3. Choose a tool (Cookiebot, Klaro, etc.)
    4. Install Consent Mode v2
    5. Test – users must be able to "Reject all" with 1 click
    6. Maintain logs – keep consent history for 1-3 years

    Further Reading

    Need help setting up your cookie banner? Check out our website maintenance services.

    Join the newsletter

    Once a month, practical tips on making your website faster, more secure and easier to find on Google and in AI search.

    By subscribing you receive our newsletter. You can unsubscribe at any time from the end of every e-mail. Privacy policy

    Author

    Kodulehehaldus.com (Innov8it OÜ) – an Estonian web agency that builds, maintains and optimises websites.

    Related articles