Skip to Content
Install WhenceInstall on Squarespace

Install on Squarespace

On Squarespace, the Whence block goes in Code Injection, which adds it to every page. It takes about 2 minutes.

Step 1: Copy the block

In Whence, open Setup > Install and pick the Squarespace tab (1). Click Copy (2) on Paste this block. It carries your site key and the address Whence listens on.

Step 2: Open Code Injection

In Squarespace, open Settings, then Website Tools, then Code Injection.

Step 3: Paste the block in Header and save

Paste the block in the Header field and click Save. It is added to every page, and Whence starts recording the next visit.

Screenshot coming soonSquarespace Code Injection with the Whence block pasted in the Header field

What Whence receives

  • Visits and replays on every page of your site.
  • Squarespace does not run injected code on checkout pages, so checkout pages are not recorded.
  • Whence has no order connection for Squarespace: it does not read your orders.

To send conversions to your ad platforms, turn on the browser pixel in Marketing > Conversions and add the tag it gives you before </body>. Your pages then call window.whencePixels.track(…) at each step (product view, add to cart, checkout, payment, order). Purchases go out through the browser only; the other steps also go out from the server.

Whence reads Google Consent Mode, Cookiebot and OneTrust. With another banner, run whence.consent({ analytics: true, marketing: true }) when the visitor answers. See Which cookie banner to use.

Last updated on