[ SQUARESPACE ]

    Code Injection, header. That's the whole install.

    Squarespace's Code Injection panel is built for exactly this — a global head script, no template editing, no export/import required.

    [ Install ]
    Code Injection
    [ Plan required ]
    Business or higher
    [ Script size ]
    < 8KB
    [ Setup time ]
    ~5 min

    Install on Squarespace

    01

    Open Code Injection

    Settings → Advanced → Code Injection.

    02

    Paste into Header

    Add the CookieJar script tag to the Header field and Save.

    03

    Preview before you trust it

    Squarespace applies Code Injection immediately, but always preview the live site (not just the editor) since some Squarespace page types render outside the normal template.

    Requires Business plan or higher

    Code Injection is gated to Squarespace's Business, Commerce, or equivalent plans — it isn't available on the entry-level Personal plan. If Code Injection doesn't appear under Advanced, that's the reason.

    One field covers the whole site

    Unlike platforms with per-template code hooks, Squarespace's site-wide Header injection is the only header hook you need — there's no separate step for individual page templates or the Squarespace Commerce checkout flow.

    [ FAQ ]

    Squarespace questions

    Ready to add it to your Squarespace site?

    Free tier covers 5,000 pageviews on 1 domain — no credit card required.