# Wix analytics

> Live analytics for Wix sites: add one line as custom code in the head 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/wix

## One line of custom code

In the site's dashboard, open **Settings**, **Custom code**, and add the script to **All pages**, loaded once, in **Head**:

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

Wix runs custom code on a published site with a connected domain. Add that 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, each page counted as it is shown.
- **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#wix).
