GDPRChecker

Home / Knowledge Base / Should Websites Block All Cookies Until Consent? A Practical GDPR Guide

Website Compliance

Should Websites Block All Cookies Until Consent? A Practical GDPR Guide

This guide explains the GDPR requirement to block non-essential cookies until user consent is obtained. It covers legal expectations, step-by-step implementation, common mistakes, and how to validate compliance using GDPRChecker's scanning tools. Includes a comparison table, real-world examples, a detailed checklist, and FAQs to help website owners ensure their cookie practices are compliant.

Author

GDPRChecker Editorial Team

Reviewed by

Privacy & Compliance Research Team

Last updated

August 2026

Reading time

11 min read

Educational guidance for compliance readiness — not legal advice. Requirements vary by jurisdiction and your specific processing activities.

Introduction

*Updated for 2026 compliance practices.*

Understanding whether websites should block all cookies until consent is a critical compliance topic for website owners validating consent, tags, and disclosures. Under the GDPR and ePrivacy Directive, the default position is that non-essential cookies and trackers must not be set or accessed before the user has given unambiguous consent. This guide provides technical implementation guidance—not legal advice—to help you configure your site correctly, avoid common pitfalls, and verify your setup with scanning tools like GDPRChecker.

Common Mistakes and How to Avoid Them

Many websites fail to achieve proper prior blocking due to these common mistakes:

  • **Firing tags before consent**: Even if a banner is displayed, tags may still fire on page load. This often happens when Google Consent Mode default commands are not set correctly or when tags are not configured to wait for consent.
  • **Assuming a CMP handles everything**: Not all CMPs automatically block tags. Some only record consent but rely on the tag manager to enforce it. Verify your CMP's capabilities.
  • **Ignoring "Reject All" functionality**: A banner that only offers "Accept" or "Customize" without an easy "Reject All" option is non-compliant. Users must be able to refuse all non-essential cookies with one click.
  • **Not blocking third-party scripts**: Embedded content like YouTube videos, social media widgets, or advertising pixels often set cookies. These must be blocked until consent is obtained.
  • **Forgetting about cookie updates**: If you add new tags or change your site, you must re-audit and ensure blocking remains effective. Regular scans with GDPRChecker can catch these gaps.

How to Validate with GDPRChecker

GDPRChecker's scanning tools help you verify that your prior blocking implementation is working correctly. Here's how to use it:

  1. **Run a pre-consent scan**: GDPRChecker will simulate a first visit to your site and check for any network requests that set cookies before consent. It identifies trackers, cookies, and consent banner behavior.
  2. **Check banner disclosures**: The scanner verifies that your consent banner is present, that it provides the required information, and that the "Reject" option is functional.
  3. **Monitor ongoing compliance**: On paid plans, GDPRChecker can continuously monitor your site for new trackers or consent gaps, providing alerts when something changes.
  4. **Validate Google Consent Mode v2**: If you use Google Consent Mode, GDPRChecker can diagnose whether default consent states are correctly set and whether tags are respecting consent signals. See our [Google Consent Mode v2 checker guide](/guides/google-consent-mode-v2-checker) for details.

After making changes, always re-scan to confirm that no non-essential cookies slip through. This evidence can also serve as part of your compliance documentation.

Comparison: Blocking All Cookies vs. Conditional Blocking

There is often confusion between blocking all cookies until consent and allowing some cookies under certain conditions. The table below clarifies the differences:

| Approach | Description | GDPR Compliance | Typical Use Case | |----------|-------------|-----------------|------------------| | Block all non-essential cookies until consent | No non-essential cookies are set until the user explicitly opts in. | Fully compliant with prior consent requirement. | Recommended for most websites. | | Conditional blocking with Consent Mode | Tags load but behave differently based on consent state (e.g., cookieless pings). | Compliant if implemented correctly; requires careful configuration. | Sites using Google services that want to collect some data without cookies. | | Allow all cookies, then honor opt-out | Cookies are set immediately, and only removed if the user opts out. | Non-compliant; violates prior consent. | Not acceptable under GDPR. |

For Google-specific implementations, understanding the difference between a standard CMP and Google's requirements is crucial. Our article on Consent Mode v2 vs. Google Certified CMP explains this in depth.

Real-World Examples

**Example 1: E-commerce site with Google Analytics and Facebook Pixel** An online store uses Google Analytics 4 and Facebook Pixel for conversion tracking. Before implementing prior blocking, both tags fired on page load, setting cookies immediately. After configuring Google Consent Mode v2 with default "denied" and integrating a CMP that triggers consent updates, the tags only fire when the user clicks "Accept." GDPRChecker's pre-consent scan confirmed zero non-essential cookies before consent.

**Example 2: Content publisher with ad networks** A news website relies on multiple ad networks. They implemented a CMP that blocks all ad scripts by default. However, they forgot to block a social media share widget that set cookies. A GDPRChecker scan flagged the widget, and they added it to the blocking list. They now run weekly scans to catch any new third-party scripts.

**Example 3: SaaS company using Google Tag Manager** A B2B SaaS company uses Google Tag Manager with various marketing tags. They set up consent triggers but mistakenly left one tag firing on "All Pages" without a consent check. After a GDPRChecker scan revealed the issue, they corrected the trigger and now use GDPRChecker's monitoring to prevent future misconfigurations.

Implementation Checklist

Use this checklist to ensure your website correctly blocks cookies until consent:

  1. Audit all cookies and trackers using a scanner like GDPRChecker.
  2. Classify each cookie as strictly necessary or non-essential.
  3. Choose a consent mechanism (CMP, tag manager, or custom).
  4. Configure default blocking for all non-essential tags.
  5. If using Google Consent Mode v2, set default consent states to "denied."
  6. Design a consent banner with "Accept All," "Reject All," and "Customize" options.
  7. Ensure the "Reject All" button is as prominent as "Accept All."
  8. Test that no non-essential cookies are set before consent using browser tools and GDPRChecker.
  9. Verify that third-party embeds (videos, social media) are blocked until consent.
  10. Document your implementation and keep records of consent.
  11. Schedule regular scans with GDPRChecker to catch new trackers or configuration drift.
  12. Update your privacy policy to accurately reflect your cookie practices.

FAQ

What is "should websites block all cookies until consent"? It refers to the GDPR requirement that non-essential cookies and trackers must not be set on a user's device before they have given explicit consent. This means implementing technical measures to block such cookies by default, typically through a consent management platform or tag manager configuration.

Do I need to block all cookies until consent for GDPR? Yes, for non-essential cookies. The GDPR and ePrivacy Directive require prior consent for any cookies that are not strictly necessary for the website's basic functionality. Essential cookies, like those for a shopping cart or login session, can be set without consent.

How do I implement blocking all cookies until consent? Start by auditing your cookies, then configure your consent mechanism to block non-essential tags by default. Use a tag manager with consent triggers or Google Consent Mode v2 with default "denied" states. Test thoroughly with browser tools and GDPRChecker scans.

How can I verify blocking with a scanner? Use GDPRChecker's pre-consent scan to simulate a first visit. It checks for network requests that set cookies before consent and reports any violations. Regular scans help ensure ongoing compliance as your site changes.

What are common mistakes when blocking cookies until consent? Common mistakes include firing tags before consent, not providing a "Reject All" button, forgetting to block third-party scripts, and assuming a CMP automatically blocks all tags. Regular testing and scanning can catch these issues.

Which cookies and trackers should I check for? Check all analytics, advertising, social media, and functional cookies that are not strictly necessary. This includes Google Analytics, Facebook Pixel, LinkedIn Insight Tag, YouTube embeds, and any other third-party services that set cookies.

How often should I review my cookie blocking setup? Review your setup whenever you add new tags, change your site, or update your consent mechanism. Additionally, schedule regular scans—at least monthly—to catch unintended changes. GDPRChecker's monitoring can automate this.

What evidence should I keep for compliance? Keep records of your cookie audit, consent mechanism configuration, and consent logs. GDPRChecker scan reports can serve as evidence that your site blocks cookies correctly before consent. Documentation should be readily available for supervisory authorities.

Next Steps

Ensuring your website blocks all non-essential cookies until consent is not just a legal checkbox—it builds trust with your users and protects your business from enforcement risks. Start by scanning your site with GDPRChecker to identify any pre-consent cookies, then follow the implementation steps in this guide. For deeper dives into related topics, explore our guides on whether you need a CMP if you don't run Google Ads and Google Consent Mode v2 diagnostics.

Ready to verify your compliance? Run a free scan with GDPRChecker now and close any consent gaps before they become a problem.

Next step

Run a GDPRChecker scan to validate consent behavior, trackers, and disclosures after you implement the checklist above.

Practical examples

Example 1: A small ecommerce site

A shop changes its cookie banner wording before a seasonal campaign. The operator records the previous and new banner version, tests Reject all and Accept all, and stores screenshots plus the resulting network checks. That creates a clear before-and-after record without relying on memory.

Example 2: A B2B lead-generation site

A marketing team adds a form analytics tag through its tag manager. Before publishing, it documents the consent category, the tag trigger, the privacy notice update, and a test showing that the request does not fire after a visitor rejects optional cookies.

Example 3: A multi-page content site

An editor notices that a new embedded video adds a third-party request. The team scans the affected pages, compares the result with the last scan, updates the cookie disclosure if necessary, and keeps the scan report with the deployment reference.

Article schema

```json { "@context": "https://schema.org", "@type": "Article", "headline": "Should Websites Block All Cookies Until Consent? A Practical GDPR Guide", "description": "Learn whether websites should block all cookies until consent under GDPR. Step-by-step implementation, common mistakes, and how to verify compliance with GDPRChecker's scanner.", "mainEntityOfPage": { "@type": "WebPage", "@id": "https://www.gdprchecker.online/guides/should-websites-block-all-cookies-until-consent" }, "publisher": { "@type": "Organization", "name": "GDPRChecker", "url": "https://www.gdprchecker.online" } } ```

GDPRChecker guides are educational resources and do not constitute legal advice. Use them to understand technical and operational privacy requirements, and consult qualified counsel for legal interpretation.

Check Your Website in Under 60 Seconds

  • No signup required
  • GDPR-focused checks
  • Cookie banner detection
  • Privacy policy verification