Install CookieScan
Put the cookie banner on your website with a script tag or Google Tag Manager, and connect Google Consent Mode.
How-to guides
Install with a script tag
Add the CookieScan install code to the head of every page, so your cookie banner shows and Auto-blocking can hold back cookies until visitors choose.
Install with Google Tag Manager
Load your cookie banner through the CookieScan template in Google Tag Manager, with the Consent Mode default set before any other tag fires.
Set up Google Consent Mode
Pass each visitor's choice on your cookie banner to Google tags with Google Consent Mode, using the CookieScan script or the Tag Manager template.
Show Google-ready banner text
Add the advertising wording and Google link that Google asks for to your cookie banner when you use Google Consent Mode.
Turn off Google Consent Mode
Stop CookieScan sending Google Consent Mode commands, and block your tags another way so they still wait for each visitor's consent.
Install CookieScan on WordPress
Add the CookieScan install code to the head of every WordPress page, with a header plugin such as WPCode or in your child theme.
Install CookieScan on Shopify
Add the CookieScan install code to your Shopify theme, so your cookie banner shows on every page of your online store.
Install CookieScan on Wix
Add CookieScan to your Wix website with Custom Code, after turning off Auto-blocking, which can't work on Wix.
Fire tags on consent in Tag Manager
Use CookieScan's consent events in Google Tag Manager to fire tags, such as ad pixels, only after a visitor accepts their category.
Load your own scripts after consent
Hold back a script, widget or video of your own until the visitor accepts its cookie category, using the CookieScan JavaScript API.
Add a subdomain
Add a subdomain, such as shop.example.com, to your subscription so it gets its own scan, cookie banner settings and install code.
Use a staging URL
Have CookieScan scan your staging website while you test changes there, then switch scanning back to your live website when you finish.
Allow CookieScan in your Content Security Policy
Add CookieScan's two addresses to your website's Content Security Policy, so your cookie banner loads, looks right and saves choices.
Explainers
Choose how to install CookieScan
Compare the two ways to put CookieScan on your website, a script tag or Google Tag Manager, and pick the one that fits how your tags load.
FAQs about Install CookieScan
Does CookieScan work with Google Tag Manager?
Yes. You can install CookieScan with the CookieScan template from Google Tag Manager's Community Template Gallery. On the Consent Initialization - All Pages trigger, it sets the Google Consent Mode default before your other tags fire.
It works on every plan, and you can set a different default for each region. If you install this way, turn off Auto-block cookies and load all your tags through Tag Manager. See Install with Google Tag Manager.
Does CookieScan support Google Consent Mode v2?
Yes. CookieScan sends Google Consent Mode v2 commands, including the ad_user_data and ad_personalization consent types that v2 added. It sends a default before a visitor chooses, then an update when they do.
It works with a script tag install or with the CookieScan template in Google Tag Manager. Use Google Consent Mode is on every plan, and new websites have it turned on already. See Set up Google Consent Mode.
Can I use one install code on several websites?
No. Each install code belongs to one website, through its CookieScan ID. On another website, it shows the first website's banner, cookie list and links, and records visitors' choices against the first website.
Add each website as its own subscription, so it gets its own scan, banner and install code. Subdomains you add in Domain Manager get their own install code too. If you manage websites for clients, see Add a client website.
Does CookieScan work on Wix?
Yes, with Auto-block cookies turned off. Wix locks browser features that Auto-blocking relies on, so Auto-blocking can't hold back every script on a Wix website.
You add the install code with Wix's Custom Code setting, in the head of every page. Your cookie banner then shows and records each visitor's choice, and Google Consent Mode passes those choices to Google tags. See Install CookieScan on Wix.
Does CookieScan support the IAB Transparency and Consent Framework?
No. CookieScan doesn't support the IAB Transparency and Consent Framework. It passes each visitor's choice to Google tags with Google Consent Mode instead.
If you use Consent Mode without the framework, turn on Google-ready banner text. Your banner then shows the advertising wording and the link to Google's page that Google asks for. See Show Google-ready banner text.
Can I add subdomains to my subscription?
Yes, on Premium and Enterprise plans. Premium includes up to 5 subdomains and Enterprise up to 10, alongside your main website. A Standard plan covers one website.
Each subdomain gets its own scan, banner settings and install code. You add one in Domain Manager with Add Subdomain. It must sit under the same address as your main website, so shop.example.com works for www.example.com. See Add a subdomain.
Can I test the banner on a staging site?
Yes. Add your live website's install code to the head of your staging site's pages. The banner, its settings and its cookie list are the same as on your live website. Choices made on the staging site are recorded with your live website's consents.
On Premium and Enterprise plans, you can also add your staging site's address with Temporary dev / staging URL. While it is ticked, scans check your staging site instead of your live website, so untick it when you finish testing. See Use a staging URL.
More guides
Other topics
Getting started
Set up your first website in CookieScan. Add it, scan it, design your banner, install it and check that it works.
4 articles
Banner and cookies
Scan your website, review cookies in the Cookie Manager, style your banner, use Auto-blocking and keep proof of consent.
10 articles
Reference
Look up banner settings, the JavaScript API, cookie categories and what each plan includes.
9 articles
Troubleshooting
Fix common problems, listed by what you see, such as a missing banner, cookies left after Reject all or a scan that finds nothing.
7 articles
Account and billing
Start, upgrade or cancel a subscription, manage invoices and payment details, and add team members.
6 articles
Resellers
Join the reseller programme, add client websites, and learn how reseller discounts and bulk billing work.
5 articles
Cookie law
Plain-English explainers on what cookie law asks of your website. They are general guidance, not legal advice.
4 articles
Still need help?
Our support team can help with anything these guides don't cover. Tell us your CookieScan ID and the page address so we can look straight away.