Most products live on more than one host. The marketing site is on www, the blog on blog, documentation on docs and the product itself on app. If each counts visitors separately, the journey that matters, from a blog post to a paid account, is cut into pieces and the post never gets credit.
Subdomains versus separate domains
blog.example.com and app.example.com share the root domain example.com. A cookie can be set on that root so every subdomain reads it. example.com and example-app.io are different root domains, and browsers keep them apart; joining them needs cross-domain tracking.
How it works in Reveata
There is nothing to set up. One Reveata website covers its domain and every subdomain of it, so the same snippet counts visits on example.com, www.example.com, app.example.com and any other *.example.com host (Track subdomains).
The script stores its visitor and session ids in first-party cookies on the broadest domain the browser accepts. For app.example.com that is example.com; for shop.example.co.uk it is example.co.uk. Every subdomain reads the same cookies, so the reader of your blog who signs up in your app is one visitor with one visit, and their payment is credited to the post or ad that brought them.
In cookieless mode no ids are stored, but the server's daily id is the same on every subdomain on the same day, so visits still join up within a day.
Seeing each subdomain
- The Pages panel has a Hostname tab listing each host with its visitors, and revenue once payments are connected.
- A filter such as
Hostname is app.example.comnarrows the whole dashboard, revenue included (Filters and segments). - The Page tab shows paths only, so
/on two hosts is counted together. Filter on a hostname first when you want one subdomain's pages.
Leaving out staging and previews
Staging and preview hosts often load the production snippet. Add them under Settings → General → Exclusions → Exclude host names, one per line, with * for patterns such as *.preview.example.com. Every other subdomain stays counted (Exclusions).
One website or several?
| Situation | Use |
|---|---|
| Marketing site, docs, blog and app of the same product | One website, so revenue is credited across them |
| Separate products with separate audiences | Separate websites |
| A client site you manage on your own subdomain | Usually a separate website, with its own team access |
Each website has its own snippet, goals, payments and team access.