Skip to main content
To add tinyanalytics to a Squarespace site, paste the tracking snippet into the Header code injection. It applies to every page of your site.
Code Injection is available on the Business plan and higher. On the Personal plan, Squarespace doesn’t allow custom header code, so this method isn’t available.

Before you start

  • A tinyanalytics site. If you don’t have one yet, follow the Quickstart.
  • Your snippet from Settings → Tracking in your dashboard.
  • A Squarespace Business plan or higher.

Add the snippet to Code Injection

1

Open Code Injection

In your Squarespace dashboard, go to Settings → Advanced → Code Injection.
2

Paste into Header

Paste your tinyanalytics snippet into the Header field:
3

Save

Click Save. The snippet loads on every page of your site.
Replace YOUR_SITE_ID with your real site ID, and copy the full snippet from Settings → Tracking if you’ve toggled any options.

Verify

Open your Squarespace site in a browser, then check Realtime in your dashboard for your visit. See Verify your setup for the full check.
Your install is working when your own visit appears in Realtime in your dashboard.

Install on any platform

The universal method and other platforms.

Configure the tracking script

Every data-* option you can set.

Track custom events

Measure signups and clicks.

Verify your setup

Confirm tracking works.