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!
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?
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...
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
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.