Setting Up Your Axeptio Cookie Management
1. Go to your Axeptio client area to configure your widget.
2. Integration in Your Squarespace Back Office
Replace the XXX placeholders with your clientId and cookiesVersion.
<script>
window.axeptioSettings = {
clientId: "XXX",
cookiesVersion: "XXX",
};
(function(d, s) {
var t = d.getElementsByTagName(s)[0], e = d.createElement(s);
e.async = true; e.src = "//static.axept.io/sdk.js";
t.parentNode.insertBefore(e, t);
})(document, "script");
</script>
- Log in to your Squarespace account.
- In the left menu, click on Settings.
- Click on "Advanced" then Code Injection.
- Copy and paste the Axeptio code into the header.
- Click Save.
Your cookie version is now live.
Congratulations!
3. Technical Integration of Cookies via Google Tag Manager
You can use Google Tag Manager to trigger your cookies and third-party services.
The Google Tag Manager code can also be integrated via code injection.
See the documentation on Google Tag Manager.