My website is set to use the www version (www.example.com) as the default URL in Google Analytics. My universal code will appear on both the www pages and on other subdomains (products.example.com). Will Google Analytics properly track traffic on both website pages? Note that I have already set up the referral exclusions and cookie domain to treat visits between the www pages and the subdomains as internal traffic. I just need to know whether using the www version as default URL and using that universal code on all pages will still track traffic on www and subdomains. Thanks!
The default URL setting has no bearing on what is tracked on your site. It's merely a setting for your reports to help remove redundant pages:
The Default URL field is used to help correct an issue with our website where we can load the same exact page with two different URLs.