Generate โ†“
Free ยท GDPR-friendly ยท One snippet

Free cookie banner for Squarespace

Customise a GDPR-friendly cookie banner, copy one snippet of code, and paste it into your site. No account, no monthly fee to start.

Paste it just before </body> on your site.

Live preview
Your code
Recommended next step
Putting your site live? Get hosting + a free domain.
Add your cookie banner, then launch with Hostinger โ€” affordable hosting with a free domain included.
Get hosting with Hostinger →

Cookie consent on Squarespace

Squarespace has a built-in banner but it's limited. For full control of wording, styling and behaviour, paste your own snippet via Code Injection.

๐Ÿ’ก

Tip: Use the footer Code Injection box so the banner loads site-wide and survives template changes.