# Install the tracking script on Wix

Add the snippet as custom code in the Head of all pages from Settings → Custom code. Wix needs a connected domain and a paid plan for custom code.

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 your Wix dashboard, open Settings → Custom code (under Advanced) and click **Add Custom Code**.

**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>
```

Choose **All pages**, **Load code once**, and place it in **Head**. (Custom code needs a connected domain and a paid plan.)

**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/wix
Every documentation page: https://supranalytics.app/docs.md
