Source: https://usedataowl.com/docs/wix
Markdown source: https://usedataowl.com/docs/wix.md
Description: Track realtime visitors, marketing campaigns, form submissions, and checkout events on your Wix website using a lightweight custom code snippet.

# How to Add Realtime Web Analytics & Goal Tracking to Wix

1. Open **Settings → Custom code** and click **Add Custom Code**.
2. Paste the script, apply it to **All pages**, and place it in the **Head**.

```html
<script
  defer
  data-website-id="YOUR_SITE_ID"
  src="https://usedataowl.com/js/script.cookies.js"
></script>
```

> Replace `YOUR_SITE_ID` with your site ID from the dashboard.

## Verify installation

After you deploy:

- Visit your live website.
- Open the **Realtime** page of your [DataOwl dashboard](/dashboard). Your visit shows up within a second, and the setup page says "Receiving events".

> DataOwl ignores localhost so you don't count your own development traffic. Add `data-allow-localhost="true"` to the tag to test locally. More options are in the [script configuration reference](/docs/script-configuration).
