Google Analytics code adding

Discussion in 'Google Analytics' started by Deepak_Kotian, Jul 16, 2013.

  1. #1
    I have Google Analytics code for my custom website, I have around 35 pages on my website. Can anyone tell me where we can add those tracking code to track the website? Which is the best place - before</head> or before </body> tag?

    Also tell me whether i need to include these code in all inner pages?
     
    Deepak_Kotian, Jul 16, 2013 IP
  2. Slincon

    Slincon Well-Known Member

    Messages:
    1,319
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    180
    #2
    Try to put it before the /body tag across all your pages (including inner pages).
     
    Slincon, Jul 16, 2013 IP
  3. Deepak_Kotian

    Deepak_Kotian Member

    Messages:
    164
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    26
    #3
    Thank you for your valuable information
     
    Deepak_Kotian, Jul 16, 2013 IP
  4. Aleksandr Nebilyca

    Aleksandr Nebilyca Active Member

    Messages:
    45
    Likes Received:
    1
    Best Answers:
    1
    Trophy Points:
    73
    #4
    Actually, the best place is right before </head> tag.
     
    Aleksandr Nebilyca, Jul 19, 2013 IP
  5. nikuni

    nikuni Member

    Messages:
    25
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    31
    #5
    yes google help also suggest to put the code right before </head> tag.
     
    nikuni, Jul 21, 2013 IP