ConsentPixel – Privacy · Verified

Platform Guide · Webflow · 2026

Webflow Cookie Banner: Setup & Compliance

Webflow gives you total design control — and ships with no built-in cookie consent at all. Every tracker you add loads through custom code, which means your GA4, Meta Pixel, and Hotjar fire the moment a visitor lands, before anyone accepts anything. This guide covers how to add a Webflow cookie banner properly: where the code goes, how to block scripts before consent, and the US litigation angle most Webflow tutorials skip.

By ConsentPixel TeamUpdated August 202612 min readInformation, not legal advice
No native CMP
Webflow ships no consent banner — an unmanaged site is non-compliant by default
Custom code
Consent lives entirely in your head/footer code — full control, full responsibility
$5,000
Per-visitor CIPA exposure under Cal. Penal Code §637.2 for pre-consent tracking
Quick answer

To add a cookie banner to Webflow: Webflow has no native consent tool, so you paste a consent script into Project Settings → Custom Code → Head Code, load it before any other tracker, then configure it to block GA4, pixels, and embeds until the visitor consents.

  • The install path is the hard part: the consent script must load first in the head, or trackers fire before it can block them.
  • Running session-replay with US traffic: Hotjar/Clarity firing before consent creates CIPA exposure — the highest-risk gap.
  • Test on the production domain, not the webflow.io staging subdomain — results differ.

Do you need a cookie banner on Webflow?

Almost certainly, yes. Webflow itself sets very few cookies — but the moment you add Google Analytics 4, a Meta Pixel, Hotjar, a YouTube embed, or any marketing integration, your site places non-essential cookies on visitors. The EU's GDPR and ePrivacy rules require opt-in before those load; California's CCPA and 18 other US state laws require a clear opt-out. Because Webflow ships nothing native, an unmanaged Webflow site running any tracker is non-compliant by default — which is why regulators' recent enforcement (including CNIL's €150M SHEIN fine in September 2025 for pre-consent cookies) matters here.

Why Webflow is different: there's no native CMP

This is the crucial difference from other platforms, and it shapes everything about how you set up consent. WordPress has plugins. Shopify has a Customer Privacy API. Squarespace has a native banner. Webflow has none of these — cookie consent relies entirely on custom code you add yourself.

That cuts both ways. The upside: Webflow's custom-code area accepts any JavaScript, so a consent tool can intercept and manage scripts without platform restrictions — cleaner, in some ways, than fighting a platform's own half-measures. The downside: full responsibility sits with you. There's no toggle to flip; if you don't add a consent layer, nothing blocks anything.

⚠ The Finsweet cloneable is gone

For years the default free answer was Finsweet's cookie-consent cloneable. Finsweet has since deprecated it and moved it to a paid app — so older Webflow tutorials pointing you to the free cloneable are out of date. Plan for a real consent tool, not the legacy clone.

How to add a cookie banner to Webflow

Because there's no native option, every route is a variation on "add a consent script and configure blocking." Here's the correct sequence.

  1. Choose a consent tool that actually blocks scripts (not just shows an overlay), supports Google Consent Mode v2, and installs via a head snippet.
  2. In Webflow, go to Project Settings → Custom Code → Head Code. Paste the consent script at the very top, before any GA4, GTM, or pixel code. Load order is everything here.
  3. If you added trackers via the Integrations panel (Webflow's built-in GA/Facebook fields) or embedded them in page-level custom code, register those with your consent tool so they're gated too.
  4. Self-host Google Fonts if your compliance posture requires it (Webflow loads them from Google by default).
  5. Publish, then test on the production domain — not the webflow.io subdomain. Open incognito, open DevTools → Network, and confirm non-essential scripts stay blocked until you consent. Test all three paths: reject, partial, accept.

See which trackers fire before consent on your Webflow site

A banner that's showing isn't proof anything is blocked. Run a free scan to see every tracker and cookie firing before a visitor opts in — including your custom-code and Integrations-panel scripts — in about 10 seconds. No account needed.

Scan your site free →
No account needed · results in ~10 seconds · information, not legal advice

The mistakes that break Webflow consent

Because it's all manual, Webflow consent fails in specific, common ways:

  • Consent script loaded too late. If it isn't first in the head, GA4 and pixels initialise before it can block them — the single most common Webflow mistake.
  • Notice-only widgets. Many "cookie banner" scripts display a bar but don't actually block anything. A banner that shows while trackers fire meets the notice requirement, not the consent requirement.
  • Integrations-panel trackers left ungated. The GA and Facebook fields in Webflow's own settings fire independently of a banner you added separately.
  • Testing on webflow.io. The staging subdomain behaves differently from your live domain — always verify on production.
  • Embeds forgotten. A YouTube or Vimeo embed sets third-party cookies on render, not on play.

We built the deeper, Webflow-specific version of this — including the exact head-code order and a full native-vs-ConsentPixel breakdown — into our cookie consent for Webflow guide.

Your 2 options for a compliant Webflow cookie banner

With no native tool, it comes down to two realistic routes — honestly compared.

1. An independent consent tool (e.g. ConsentPixel)

Best for: any Webflow site running GA4, GTM, pixels, embeds, or session-replay — especially with US visitors. A dedicated consent layer added with one head snippet that blocks trackers before consent, passes all four Google Consent Mode v2 parameters, detects GPC, and keeps a timestamped consent log. Among independent tools, ConsentPixel — Privacy · Verified is built prevention-first: it blocks scripts rather than showing a notice over them, and Webflow's open custom-code area is ideal for it.

2. A general CMP or app (CookieYes, Cookiebot, Termly, Finsweet Consent Pro)

Best for: sites wanting a banner-and-policy bundle. These install via the same head-code route and add consent categories. They're capable and widely used. The difference is emphasis: verify the tier you pick actually blocks scripts before consent — some display categories while trackers fire — and check its GPC and CIPA coverage, which varies by plan.

The US angle most Webflow guides skip: CIPA

Nearly every "Webflow cookie banner" tutorial focuses on GDPR. It matters — but if any of your visitors are in the United States, the more urgent 2026 risk is often the California Invasion of Privacy Act (CIPA). Plaintiffs' firms have built a sustained wave of "wiretapping" lawsuits arguing that session-replay tools, tracking pixels, and chat widgets capturing a visitor's activity before consent amount to unlawful interception. Under California Penal Code §637.2, a plaintiff can seek statutory damages of $5,000 per violation — often read per affected visitor — with no proof of harm required.

Why this hits Webflow sites specifically: with no native gate and everything running through custom code, session-replay tools like Hotjar and Clarity almost always fire on load unless you've deliberately blocked them. A Webflow site running Hotjar and serving California visitors can carry real exposure even with a banner on screen. The fix is to hard-block those scripts until consent. You can follow the trend on our CIPA Lawsuit Tracker.

🚫 The one thing to check today

If your Webflow site uses any session-replay or heatmap tool and gets US traffic, confirm it does not fire before consent. With no native CMP catching it, this is the single highest-value privacy fix on most Webflow sites.

See exactly what fires on your Webflow site before consent

Run the same scan a plaintiff's firm would: every tracker and cookie loading before opt-in — custom-code scripts and embeds included — in about 10 seconds. Then, if it's your site, close the gap with one head snippet and run ConsentPixel free for 14 days.

Scan your Webflow site free →
No account for the scan · then a 14-day trial, no credit card, from $8.99/domain/mo · or read the full Webflow setup guide

Frequently asked questions

Does Webflow have a built-in cookie banner?

No. Unlike WordPress (plugins), Shopify (Customer Privacy API), or Squarespace (a native banner), Webflow ships no built-in cookie consent tool at all. Consent relies entirely on custom code you add through Project Settings → Custom Code, or a third-party app. This means any Webflow site running analytics or marketing trackers is non-compliant by default until you add a consent layer yourself.

Where do I add cookie consent code in Webflow?

In Project Settings → Custom Code → Head Code, paste your consent script at the very top — before any GA4, GTM, or pixel code. Load order matters: if the consent script isn't first, trackers initialise before it can block them. For page-specific trackers, use the page-level custom code field. Always publish and test on your production domain, not the webflow.io staging subdomain, since behaviour differs.

Why do my Webflow trackers fire before anyone consents?

Usually one of two reasons: the consent script loaded too late (not first in the head), or the "banner" you added only displays a notice without actually blocking scripts. Trackers added through Webflow's Integrations panel (the built-in GA/Facebook fields) also fire independently of a separately-added banner. The fix is a consent tool that loads first and genuinely blocks GA4, pixels, and embeds until the visitor consents. This is general information, not legal advice.

Is a Webflow cookie banner GDPR compliant on its own?

It depends entirely on what you added, because Webflow provides nothing native. GDPR requires non-essential processing to wait for consent — so a banner that merely displays while your custom-code GA4 and Hotjar keep firing meets the notice requirement but not the consent requirement. To make a Webflow site genuinely compliant, use a consent layer that blocks scripts before consent, sets Google Consent Mode v2, and honours the GPC signal. No tool makes any website fully compliant on its own. This is general information, not legal advice.

Does my Webflow site have CIPA (US wiretapping) risk?

Potentially, yes — if your Webflow site uses session-replay or heatmap tools (like Hotjar or Clarity), tracking pixels, or chat widgets that capture visitor activity before consent, and you receive visitors from California. Under California Penal Code §637.2, plaintiffs can seek statutory damages of $5,000 per violation, often read per affected visitor, with no proof of harm required. Because Webflow has no native gate, these scripts almost always fire on load unless deliberately blocked. The protective step is to hard-block session-replay before consent. This is general information, not legal advice.

What's the best cookie consent tool for Webflow?

The right choice depends on what you're running. For sites with US visitors or session-replay tools, an independent prevention-first layer like ConsentPixel blocks trackers before consent and adds CIPA session-replay blocking, GPC detection, and Consent Mode v2 from one head snippet. General CMPs (CookieYes, Cookiebot, Termly) and Finsweet's Consent Pro also work via the same head-code route — just verify the tier you choose actually blocks scripts rather than only displaying categories.

Scroll to Top