How to paste Google Analytics code?

Discussion in 'Google Analytics' started by call2shain@gmail.com, Jan 20, 2010.

  1. #1
    Well I've a Website in HTML with more than 2000+ pages website is running and very basic.

    I want to paste code on all pages.

    is any shortcut to paste at all pages?

    Thanks in advance!
     
    call2shain@gmail.com, Jan 20, 2010 IP
  2. saurabhj

    saurabhj Banned

    Messages:
    3,459
    Likes Received:
    61
    Best Answers:
    0
    Trophy Points:
    0
    #2
    If your website is having top bar or bottom bar in common then only you can paste Google Analytics code in the main file and all the 2000+ pages are done.

    or

    You have to put it on all pages manually.
     
    saurabhj, Jan 20, 2010 IP
  3. call2shain@gmail.com

    call2shain@gmail.com Peon

    Messages:
    103
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Yeah I knew it but unfortunately it is not common footer and header
     
    call2shain@gmail.com, Jan 20, 2010 IP
  4. KeegiKolmas

    KeegiKolmas Greenhorn

    Messages:
    34
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #4
    It dont work if its just in index :D?
     
    KeegiKolmas, Jan 20, 2010 IP
  5. adamwaine1

    adamwaine1 Peon

    Messages:
    37
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    paste your code in a file and include this file by scripting.
     
    adamwaine1, Jan 20, 2010 IP
  6. saurabhj

    saurabhj Banned

    Messages:
    3,459
    Likes Received:
    61
    Best Answers:
    0
    Trophy Points:
    0
    #6

    Then You have to put it on all pages manually. :eek:
     
    saurabhj, Jan 21, 2010 IP
  7. abhijit

    abhijit Notable Member

    Messages:
    4,094
    Likes Received:
    30
    Best Answers:
    0
    Trophy Points:
    215
    #7
    what is your website url
     
    abhijit, Jan 21, 2010 IP
  8. babloodmax

    babloodmax Peon

    Messages:
    127
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Hi Buddy!!!
    Very simple just copy the code after sign in.. paste it your site home page body above or read instruction under the copy code... thanks many meet again...
     
    babloodmax, Jan 21, 2010 IP
  9. pesar

    pesar Peon

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    You have to paste the code on every single page. There for I use only wordpress. In wordpress you can just paste the code in a widget and thats it.
     
    pesar, Jan 21, 2010 IP
  10. FCM

    FCM Well-Known Member

    Messages:
    669
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    155
    #10
    Wow, poor kid. Why would you have such a monster site and have it all static?
     
    FCM, Jan 21, 2010 IP
  11. Peace4ever9

    Peace4ever9 Greenhorn

    Messages:
    55
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #11
    first make the account google analytic website than and create the code and past into your website HTML code before closing the body tag and your analytic start enjoy my brother
     
    Peace4ever9, Jan 21, 2010 IP
  12. iulian05

    iulian05 Peon

    Messages:
    30
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #12
    but i had some problems with the code from analytics...some extra code was generated , do not know why...
     
    iulian05, Jan 22, 2010 IP
  13. david.j

    david.j Peon

    Messages:
    180
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #13
    At first delete it after it resubmit it and paste code before closing of html tag
     
    david.j, Jan 22, 2010 IP
  14. iulian05

    iulian05 Peon

    Messages:
    30
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #14
    thank you i will try
     
    iulian05, Jan 22, 2010 IP
  15. Elite SEO Marketing

    Elite SEO Marketing Member

    Messages:
    203
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    33
    #15
    good advice
     
    Elite SEO Marketing, Jan 22, 2010 IP
  16. Francozac

    Francozac Peon

    Messages:
    339
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #16
    paste the code right after the <body> in your website
     
    Francozac, Jan 22, 2010 IP
  17. iulian05

    iulian05 Peon

    Messages:
    30
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #17
    it is ok now, no extra cod generated
     
    iulian05, Jan 23, 2010 IP
  18. Lee168

    Lee168 Guest

    Messages:
    31
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #18
    You can select the code and copy it using the shortcut combination: Ctrl + C. Once you copy the code, you need to visit your own website in the edit mode. You'll then have to paste (Ctrl + V) the code (in the source code of your website) in the edit mode. While you paste the code just ensure that you paste the code just above the </body> tag in the source code of your website. After this, you'll need to wait for about 24 hours to start seeing data in your Analytics account.
     
    Lee168, Jan 25, 2010 IP
  19. link2add

    link2add Peon

    Messages:
    86
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #19
    hi

    If you want to put same script on all page that's mean each page then analytic show same result for each page .

    second option , if you wand individual result that you need individual script code for each page and put it manually on each page.

    if any query just share there.

    thanks
     
    link2add, Jan 27, 2010 IP
  20. iulian05

    iulian05 Peon

    Messages:
    30
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #20
    why do you need individual ?
    you can see the results for each page
     
    iulian05, Jan 27, 2010 IP