How to add google analytics and statcounter in wordpress?

Discussion in 'HTML & Website Design' started by bruceslogos, Aug 3, 2009.

  1. #1
    How to add google analytics and statcounter in wordpress? I try using the google analytics wordpress plugins but it does not work.
     
    bruceslogos, Aug 3, 2009 IP
  2. J32

    J32 Peon

    Messages:
    94
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    If you don't have theme options under appearance where you can add the code do the following.

    Login to your wordpress admin section and choose in the menu appearance/editor/ and click on the footer.php

    Now copy the google analytics and/or statcounter code direct before the </body> tag in the footer.php

    press update file. Done.
     
    J32, Aug 3, 2009 IP
  3. miles2go

    miles2go Peon

    Messages:
    567
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    its easy to do so, to add in google analytic add your site by your google account. To use statcounter copy the code and past in footer.php
     
    miles2go, Aug 3, 2009 IP
  4. yodayoz

    yodayoz Peon

    Messages:
    111
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    sign up for google analytics account and, make the necessary settings in admin panel of your WP
     
    yodayoz, Aug 5, 2009 IP
  5. V_tpp

    V_tpp Active Member

    Messages:
    1,140
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    80
    #5
    You can either edit the footer like the guys above suggested, or, if you're not good at it, use this plugin.
     
    V_tpp, Aug 5, 2009 IP