Skip to Content
Compliance & frameworksCompliance by region or platformComply with EU and global consent laws

To comply with EU and global opt-in laws, your domain must:

  • Show a consent dialog before setting non-essential cookies
  • Block all non-essential tracking scripts by default
  • Provide clear and granular consent options
  • Allow users to withdraw consent at any time

How you achieve this depends on whether you’re creating a new domain or updating an existing one.


New domains

When creating a new domain in the CookieHub dashboard:

  1. Select the Default (Explicit consent) template, or the Geo-targeted with CCPA/CPRA opt-out template.
  2. These templates configure:
    • Region-based rules
    • Cookie categories
    • Auto-blocking of non-essential cookies
    • Consent banner behavior

No further setup is required for typical use cases.


Existing domains

To update an existing domain to comply with opt-in requirements:

  1. Go to the Dashboard → Domain list
  2. Select your domain, then click Settings
  3. Under Regional settings, ensure:
    • The region(s) you want to configure are set to use CookieHub as the framework
    • The Consent type is set to Explicit consent / opt-in
  4. Click Customize for the region and make sure the “Deny all” button is enabled in the consent dialog.

    This is required to ensure consent is freely given and as easy to refuse as it is to accept, in line with GDPR and CNIL guidelines.

  5. (Optional) Add new regions if you want to apply different consent types for specific countries (e.g., implied consent in low-risk jurisdictions)

Implementation details

If you install CookieHub directly in your website’s HTML, place the embed script in the <head> section above all tracking scripts.

✅ This enables:

  • Automatic cookie blocking: CookieHub will automatically prevent scripts from executing until the user gives consent.
  • Easy setup: No extra configuration needed for most services.

Google Tag Manager (GTM) implementation

If you load CookieHub through GTM:

⚠ The automatic cookie blocker is not active. In this case:

  • Google Consent Mode v2 is used instead
  • Tags that support Consent Mode will wait for consent before firing
  • Tags that do not support Consent Mode must be manually configured using CookieHub’s additional consent method

Refer to Installation → Additional Consent for setup instructions.


Summary: HTML vs GTM

MethodAuto Cookie BlockingGoogle Consent ModeManual Tag Control
HTML (head tag)✅ Yes✅ Optional❌ Not needed for supported tags
GTM❌ No✅ Required✅ Required for unsupported tags

Last updated on