How to install google analytics on wordpress site ?

Discussion in 'Google Analytics' started by DeadlyHorse, Dec 21, 2010.

  1. #1
    How to install google analytics on wordpress site ?

    On the site it says, "Copy the following code, then paste it onto every page you want to track immediately before the closing </head>"

    Can I just put the code in the post ? Or I need to put the code somewhere else ?

    Thanks
     
    DeadlyHorse, Dec 21, 2010 IP
  2. Grimm

    Grimm Peon

    Messages:
    3,072
    Likes Received:
    57
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Grimm, Dec 21, 2010 IP
  3. DeadlyHorse

    DeadlyHorse Peon

    Messages:
    132
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    DeadlyHorse, Dec 21, 2010 IP
  4. winsoar

    winsoar Well-Known Member

    Messages:
    1,363
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    108
    #4
    Edit the footer file which you will be able to do through the Appearance menu. Add your code in there just above where it says </body>
     
    winsoar, Dec 21, 2010 IP
  5. vkamobi

    vkamobi Peon

    Messages:
    49
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I wanna add GA in my blog too, but how can i add an banner or something others?
     
    vkamobi, Dec 23, 2010 IP
  6. indiahosting123

    indiahosting123 Guest

    Messages:
    62
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    you can simply paste the google code in the coding section of your blog but you need to remember you paste the google code above the </body> tag if it is in the ga.js or other wise you hace need to paste it above the </head>
     
    indiahosting123, Dec 23, 2010 IP
  7. tonyran

    tonyran Peon

    Messages:
    953
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    0
    #7
    thers also plugin for wordpress that you can use
     
    tonyran, Dec 23, 2010 IP
  8. Eric89

    Eric89 Peon

    Messages:
    195
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #8
    great lnk.thanks for sharing this usefull link
     
    Eric89, Dec 24, 2010 IP
  9. anishrajmalhotra

    anishrajmalhotra Peon

    Messages:
    31
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    If you are using Wordpress then you can use plugin for that. or if you wanna add code then add before </head>

    Good luck!
     
    anishrajmalhotra, Dec 26, 2010 IP
  10. webanalytiker

    webanalytiker Greenhorn

    Messages:
    74
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    23
    #10
    webanalytiker, Dec 27, 2010 IP
  11. Josh Fowler

    Josh Fowler Peon

    Messages:
    31
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #11
    There are actually quite a few Wordpress Google Analytics plugins. I made one not long ago that not only tracks with the new async tracking code but always shows stats in the dashboard. You can download it straight from wordpress at http://wordpress.org/extend/plugins/web-ninja-google-analytics/

    Hope this helps!
     
    Josh Fowler, Dec 28, 2010 IP
  12. iwebq

    iwebq Peon

    Messages:
    17
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #12
    Enter into admin area.
    Admin -> theme editor -> check the right nav where you will find the files of your template.
    Find the file "footer.php" and click on that.
    After clicking you will find the code in editor area.

    Now put your Google analytic code at the bottom of whole code.

    Update the file and check your website. Its Done.
    ----------------------------

    CIMA Training Course
     
    iwebq, Dec 29, 2010 IP