Mobile app version of vmapp.org
Login or Join
Shelton105

: 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)

@Shelton105

Posted in: #GoogleAnalytics

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)?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Shelton105

1 Comments

Sorted by latest first Latest Oldest Best

 

@Hamm4606531

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.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme