# Install on Squarespace

> Add Datacenter to a Squarespace site with Code Injection. Copy one line, paste it into the Header box, and save. No coding needed.

Source: https://datacenter.so/docs/install-squarespace
Section: Start here

You paste one line from Datacenter into Squarespace's Code Injection panel. It takes about three minutes.

## Before you start

Copy your tag. In Datacenter, open [Set up your site](https://app.datacenter.so/start), or open your site's **Settings**. Your tag looks like this, with your own address:

```html
<script defer data-site="yoursite.com" src="https://datacenter.so/s.js"></script>
```

## Steps

1. Open the **Code Injection** panel. In most sites it is under **Pages**, then **Website Tools**.
2. Paste the tag into the **Header** box.
3. Click **Save**.

## Check it works

Go back to Datacenter. On the last setup step, click **Check my site**. Then open your site in a new tab. Your first visit shows up in a minute or two.

## Good to know

- Squarespace offers Code Injection on its Core, Plus and Advanced plans.
- Squarespace checkout pages do not run injected code, so Datacenter does not count them.
- A site with a password or that is not published yet cannot be checked from outside. Open it yourself and wait for the first visit.
