EasyCookie

Add cookie consent banners to your Webflow site to comply with GDPR, CCPA, and other privacy regulations.

Install app
View website
View lesson
A record settings
CNAME record settings
EasyCookie

How to integrate EasyCookie with Webflow

Cookie consent management blocks tracking scripts until users grant permission. EasyCookie integrates with Webflow through custom code, letting you control exactly which scripts require consent and when they execute.

Add the consent banner script directly to your site, manage script blocking through Google Tag Manager (GTM), or configure manual blocking with consent attributes. A paid Webflow plan is required to access custom code functionality.

Install the consent banner script using Webflow Code Embeds

The basic EasyCookie embed script displays the consent banner but doesn't block tracking until you configure blocking methods.

Create your consent banner using the EasyCookie builder, then follow these steps:

  1. Configure banner text, button labels, and consent categories (Absolutely necessary, Advertising, Analytical, Functional)
  2. Choose layout (Banner with top/bottom positioning, Modal, or Popup) and apply color themes
  3. Copy the embed script from the configurator dashboard by clicking Copy embed then Copy script
  4. Paste in Webflow under Site Settings > Custom Code > Head Code section
  5. Publish your site to activate the consent banner

The script displays the banner interface but doesn't block tracking scripts until you configure either Google Tag Manager integration or manual script blocking.

Configure consent blocking

Choose Google Tag Manager for automated consent management across all tags, or use manual script attributes for control over individual scripts.

Block scripts with Google Tag Manager

The GTM integration method provides consent management without modifying individual script tags. EasyCookie communicates consent state to Google Tag Manager, which controls when tags fire.

Create two GTM triggers in your GTM dashboard:

  1. DOM Ready trigger that fires on all DOM readiness events
  2. ConsentUpdate custom event trigger that listens for consent state changes

Assign triggers to analytics tags by locating your Google Analytics or Google Ads tag in GTM's Tags section, removing the default initialization trigger, and assigning the two newly created triggers. Under Advanced Settings > Consent Settings, enable "Require additional consent" for analytics_storage on GA4 tags. For advertising tags, also require ad_storage and personalization_storage.

This approach works with any tag type in GTM. EasyCookie sets consent state to "denied" by default, then updates to "granted" when users accept cookies.

Block scripts with manual attributes

The manual script blocking method modifies script tags in Webflow's custom code sections by changing their type attribute from text/javascript to text/plain and adding consent category identifiers. EasyCookie automatically switches the type back to text/javascript after consent is granted.

Before consent (blocked script):

<script type="text/plain" data-easycookie-analytics src="analytics.js"></script>

After consent (active script):

<script type="text/javascript" src="analytics.js"></script>

Available consent categories:

  • data-easycookie-analytics for analytics tracking
  • data-easycookie-advertising for advertising pixels
  • data-easycookie-functional for functional/preference cookies

For dynamically loaded scripts like Facebook Pixel, listen for the easycookieUpdateConsent event and programmatically grant or revoke consent:

document.addEventListener('easycookieUpdateConsent', function(e) {
  if (e.detail.ad) {
    fbq('consent', 'grant');
  } else {
    fbq('consent', 'revoke');
  }
});

Apply these modifications in Webflow's Project Settings → Custom Code (in the Head Code or Footer Code section) or within Code Embed elements on specific pages.

What you can build

Integrating EasyCookie with Webflow enables privacy-compliant tracking through cookie consent management and script blocking while supporting Google Consent Mode v2 for maintaining marketing effectiveness.

  • Multi-client compliance dashboards: Digital agencies managing portfolios of Webflow sites can centralize consent management across all client projects through EasyCookie's dashboard, creating customized banner templates matching each client's brand guidelines and maintaining separate consent logs per domain
  • Privacy-preserving analytics implementations: Connect EasyCookie with Google Consent Mode v2 to maintain conversion measurement when users decline tracking cookies through conversion modeling that estimates conversions using aggregated data while respecting user choices about cookie acceptance
  • Compliant e-commerce tracking: Build Webflow e-commerce stores that block advertising pixels (Facebook, Google Ads remarketing) and analytics trackers until users opt in while preserving essential shopping cart functionality through either Google Tag Manager integration or manual script blocking using consent attributes

Frequently asked questions

  • Yes. Custom code insertion requires a paid Webflow site plan (Basic, CMS, Business, or Enterprise). Budget for a minimum paid Webflow plan starting at $14/month for basic sites in addition to EasyCookie subscription costs.

  • EasyCookie provides two methods to block scripts until user consent is obtained:

    Option A: Google Tag Manager Integration (Recommended)

    The EasyCookie GTM integration guide shows how to configure Google Tag Manager to respect consent choices without custom coding:

    1. Create two GTM triggers: "DOM Ready" and "ConsentUpdate" custom-event trigger
    2. Locate your analytics tag in GTM's Tags section and remove the default initialization trigger
    3. Assign the newly created triggers to your tag
    4. Under Advanced Settings → Consent Settings, enable "Require additional consent" for analytics_storage
    5. For advertising tags, also require ad_storage and personalization_storage

    Option B: Manual Script Blocking

    For manual control, modify non-essential script tags as described in the EasyCookie custom scripts guide:

    <!-- Before (script executes immediately) -->
    <script type="text/javascript" src="analytics.js"></script>
    
    <!-- After (blocked until consent) -->
    <script type="text/plain" data-easycookie-analytics src="analytics.js"></script>
    

    EasyCookie automatically switches the type back to text/javascript after consent is granted.

    For asynchronous scripts like Facebook Pixel, use:

    document.addEventListener('easycookieUpdateConsent', function(e) {
     if (e.detail.ad) {
     fbq('consent', 'grant');
     } else {
     fbq('consent', 'revoke');
     }
    });
    
  • Yes. The EasyCookie banner builder provides a visual configurator where you customize banner text, button labels, positioning (top/bottom banner, modal, or popup), and color schemes with live preview. Apply preset color themes or define custom colors to match your Webflow site's brand guidelines. Changes take effect immediately after republishing your Webflow site.

  • The Webflow integrations page confirms that EasyCookie works with Webflow forms, CMS collections, interactions, and e-commerce functionality. EasyCookie operates by controlling when third-party tracking scripts load based on user consent—it does not interfere with Webflow's native features. Shopping cart cookies and other essential functionality continue working regardless of consent choices.

  • The Webflow Custom Code documentation confirms that scripts only execute on published sites, not in Designer preview mode. To test your EasyCookie implementation:

    1. Publish to Webflow's staging subdomain (yoursite.webflow.io) before testing banner functionality
    2. Test banner appearance and consent functionality on the staging environment
    3. Verify that scripts are properly blocked until consent is granted using your chosen method:
    • GTM Method: Test through Google Tag Manager's debug mode to confirm consent triggers are working
    • Manual Method: Check that scripts with data-easycookie-* attributes are blocked in the Network tab of browser developer tools
    1. Clear browser cache and test in incognito mode to verify cookie persistence
    2. Test consent withdrawal to ensure scripts stop firing when consent is revoked
EasyCookie
EasyCookie
Joined in

Description

EasyCookie (from easycookie.io) is a cookie consent management platform that automatically scans your site for tracking cookies, displays customizable consent banners, and blocks non-essential scripts until users opt in. The platform supports geo-targeting, multiple languages, and integrates with Google Consent Mode v2 for privacy-preserving analytics when users decline tracking.

Install app

This integration page is provided for informational and convenience purposes only.


Other Legal compliance solutions integrations

Other Legal compliance solutions integrations

HoneyBook

HoneyBook

HoneyBook integrates with Webflow through embedded forms and automation tools. You can capture form submissions directly in HoneyBook, create clients automatically from Webflow forms, and build custom integrations using both platforms' APIs.

Legal compliance solutions
Learn more
DocuSign

DocuSign

Integrate DocuSign's e-signature platform with Webflow to send signature requests and track document status from your website. Send signature requests, track document status, and collect legally binding agreements through automated API-triggered workflows.

Legal compliance solutions
Learn more
Osano Cookie Consent

Osano Cookie Consent

Implement GDPR and CCPA-compliant cookie consent on your Webflow site with Osano's powerful consent management platform, enabling automatic cookie blocking, customizable consent banners, and comprehensive compliance reporting without coding.

Legal compliance solutions
Learn more
Iubenda Privacy & Cookie Policy

Iubenda Privacy & Cookie Policy

Automate privacy compliance for your Webflow site with Iubenda's comprehensive privacy and cookie policy solutions. Generate GDPR, CCPA, and LGPD-compliant policies, display customizable cookie banners, and manage user consent — all without complex coding.

Legal compliance solutions
Learn more
Openli (formerly Legal Monster)

Openli (formerly Legal Monster)

Connect Openli’s automated compliance platform with Webflow to add GDPR-compliant cookie consent banners and privacy management while maintaining complete design control over consent experiences.

Legal compliance solutions
Learn more
iubenda privacy policy

iubenda privacy policy

Generate your privacy policy with iubenda and integrate it on your Webflow website to comply with GDPR, Cookie Law, CCPA and LGPD.

Legal compliance solutions
Learn more
Iubenda

Iubenda

Connect iubenda's privacy compliance tools to Webflow sites for automated legal documentation and consent management.

Legal compliance solutions
Learn more
Privado Cookie Consent

Privado Cookie Consent

Connect Privado Cookie Consent with Webflow to automate cookie compliance and consent monitoring.

Legal compliance solutions
Learn more
Cookiebot

Cookiebot

Enable GDPR-compliant cookie consent management on your Webflow site with automated scanning, customizable banners, and seamless Google integration — protecting user privacy while maintaining marketing capabilities.

Legal compliance solutions
Learn more

Related integrations

No items found.

Get started for free

Try Webflow for as long as you like with our free Starter plan. Purchase a paid Site plan to publish, host, and unlock additional features.

Get started — it’s free