Installation on Shopify
You insert the Cookienovo script into the section <head>
of your Shopify store by editing a theme file. No App Store app needed — just one line of code.
Inserting the script into the theme
- In the Shopify admin, go to Online Store → Themes (Online Store → Themes).
- On your active theme, click … (three dots) and select Edit code (Edit code).
-
In the Layout open the file
theme.liquid. -
Find the closing tag
</head>and insert the Cookienovo script just before it:
<script src="https://cookienovo.com/assets/client.js" site-token="<VÁŠ-TOKEN>" defer></script> <!-- insert just before </head> -->
-
Replace
<VÁŠ-TOKEN>with your site code from Cookienovo → Sites → your site. - Click Save (Save).
- Done — the cookie banner will show to your store visitors.
Everything else runs automatically — cookie scanning, categorisation and blocking of scripts before consent is given.
Place the script as high as possible in the <head>
— ideally before other analytics and marketing scripts. This lets Cookienovo set up Google Consent Mode v2
and block cookies before consent is given, keeping you GDPR compliant.
Back up before editing the template
of the file theme.liquid
(or a duplicate of the whole theme), so you can restore the original state if needed.
If you're unsure, contact your store administrator, or use the help of our partner WEB-STAR.