analytics code for wordpress blog?

Discussion in 'Google Analytics' started by varghesenair, Jan 26, 2010.

  1. #1
    How to add an analytics code to my wordpress blog?
     
    varghesenair, Jan 26, 2010 IP
  2. shaliwahan.pati

    shaliwahan.pati Peon

    Messages:
    102
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I believe Copy and Paste. If I am not wrong... :rolleyes: (ad it in footer.php before </body> tag)
    You can also add it in header.php but it will slow down loading of your page..

    Or use
    http://wordpress.org/extend/plugins/google-analytics-for-wordpress/
    hope this helps..
     
    Last edited: Jan 26, 2010
    shaliwahan.pati, Jan 26, 2010 IP
  3. jainsumit

    jainsumit Peon

    Messages:
    96
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Why You Need analytics for Wordpress. The Wordpress has his Own Blog Stats Option. That is Pretty True...
     
    jainsumit, Jan 26, 2010 IP
  4. Tony Marriott

    Tony Marriott Peon

    Messages:
    34
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Copy and paste your stat code into the header directly after the <body> tag. The <body tag may have other data in it but after the last > either way. Get to the header from the admin panel -- APPEARANCE/EDITOR and select the header.php from the RH file list.
    I suggest placing teh code in teh haeder asn not the footer as many people will click away from apage that is loading slowly. If the footer has not loaded, before they click away, then you will not see the stats for that page load.
     
    Tony Marriott, Jan 27, 2010 IP
  5. iwebmaster

    iwebmaster Active Member

    Messages:
    41
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    91
    #5
    I think you may get better option to do this here: http yoast dot com/wordpress/google-analytics/

    read and do it
     
    iwebmaster, Jan 28, 2010 IP
  6. pradimani

    pradimani Active Member

    Messages:
    306
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #6
    Just copy the analytics code and paste it in the footer just before </body>

    Or, you can go for an analytics plug in.
     
    pradimani, Jan 28, 2010 IP
  7. shaliwahan.pati

    shaliwahan.pati Peon

    Messages:
    102
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Somebody already said that... :rolleyes:
     
    shaliwahan.pati, Jan 28, 2010 IP
  8. thejared

    thejared Peon

    Messages:
    382
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #8
    They also make a simple plugin to help people that don't know enough html to find the </body> tag. Just search for it on the plug-ins page in your site admin.
     
    thejared, Jan 31, 2010 IP
  9. kimjcastleberry

    kimjcastleberry Peon

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    There's no need to touch the code on a wordpress blog to get this working.

    Grab a copy of the "All In One Webmaster" plugin from your plugin search... look at the code it wants you to put in the blog manually and get the UA-stuff string. Simply drop that string into the plugin, hit update, and then verify in Analytics. Quick and painless.
     
    kimjcastleberry, Feb 8, 2010 IP
  10. CNETpro

    CNETpro Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    This is the best way for you. Easy and fast :)
     
    CNETpro, Feb 8, 2010 IP
  11. cassine

    cassine Peon

    Messages:
    33
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    Analytics is best option........
     
    cassine, Feb 9, 2010 IP
  12. First Search Consultancy

    First Search Consultancy Peon

    Messages:
    39
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #12
    This is same as .html site
    insert in site footer before </body>
     
  13. gavindaron

    gavindaron Greenhorn

    Messages:
    28
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #13
    hi
    is there any bad impact of Google Analytics on your site i.e ranking or quality score?
    some say that your site private data can be shared by google by using GA?

    what you say?
    plz help out me.
     
    gavindaron, Feb 12, 2010 IP
  14. localhost8080

    localhost8080 Well-Known Member

    Messages:
    225
    Likes Received:
    3
    Best Answers:
    1
    Trophy Points:
    113
    #14
    I think the easiest way to get the code into wordpress if you dont know how to directly edit code is to add a text widget to the sidebar and paste the code into that.
     
    localhost8080, Feb 12, 2010 IP
  15. Provenzano

    Provenzano Active Member

    Messages:
    190
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #15
    There's a new plugin for it, or c/p the Analytics code to your footer.php (like i do in warezine.com)
     
    Provenzano, Feb 15, 2010 IP
  16. M A Kay

    M A Kay Active Member

    Messages:
    459
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    60
    #16
    Yes, your site private data (traffic, etc) will be used to give you a report in Google Analytics.

    But I think its harmless.
     
    M A Kay, Feb 20, 2010 IP
  17. garbin

    garbin Peon

    Messages:
    128
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #17
    Just copy the analytics code and paste it in the footer just before </body>
    or use a plugin
     
    garbin, Feb 20, 2010 IP
  18. OnlyNiceLinks

    OnlyNiceLinks Greenhorn

    Messages:
    60
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #18
    Go to the plugin tab and search for Ultimate Google Analytics plugin. Install/activate the plugin. Get your account ID from Google and then configure the plugin.

    Really simple for those that don't want to touch the code like me.
     
    OnlyNiceLinks, Feb 21, 2010 IP
  19. maxiseo

    maxiseo Peon

    Messages:
    42
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #19
    You can install Google analytics plugin or in you admin go to theme editor => Footer => just before </body> add your Google Analytics Code ..
     
    maxiseo, Feb 23, 2010 IP
  20. amilajoy

    amilajoy Well-Known Member

    Messages:
    178
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    103
    #20
    Google Analyticator is my best plugin to add tracking code. It shows analytic data in your admin panel too.
     
    amilajoy, Mar 2, 2010 IP