On this page
Before you start
On Wix, you add the CookieScan install code with Wix's Custom Code setting. You need:
- a Wix plan that lets you add custom code to your website
- permission to change your Wix website's settings
- access to the Portal to change your banner settings
Turn off Auto-blocking first
Wix locks two browser features that Auto-blocking relies on. With Auto-block cookies on, your banner may not appear on a Wix website. Where it does appear, Auto-blocking still can't hold back scripts that Wix adds itself, or cookies set by scripts.
Open the banner settings
Go to Cookie Banner, then Settings.
Untick Auto-block cookies
Untick Auto-block cookies. Leave Use Google Consent Mode ticked.
Save your settings
Select Save & Publish.
Copy your install code
Copy the code after you save, because it changes when Auto-block cookies is off.
Open the Install Code window
Go to Cookie Banner, then Install Code, then Manual Install.
Copy the code
Select Copy next to the code.
With Auto-blocking off, the code looks like this:
<script src="https://banner.cookiescan.com/gtm?id=YOUR-COOKIESCAN-ID"></script>Add the code in Wix
Open Custom Code in Wix
In your Wix account, open your website and go to Settings, then Custom Code.
Add new custom code
Select Add Custom Code, then paste your install code into the code box.
Load it on every page
Name it CookieScan. Under Add Code to Pages, choose All pages and Load code once.
Place it in the head
Under Place Code in, choose Head.
Apply the change
Select Apply.
Show only one cookie banner
If Wix's own cookie banner is turned on, visitors see two banners. Turn Wix's banner off in your Wix website's privacy settings.
Wix's own tools and marketing integrations follow Wix's privacy settings rather than your CookieScan banner. Keep Use Google Consent Mode on, so Google tags you add yourself follow each visitor's choice.
Check it worked
Open your website in a private browser window. Your cookie banner appears within a few seconds. Make a choice, then check that the Dashboard shows Receiving consents. See Check your banner is working.