# Track across subdomains

Track your website and its subdomains, like app.yourdomain.com, as one website, and keep each person one visitor across them with supr-domain.

Hits from any **subdomain** of your website's domain are accepted automatically: `blog.yourdomain.com`, `app.yourdomain.com` and `www.` all count for `yourdomain.com`. Install the same snippet on each.

To count someone who goes from your website to your app as **one visitor**, the visitor cookie must be shared: set `supr-domain` to your main domain (it's in the snippet by default).

```
<script defer supr-website-id="YOUR_WEBSITE_ID" supr-domain="yourdomain.com" src="…/js/script.js"></script>
```

- The **Hostname** panel splits traffic by subdomain, and you can filter by it.
- Visits between your own subdomains never count as referrals.
- A funnel step can be limited to one hostname, like `app.yourdomain.com`.

---

This page on the web: https://supranalytics.app/docs/subdomain-tracking
Every documentation page: https://supranalytics.app/docs.md
