Sometimes is necessary and useful to track in a single Google Analytics profile different subdomains like in the case below:
- and so on…
To make this work you need to follow 2 simple step:
#1 – Create a filter on your profile
This step is very simple and it’s necessary to make analytics show the url full path.
Simply replicating the above filter you will enable showing all your sub-domains.
#2 – Modify the tracking code for all sub-domains
Modify your tracking code everywhere as follow:
//Tracking code customizations only
var _gaq = _gaq || ;