CookieAskInstall guides

Install CookieAsk on Wix

Templates and presets are not legal advice.

Wix lets you add your own code to every page under Custom Code. This needs a Premium plan with a connected domain (a Wix requirement, not ours).

If you used Wix's built-in banner, remove it so visitors see one banner only (in the Wix dashboard the cookie banner sits under Settings; the exact name changes between editor versions).

2. Add the snippet

  1. Open the Wix dashboard of your site, then Settings → Custom Code (in some versions under Advanced).
  2. Choose Add Custom Code (top right).
  3. Paste your snippet from the CookieAsk install page. 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. Name it CookieAsk.
  2. Add Code to Pages: All pages. Leave Load code on each new page selected, so the loader runs on every page.
  3. Place Code in: Head.
  4. Apply, then publish your site from the editor (custom code does not run in the editor's preview).

3. Check the order

Wix adds its own scripts to the page too, and custom code is not always the very first thing in <head>. The loader must run before the scripts it has to block, so check it:

4. Tracking added through Wix itself

Marketing integrations added through Marketing & SEO → Marketing Integrations (Google Analytics, Meta Pixel and similar) and tags from Wix apps are injected by Wix, not by you. CookieAsk blocks the ones it recognises in the browser, but it cannot see what Wix puts in the page before the loader has run. Run the scan after adding any such integration and read what it lists.

5. If you use a Content-Security-Policy

Wix sites send their own policy and do not let you change it, so nothing is needed on your side.

Check it works