Hello everyone, I hope that someone can help me and show me how I can set up my Google Analytics in my site. I have a site with 10 subdomains and a main domain (subdomains are going to increase to many more). I would like to arrange the analytics in the following way. 1. Be able to track visitors that go to each subdomain separately. 2. Be able to track overall visitors to eac subdomain.... So for example, I would like to track the following: 1. Subdomain1.domain.com - 156 visitors 2. Subdomain 2.domain.com - 253 visitors 3. Subdomain 3.domain.com - 124 visitors Domain.com visitors - 312 visitors (track visitors over all domains). I hope it is clear what i am trying to do. Thanks,
yep... a large one.. and i would like to understand what is happening between domains... and track visits per subdomain as well as also in the full domain.
I don't have much experience with subdomains but this is what first comes to mind: add the same analytics code to the whole project and create advanced segments for each subdomain. For example create an advanced segment and add content>page as a dimension with the condition "starts with", value=subdomain1 (test a few conditions there, "starts with" might not be the right one). The same with the rest of subdomains. After that, just select this segment in your regular reports and start comparing. Like I said, I don't have experience with subdomains so I'm looking forward to other opinions on this.
Thanks kshu... I did a little research... and i found this that may work: http://cutroni.com/blog/2007/11/19/tracking-sub-domains-with-google-analytics/ I will try that and see if it helps... and report if it was a good solution or not.
you must copy the code of google analytics,and paste it to the</head> befor of html tag, for example:<head>google's code</head>