Question about Google Analytics and wordpress

Discussion in 'Google Analytics' started by thebloggerstore, Jan 18, 2010.

  1. #1
    Hello,
    If someone could help me with google Analytics and wordpress.

    I have a self hosted wordpress blog and signed up for google Analytics and its says to add the google code and past it on to every page I want to track so when I log in to the wordpress admin and look for the </body> tag but I can't seem to find that.

    Thanks
    Steve
     
    thebloggerstore, Jan 18, 2010 IP
  2. kissmyarse

    kissmyarse Peon

    Messages:
    100
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    kissmyarse, Jan 18, 2010 IP
  3. bekar09

    bekar09 Active Member

    Messages:
    283
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    70
    #3
    you will get the closing </body> tag inside footer.php. you can edit your Footer.php directly in your server if you have FTP access.
     
    bekar09, Jan 19, 2010 IP
  4. dipali

    dipali Peon

    Messages:
    450
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #4
    do one thing install wordpress plugin for google analytics and just add your profile id of GA. it will work/.


    Let me know if you need my help
     
    dipali, Jan 23, 2010 IP
  5. appleranger

    appleranger Peon

    Messages:
    339
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    It should work correctly no matter what you do with it.
     
    appleranger, Jan 23, 2010 IP
  6. Rohit patel

    Rohit patel Prominent Member

    Messages:
    15,771
    Likes Received:
    735
    Best Answers:
    0
    Trophy Points:
    310
    #6
    Well best thing for you add any Plugins from different choice in Plugin directory and just put your Analytics Account ID that's it. It will be good for you as you not need to do any edit in template. Some themes also offer Footer or Header option where you can paste these codes.:)
     
    Rohit patel, Jan 23, 2010 IP
  7. bekar09

    bekar09 Active Member

    Messages:
    283
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    70
    #7
    you can find it inside footer.php located inside your themes folder. you can also use an Analytics plugin.
     
    bekar09, Jan 23, 2010 IP
  8. gaiq

    gaiq Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Try Ultimate Google Analytics plugin for wordpress. That helps you. Let me know if u need any help with that
     
    gaiq, Jan 24, 2010 IP
  9. Serggg

    Serggg Well-Known Member

    Messages:
    38
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    113
    #9
    simply open "Appearance -> editor" page in your WP admin interface, click "Footer" on the right and place analytics code just before </body>. Click "update file". That's it :)
     
    Serggg, Jan 25, 2010 IP
  10. Firs

    Firs Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Thanks for the answers guys - I have been trying to find the answers to this exact question all morning.

    Cheers
     
    Firs, Jan 25, 2010 IP