View Full Version : One analytics code for two different websites??
manish.chauhan
Jul 14th 2008, 11:25 pm
Hello Friends
I have a query regarding Google analytics code, If I add one similar Google analytics code to two different website, how it will calculate the traffic for the sites?
Can anyone have any idea?
thanks!
gostats
Jul 15th 2008, 2:15 am
Are you asking about adding the same code to both sites, it will just merge the data. Why don't you use separate tracking code for each site?
qprojects
Jul 15th 2008, 2:17 am
Yes, it should work, but the data will be merged. Its better you use different codes.
analyticsjack
Jul 17th 2008, 8:34 pm
Sounds like maybe he wants to calculate them together?
manish.chauhan
Jul 17th 2008, 10:24 pm
Sounds like maybe he wants to calculate them together?
my question is about..I have a website of my client and one mirror site with different domains, both carrying the same analytics code. I want to whether I would be able to track the traffic of that mirror site too. if yes how...
analyticsjack
Jul 18th 2008, 7:41 am
By creating another profile and adding the new script to the other site.
neeruneeraj
Aug 1st 2008, 2:40 am
not use same code for both site because your site domain different and you want track your both website traffic you should added different code.
Chennai Tour (http://www.hotels-chennai.com)
cklords
Aug 2nd 2008, 10:48 am
Manish,
With Google Analytics, you can track as many different websites as you want. As a best practice, you should always track each website (even mirrors) separately. When you first log into Analytics, you have an option directly under the screen showing your current website profile to "Add Website Profile"
This takes you to a setup screen similar to the one you saw when you set up the first stie. When you finish setting up the mirror site here, Google will provide you with another code block to include in that website. After you verify the site4 and place the new code on the second site you will will now be able to track both websites separately. Remember that the code tracks user activity to THAT ONE PAGE you put it on- so if you are using PHP or something like it, I would recommend installing the code in a global Footer file so that every page gets tracked and user activity is better reported. In Wordpress, I keep the code in my Footer.php file directly above the </body> tag. If you have any other questions or concerns, feel free to PM me.
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.