This guide is designed to help customers installing our cookie widget on their Squarespace based website. Follow these few simple steps to get up and running quickly.
In order to add Openli (or any other custom code) to your Squarespace website, you must have Premium or Commercial plan on Squarespace
Before following these steps, please be sure that you have:
- 1.Added your website's URL (either during the signup process or in the settings page)
To install your widget, you'll need your cookie widget code snippet.
To find your code snippet, go to the Openli dashboard and select "Widgets" in the side menu. Click on the cookie widget you previously created and copy the code.
It will look like this:
The value for
widgetPublicKeywill be different in your code snippet.
To insert the code snippet on your page, click on "Settings" in your home menu and select "Advanced" in the dropdown. Finally, click on "Code Injections".
Add the Openli cookie widget code snippet as the last piece of code the text area under "Footer", and click "Save".
The final step you need to take to make sure your cookies are compliant is to block the scripts that set them on your website, so the widget can enable them only when a visitor gives consent.
This step is a bit more technical, however, this guide shows you how to categorise the scripts that set cookies on your website to enable blocking. You might need a developer to help you.
Squarespace does, however, allow you to block their analytics cookies in the home menu. Note that disabling these permanently can affect your site.
To block the Squarespace cookies, you can disable Analytics and Performance cookies:
- 1.In the Home Menu, click Settings, and then click Cookies & Visitor Data.
- 2.Check Disable Squarespace Analytics Cookies.
- 3.Click Save.
Congratulations on completing your first step towards collecting compliant cookie consent. Pad your self on the back and know that our mascot Li is proud of you.