How do i insert google analytics boxes into my posts ?

Discussion in 'WordPress' started by Sites like dealextreme, Jan 26, 2011.

  1. #1
    I have tried three different plugins and they don't seem to work.. please help :)
     
    Sites like dealextreme, Jan 26, 2011 IP
  2. BFiggy

    BFiggy Member

    Messages:
    89
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    25
    #2
    If you download the "Google Analytics for Wordpress" plugin you just need to go to settings and insert your Analytics Account ID.... that's assuming you already created an Analytics account through Google.
     
    BFiggy, Jan 26, 2011 IP
  3. aap

    aap Well-Known Member

    Messages:
    1,802
    Likes Received:
    39
    Best Answers:
    2
    Trophy Points:
    120
    #3
    you can simply add google analytics code in footer.php of your WP theme before </body> tag.
     
    aap, Jan 26, 2011 IP
  4. Sites like dealextreme

    Sites like dealextreme Peon

    Messages:
    63
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    sorry guys, i was off today... i meant google adsense code :)) !!
     
    Sites like dealextreme, Jan 26, 2011 IP
  5. Dodger

    Dodger Peon

    Messages:
    1,494
    Likes Received:
    60
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Same thing applies. Script is Script. You can add the script directly into your theme files where you want them to appear. Some themes have "hooks" where you can inject them into the theme at specific points (check your theme docs for that info).

    You do not need a plugin to do this for you. Although, it is good to know your Html and a little bit of Php to stop yourself from mucking up the works. Once learned, you will not have a need for 95% of the plugins out there.
     
    Dodger, Jan 26, 2011 IP