joined:May 2, 2012
I have a site www.example.com for which I have a Google Analytics account. I have always had the web property set to www.example.com.
Recently I wanted to extend this to track two subdomains from the same account. I regenerated the the tracking code accordingly, and added it to the main www site, and the two subdomain sites. The code was generated directly from the Google interface, so I did not manually edit the code. Updating to track subdomains seemed to add an extra line so:
The web property was not changed, so it still has the "www." on the front of it. Should I take the www. off the web property to track subdomains?
My problem is, when I view visited pages in google analytics, the URL of each page starts with a '/', so something like /index.html So the URLs don't include the subdomain, as per www.index.html, so I cant see how I can view pages that start subdomain.example.com/index.html.
If I search for pages that include subdomain.example.com, then I get a few hits with strange re-written/re-directed URLs, but only a handful whereas I know there should be thousands.
The online help just says "set the web property to the web site", but it is not clear as to what example it should be set to when subdomains are tracked too.
Any idea what I might be doing wrong? Thanks.