How to add a cookie banner to Squarespace
KookiOk is not a native Squarespace app or plugin - on Squarespace it installs as a pasted one-line script. You add it through Squarespace Code Injection, which is available on the plans that allow custom code (Core and above, not the Basic plan). Here is the full process:
- Create a free KookiOk account and add your Squarespace domain - KookiOk scans the site and classifies the cookies it finds.
- Design your banner: pick a template and your brand colour, add custom CSS if you want, or describe your brand and let AI style it.
- Copy your one-line KookiOk install script from the dashboard.
- In Squarespace, go to Settings -> Advanced -> Code Injection.
- Paste the script into the Header box (not the Footer), so the banner loads before trackers run.
- Click Save - the banner goes live across your Squarespace site, and non-essential cookies stay blocked until visitors consent.
Because the script lives in Code Injection, it applies to every page on the site at once - you do not add it per page. If you do not see Code Injection in your settings, your plan does not include custom code yet (see below).
After you paste the script and save, open your live Squarespace site in a private window and confirm the banner appears before any analytics or embeds load. Run a free scan to double-check nothing fires before consent.
What you get free on Squarespace
KookiOk is a free GDPR cookie-consent tool, so everything a Squarespace site owner needs for a compliant banner is included at no cost - there is no per-page or per-site metering and no separate paid tier to unlock the essentials:
There is a small "Powered by KookiOk" badge on the banner, which is the only trade-off for the free plan.
Why a Squarespace site needs a cookie banner
Most Squarespace sites set non-essential cookies the moment a page loads. Squarespace Analytics, Google Analytics, ad and remarketing pixels, and embedded content like YouTube videos, Google Maps, Instagram feeds or third-party fonts all read or write data on the visitor's device - and under the EU ePrivacy rules that needs prior consent.
The ePrivacy Directive (Article 5(3)) requires consent before storing or accessing information on a visitor's device, except for strictly necessary cookies, and the GDPR sets out what valid consent looks like: freely given, specific, informed and as easy to withdraw as to give. A consent banner that blocks non-essential cookies until the visitor agrees is the standard way to meet both.
The hard part is knowing what your Squarespace site actually loads - a single embedded video or social widget can quietly add several trackers. KookiOk's cookie scanner crawls your site and lists exactly what fires before consent, so you can see the gap before you publish the banner and prove it is closed afterwards.
This is general information, not legal advice. Your obligations depend on where you and your visitors are and what your site does - check with qualified counsel for your situation.
Sources
Frequently asked questions
Does Squarespace have a built-in cookie banner?
Squarespace has a basic cookie banner setting, but it is a simple notice and does not block non-essential cookies before consent the way GDPR and ePrivacy expect. There is no native Squarespace extension for full consent management - you add a tool like KookiOk by pasting one line of code into Code Injection.
Is the KookiOk Squarespace cookie banner free?
Yes. KookiOk is a free GDPR cookie-consent tool. The banner, the cookie scanner, Google Consent Mode v2, GPC support, 34 languages and 5-year consent records are all included at no cost, with no per-page or per-site limits. There is a small "Powered by KookiOk" badge on the banner.
Do I need a cookie banner on Squarespace?
If your Squarespace site uses analytics, ad pixels or embeds (YouTube, Maps, Instagram, fonts) and reaches visitors in the EU or UK, then yes - those set non-essential cookies, and the ePrivacy rules require prior consent before they load. Run a free scan to see exactly what your site sets.
How do I add a cookie banner to Squarespace without code?
You design the banner with no code in the KookiOk dashboard, but installing it on Squarespace means pasting one line of script into Settings -> Advanced -> Code Injection -> Header, then saving. That single paste is the only code step, and it applies to your whole site at once.
Is there a KookiOk app or plugin for Squarespace?
No. KookiOk has a dedicated plugin only for WordPress. On Squarespace it is a pasted one-line script you add through Code Injection, not a native app, plugin or marketplace listing. The script works on Squarespace plans that allow code injection (Core and above, not the Basic plan).