A CNIL-compliant cookie banner on Webflow: setup guide
Published November 18, 2026
How to run a cookie banner on Webflow that follows the CNIL rules: equal Accept and Reject buttons, ad tags blocked until consent, and a test you can repeat.
A GDPR-ready cookie banner on Webflow needs three things: a banner that offers "Reject all" as easily as "Accept all", Meta and Google tags that do not fire before the visitor says yes, and a way to prove both. Webflow gives you the place to paste code, not the consent logic. The banner and the blocking come from a consent tool you add yourself.
What does the CNIL actually require from a banner?
The CNIL states that a visitor must be able to accept or refuse cookies with the same degree of simplicity, and that withdrawing consent must be as easy as giving it. It also says consent must be a positive action by a visitor who was informed first. You can read the wording on the CNIL page what the law says about cookies.
In practice, that gives you a short checklist:
- a "Reject all" button on the first layer, in the same shape and weight as "Accept all";
- nothing optional loaded before the choice (analytics that need consent, ad pixels, embeds that set cookies);
- closing the banner without clicking counts as a refusal, not as acceptance;
- a way to change the choice later, from a link in the footer.
In its cookie recommendation, the CNIL also considers that keeping the visitor's choice, whether consent or refusal, for 6 months is good practice. For the full list, see our CNIL-compliant cookie banner checklist.
Does Webflow include a cookie banner?
Not as a consent system you can rely on. Webflow's own pricing page, which we read on 18 November 2026, lists custom code as a feature of its site plans ("add custom code and scripts to your entire site or individual pages"), and the free Starter plan does not list it. We found no consent management feature in that plan comparison. So the realistic options are a third-party consent tool added through custom code, or an app from the Webflow marketplace. You can check the current details on the Webflow pricing page.
Two consequences follow:
- You need a paid Webflow site plan before you can paste any script into your site. Check the plan comparison before you start.
- Whatever tool you pick, it only protects you if it actually stops the other tags. A banner that is displayed but does not block anything is decoration.
How do you add a banner and script to a Webflow site?
The mechanics are the same for any tool. You paste one script into the site-wide custom code area of your Webflow site settings, in the head, and publish the site.
- Open the site settings of your Webflow project and find the custom code section.
- Paste the consent tool's script (or, for Klickbee, the tracker script) in the head code.
- Save, then publish the site. Custom code only runs on the published site, not in the designer.
- Reload the published page in a private window and check that the banner shows up.
If you use Klickbee, the tracker installs with a single script tag, as described in the install help page and in our guide on cookieless analytics on Webflow. There is no Webflow app or plugin: the script tag is the whole integration.
How do you stop Meta and Google tags before consent?
This is where most Webflow sites fail. A common setup is a banner at the top and a Meta Pixel or a Google tag pasted straight into the head code. Those pasted tags load on every page view, whatever the visitor clicked. The banner changes nothing.
The fix is to make sure no ad tag lives in the Webflow head code on its own. There are two clean ways:
- load the tags through the consent tool, which releases them only after acceptance;
- or add the pixels inside the tool that holds the banner, so one place controls both the choice and the tags.
Klickbee's built-in consent banner works the second way. It is free and off by default. It follows the CNIL rules above: "Reject all" as visible as "Accept all", closing means refusal, and the choice is asked again after 6 months. It gates the ad pixels you add in Klickbee (Meta, Google Ads, LinkedIn, custom code). It does not gate Klickbee's own cookieless measurement, and it cannot gate a pixel you pasted separately into Webflow. So if you move to Klickbee's banner, remove the pixels from the Webflow head code and add them in Klickbee instead. The consent banner help page and the ad pixels page walk through the settings.
How do you test that the banner really blocks tags?
Do this on the published site, in a private window, with the browser developer tools open on the Network tab.
- Load a page and do not click anything. Search the network requests for your Meta and Google domains. You should see none.
- Click "Reject all". Reload. Still nothing from the ad domains.
- Clear the site data, load again, click "Accept all". Now the requests may appear.
- Close the banner without choosing, on a fresh visit. Treat it as a refusal and check that nothing loaded.
- Open the footer link to change your choice, and confirm the change takes effect.
Repeat the test after each design change. A Webflow redesign that adds a new embed (a video, a map, a form widget) can quietly reintroduce a cookie.
What about analytics on a Webflow site?
Consent is only needed for the tools that require it. Klickbee measures audience without cookies: it keeps a random visitor id in local storage and never stores the raw IP. We describe it as cookieless audience measurement designed with the CNIL exemption in mind, for audience measurement only. Its acquisition data, replay and conversions go beyond that exemption, so do not present them as exempt. Whether your site needs consent depends on the site, its country and its setup, and you remain responsible for it. The privacy and consent help page explains the details.
Klickbee has a free plan if you want to try the banner and the measurement on one site. You can create an account and install the script in a few minutes. Our cookie banner feature page lists what the banner does.
This is information, not legal advice.
FAQ
Do I need a paid Webflow plan to add a cookie banner?
If your banner comes from a script, yes in practice: Webflow lists custom code among the features of its site plans, and the free Starter plan does not list it as of 18 November 2026. Check the pricing page for the current plan comparison.
Where do I paste the script in Webflow?
In the site-wide custom code area of the site settings, in the head, then publish the site. You can also add code to individual pages when a script is only needed there.
Is a banner enough to be compliant?
No. The banner must offer an equal "Reject all", and the tags it controls must really stay off until consent. Test it on the published site, as described above.
Can I keep my Meta Pixel in the Webflow head code?
Not if you want it gated by the banner. A pixel pasted directly into the head loads regardless of the choice. Load it through the consent tool, or add it in Klickbee so the banner controls it.
How often should the banner ask again?
The CNIL's recommendation presents keeping the choice for 6 months as good practice. Klickbee's banner asks again after 6 months.