I need to be able to separate the Google Analytics reporting on my site in the following ways:
- Full tracking for www.example.com
- Track support.example.com subdomain in a profile under the main site
Yesterday, I replaced the traditional tracking code with the following modified code:
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
var pageTracker = gat.getTracker("US-XXXXXXX-X");
Since I added this code, ONLY the organic search traffic from Google has decreased, and by 83%. I have never tracked a subdomain before and there was a lot of older material online about how to do it, because apparently Google's own code is messed up. Can anyone provide any insight as to why this drop in organic traffic may have occured? Any ideas for a fix? I'd really appreciate any and all advice.