My main web site is using www.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 as www.site.com (shown below), however I don't get any data from subdomains.
Do I have to change the default URL to site.com?