How to use CookiePopup in Squarespace
How to insert a Cookie Popup in Squarespace
If you want to the script to the header of your Squarespace website, you can follow these steps:
- Log in to your Squarespace account and navigate to the home menu.
- Click on "Settings" in the left-hand sidebar.
- In the "Advanced" section, click on "Code Injection."
- In the "Header" section, paste the script you want to insert within the <script> tags. Note that this should be a JavaScript code snippet.
-
If your site is based in europe use this script you need on your page:
<script src="https://europe.cookiepopup.com/cookiepopup.js" defer></script>
<script src="https://usa.cookiepopup.com/cookiepopup.js" defer></script>
- Click on "Save" to apply the changes.
Note: It's important to be careful when editing the header.php file as any errors or typos in your code can cause issues with your website. Make sure to backup your website before making any changes to your website files.