: Google Analytics Property Settings Default URL for subdomain tracking with analytics.js My main web site is using www.site.com URL and I have a bunch of subdomains (blog.site.com, docs.site.com)
My main web site is using site.com URL and I have a bunch of subdomains (blog.site.com, docs.site.com) that I want to track as the same Google Analytics property.
I use analytics.js which according to Google docs doesn't require any additional configuration to track subdomains:
ga('create', 'UA-XXXXX-Y', 'site.com');
My default URL in Google Analytics Property Settings is set to site.com as shown below, however I don't get any data from subdomains.
Do I have to change the default URL to site.com (it gets redirected to site.com)?
More posts by @Shelton105
1 Comments
Sorted by latest first Latest Oldest Best
The Default URL setting is used only in reporting and does not impact the data being collected. To see your subdomains, you need to add a Hostname secondary dimension.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.