Search documentation

Search titles, headings, and page summaries.

Subdomains

Track related hosts under one Website and preserve browser identity across them.

Updated 2026-11-13

Many products live on more than one subdomain: a marketing site on www, the app on app, docs on docs. Graytower can follow one person across all of them, as long as every host has the same snippet.

  1. Reads a blog post on www.northstar.appArrives from Google. The tracker sets _gt_id for all of northstar.app.
  2. Signs up on app.northstar.appThe same _gt_id is read, so it is the same visitor.
  3. Pays inside the appThe payment is matched to that visitor and credited to Google.
Because every host shares one cookie on northstar.app, the signup and payment stay connected to the original Google visit.

Track hosts under one root

Register northstar.app as a Website. Install that Website's snippet on each host you want to measure:

HostRegister separately?Install snippet?
www.northstar.appNoYes
app.northstar.appNoYes
docs.northstar.appNoYes

The _gt_id cookie is scoped to the registered root, so a browser can keep the same anonymous ID across those subdomains. Graytower records observed hosts after it accepts pageviews. A different root domain needs to be registered as an additional domain; it is not automatically included because it points to the same product.

Move between different roots

For a journey that crosses registered root domains, use Graytower's copied snippet and normal links between those roots. The tracker can carry visitor and session context in the link and remove the temporary transfer parameters on arrival. Test the complete journey after deployment.