# Squarespace analytics

> Live analytics for Squarespace sites: paste one line into Code injection and see who is on the site now, where they came from and what they click, with no cookies.

Source: https://status.mettr.app/integrations/squarespace

## One line in Code injection

Open the site's **Settings**, **Developer tools** (**Advanced** on older sites), **Code injection**, and paste the script into **Header**:

```html
<script defer data-key="pk_your_site_key" src="https://mettr.app/script.js"></script>
```

Code injection comes with Squarespace's Core plan and above. Add your domain to the site's domains in mettr.

## What you see, as it happens

- **Who is on the site now**, on which page, from which country and device.
- **Where they came from**: search, social, a newsletter, a campaign with UTM tags, a link from another site.
- **Which pages hold them**: how far down each page is read and for how long.
- **Outbound clicks**: which links send people elsewhere.
- **[Web Vitals](/features/web-vitals)** of every page, for real visitors.

No delay: a visit shows within seconds, not the next day.

## No cookie banner for mettr

The script sets no cookies and mettr keeps no visitor's address. [Privacy first](/privacy-first) explains how.

[Read the setup guide](/docs/site-builders#squarespace).
