# Install the tracking script on Ghost

Paste the snippet in Site Header under Settings → Code injection in Ghost admin, save, and check that visits arrive.

Your snippet is in Settings → General of the website (the gear next to its name on the dashboard), with its id and domain filled in. The examples below use `YOUR_WEBSITE_ID` and `yourdomain.com`: replace them with yours.

**1. Open the custom code settings**

In Ghost admin, open Settings → Code injection.

**2. Paste the snippet in the head section**

```
<script
  defer
  supr-website-id="YOUR_WEBSITE_ID"
  supr-domain="yourdomain.com"
  src="https://supranalytics.app/js/script.js"
></script>
```

Paste it in **Site Header**.

**3. Save and publish**

Builders only add custom code to the published website, so publish once more after saving.

## Check it works

Open your website in a normal browser window, then the dashboard: the visit shows up within seconds, and the install card on a new website turns into the dashboard by itself. Nothing after a minute? See [Not seeing any data](https://supranalytics.app/docs/no-data.md).

---

This page on the web: https://supranalytics.app/docs/ghost
Every documentation page: https://supranalytics.app/docs.md
