Is it safe to track subdomains in Google Analytics?
Otherwise, you will have fragmented sessions, inflated metrics, and unattributable conversions. If you are tracking multiple domains or subdomains in the same Google Analytics property, you must properly configure cookie settings, referral exclusions, and cross-domain tracking in order to connect a visitor’s session across domains.
How to track cross domain and subdomain tracking?
Alternatively, you can add each subdomain individually (e.g. www.example.com, blog.example.com, shop.example.com): Cross Domain Tracking Tracking across distinct domains with Google Analytics requires a few more steps, but can still be implemented through Google Tag Manager.
How to correctly track subdomains in Google Chrome?
A search for “subdomains” points you to documentation for cross-domain tracking, and cookie domains. The former makes no mention of sessions or subdomains. The latter describes tracking users across subdomains, but makes no mention of connecting sessions across subdomains. It also highlights the following quote:
How does Google Analytics track more than one domain?
Well, Google Analytics is set to track only the traffic arriving at one domain where the Analytics tag is included. You could say “let’s include the Analytics tag on more than just one domain” and you are almost right. This is part one of the deal.
How does Google Analytics work for multiple domains?
As mentioned above, a default setup of Google Analytics is designed to track content and visitor data for a single domain, such as www.example.com. This means that even if you manage both a domain and a sub-domain, you must make modifications to the tracking code in order to share visitor data across both domains.
Can you use Google Tag Manager on more than one domain?
Google Tag Manager does not care about domains or subdomains As the subtitle of this chapter has already spoiled, GTM container does not care about how many domains you use it on. If you want, you can use the same container on 5 related websites (that are hosted on different domains or subdomains).