One analytics code for two different websites??

Discussion in 'Traffic Analysis' started by manish.chauhan, Jul 14, 2008.

  1. #1
    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!
     
    manish.chauhan, Jul 14, 2008 IP
  2. gostats

    gostats Peon

    Messages:
    325
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #2
    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?
     
    gostats, Jul 15, 2008 IP
  3. qprojects

    qprojects Peon

    Messages:
    1,901
    Likes Received:
    103
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Yes, it should work, but the data will be merged. Its better you use different codes.
     
    qprojects, Jul 15, 2008 IP
  4. analyticsjack

    analyticsjack Peon

    Messages:
    83
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Sounds like maybe he wants to calculate them together?
     
    analyticsjack, Jul 17, 2008 IP
  5. manish.chauhan

    manish.chauhan Well-Known Member

    Messages:
    1,682
    Likes Received:
    35
    Best Answers:
    0
    Trophy Points:
    110
    #5
    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...
     
    manish.chauhan, Jul 17, 2008 IP
  6. analyticsjack

    analyticsjack Peon

    Messages:
    83
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    By creating another profile and adding the new script to the other site.
     
    analyticsjack, Jul 18, 2008 IP
  7. neeruneeraj

    neeruneeraj Banned

    Messages:
    113
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    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
     
    neeruneeraj, Aug 1, 2008 IP
  8. cklords

    cklords Peon

    Messages:
    16
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    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.
     
    cklords, Aug 2, 2008 IP