CookieAskInstall guides

Install CookieAsk on Webflow

Templates and presets are not legal advice.

Webflow lets you add custom code to the <head> of every page. This needs a paid Site plan (a Webflow requirement, not ours).

If you added a Webflow consent banner, an app or a script for cookie consent, remove it so visitors see one banner only.

2. Add the snippet

  1. In the Webflow Designer open Site settings (the gear in the left bar), then Custom code.
  2. Paste your snippet from the CookieAsk install page into Head code. It is shown here with placeholders; use the one from your dashboard:
<script src="https://YOUR-LOADER-ORIGIN/l/YOUR-SITE-KEY.js" referrerpolicy="origin"
        data-cfasync="false" data-skip-moving="true" data-no-optimize="1" nowprocket></script>
  1. Put it at the top of the Head code box, above any other code (analytics, pixels, tag managers).
  2. Save, then Publish the site. Custom code does not run in the Designer or in preview; it runs on the published site.

Do not use Footer code for CookieAsk: scripts there run after the page's content.

3. Check the order

4. Page-level code

Custom code on a single page (Page settings → Custom code) runs only there. Use the site-wide Head code, so every page, including CMS collection pages, has the loader.

5. If you use a Content-Security-Policy

Webflow does not let you set response headers on its hosting, so no policy entries are needed. If you export the site and host it yourself, follow the plain HTML guide.

Check it works