EARN UP TO 50% COMMISSION WITH OUR RESELLER ACCOUNTS + REGULAR PASSIVE INCOME SIGN UP TODAY

Wix Platform

3 min read

Wix offers a built-in way to add custom code to your site's header without touching any template files. This guide walks through the process step by step.

Before you start

You will need:

  1. An active CookieScan subscription (view plans)
  2. Your banner installation code from the CookieScan dashboard (Cookie Banner → Install Code)
  3. A Wix Premium plan – custom code is not available on the free plan
  4. Admin access to your Wix account

The install code looks like this:

<script src="https://banner.cookiescan.com/js?id=YOUR-COOKIESCAN-ID"></script>

Replace YOUR-COOKIESCAN-ID with the code from your dashboard.

Method 1: Add via Custom Code (recommended)

Wix has a dedicated Custom Code area where you can add scripts to the head of every page.

Step 1 – Open your site dashboard

  1. Log into Wix.com
  2. From the list of your sites, click Select & Edit Site on the site you want
  3. In the left sidebar, scroll down to Settings

Step 2 – Navigate to Custom Code

  1. In the Settings menu, click Custom Code (under Advanced)
  2. Click the + Add Custom Code button (top right)

Step 3 – Configure the code snippet

Fill in the form as follows:

  • Paste the code snippet here: paste your CookieScan script tag
    <script src="https://banner.cookiescan.com/js?id=YOUR-COOKIESCAN-ID"></script>
  • Name: CookieScan Banner
  • Add Code to Pages: select All pages and check Load code once
  • Place Code in: select Head

Step 4 – Apply

  1. Click Apply
  2. Wix will publish the change automatically
  3. Visit your site in a new incognito window to confirm the banner appears

Method 2: Using Wix Editor (alternative)

If you prefer to manage custom code inside the editor itself:

  1. Open your site in the Wix Editor
  2. Click Settings in the top menu
  3. Select Tracking & Analytics
  4. Click + New Tool → Custom
  5. Paste your CookieScan script tag
  6. Set Name to CookieScan Banner
  7. Set Add Code to Pages to All pages
  8. Set Place Code in to Head
  9. Click Apply, then Publish your site

Disable Wix's built-in cookie consent banner

Wix has its own basic cookie banner. Turn it off so it doesn't conflict with CookieScan:

  1. Go to your Wix dashboard → Settings
  2. Click Cookies & Privacy
  3. Toggle Cookie Consent Banner to Off

Verify the installation

  1. Visit your site in a new incognito window
  2. The CookieScan banner should appear
  3. Open DevTools (F12) → Network tab → filter by cookiescan
  4. You should see banner.cookiescan.com loaded successfully

You can also use the Verify Installation step in your CookieScan dashboard's Install Code popup.

What happens next

Once installed, CookieScan handles the rest:

  • Scans your Wix site and detects every cookie, including those from Wix's built-in tools
  • New cookies appear in Cookie Manager → Unclassified for you to categorise
  • Blocks cookies until the user consents to their category
  • Logs every consent decision

Troubleshooting

Banner not appearing

  • Check you're on a paid Wix plan – free plans don't support custom code
  • Check you selected Head and All pages in the Custom Code settings
  • Republish your site after saving
  • Clear your browser cache

Wix's own banner still showing

  • Go to Settings → Cookies & Privacy and disable the built-in banner

Cookies still loading before consent

  • Wix's built-in tracking tools (Visitor Analytics, Wix Chat, etc.) load independently
  • In Wix dashboard, go to Marketing & SEO → Marketing Integrations and review which are enabled
  • Run a fresh scan in CookieScan Cookie Manager → Rescan Domain to detect them

Full documentation

For detailed setup help, see the support guide linked in your CookieScan dashboard, or visit our support guides.