Official WordPress Plugin for StatCounter

For all you wordpress.org users out there, we’re delighted to announce the release of our official WordPress Plug-In – this will allow you to easily install StatCounter on your wordpress.org blog and enjoy the full range of StatCounter stats!

We’ve also updated the install guide for wordpress.com to make it easier for you to add a html-only counter to your wordpress.com blog.

Wordpress

How do I use the StatCounter wordpress.org plug-in?

  • Log into your StatCounter account.

  • Click the wrench icon beside your project name.
  • Click the ‘install’ code link.
  • Follow the wizard and when asked for your web editor choose “wordpress.org”.
  • Follow the remaining instructions and hey presto!

How do I add StatCounter to my wordpress.com blog?

  • Log into your StatCounter account.

  • Click the wrench icon beside your project name.
  • Click the ‘install’ code link.
  • Follow the wizard and when asked for your web editor choose “wordpress.com”
  • Follow the remaining instructions and Bob’s your uncle!

What’s wordpress.org?
Wordpress.org is the version of wordpress that YOU host on your own server. This means you have full access to modify the blog template as you wish i.e. you can add the full StatCounter javascript code.

What’s wordpress.com?
Wordpress.com is the version of wordpress that WORDPRESS hosts on its servers. This means that access to modify the blog template is restricted according to what wordpress allows i.e. you can only install the StatCounter html-only code.

What’s a html-only counter?
Where you can’t install a full javascript counter, StatCounter offers you the option to install a html-only counter. While a html-only counter can’t offer you the same range of stats as the full code can, it does provide you with information on hits, browsers, location of visitors. You need to install the full javascript code to see referrers – the html counter can’t capture this information.

Why won’t wordpress allow javascript code?
For security reasons wordpress don’t allow you to install javascript code on blogs hosted by them i.e. wordpress.com blogs. We’re sure though that, if enough of you request the full StatCounter code on your wordpress.com blogs, then Matt & Co would be happy to oblige! We would certainly be happy to work with wordpress on this. So get emailing and don’t forget to pop back here to let us know how you get on!

PS: Thanks to Luke Stevenson for developing the first StatCounter plug-in for wordpress!

Update: Any problems installing the plugin? Let us know!
A few members had trouble installing the plugin. We believe this may have been a problem with the difference between return characters in windows and unix. If you try to download and install the plugin again it should work now. If it is still not working for you we would love to investigate the problem for you. Please send us the login details of your blog and server and a report of the problem you are experiencing.

This entry was posted in Installation. Bookmark the permalink.

186 Responses to Official WordPress Plugin for StatCounter

  1. woohoo stats for wordpress! Thanks a lot

  2. car world says:

    wah..now wordpress have statscounter its really gud news

  3. soggyindo says:

    It’s saying
    * No Project ID has been provided
    * No Partition ID has been provided
    * No Security String has been provided
    Tracking will not occur.

    And I can’t find reference to these IDs on my statcounter account or in your support FAQs
    cheers


    StatCounter Team Response:

    Hi Soggyindo,

    Very sorry to hear that you’re having trouble but did you really think that we would abandon you to figure out the plug-in on your own..? Of course not!

    Full instructions are provided which explain re project id etc. Go to your plug-ins page within your WordPress console. Scroll down to your StatCounter plug in. Then click the options page!

    Here you will find the instructions to guide you through:

    From the generated StatCounter Code, copy the bolded sections:
    ‘var sc_project=1234567′ – Your Project ID
    ‘var sc_partition=12′ – Your Partition ID
    ‘var sc_security=”a1b2c3d4″‘ – Your Security String (Don’t grab the inverted commas)

    If you’re still having trouble, please submit a support ticket to us – click on the support link when logged into your StatCounter account!

    PS: Will update the FAQs per your suggestion – thanks!

  4. soggyindo says:

    what happens if you’ve already generated your project and didn’t take down the numbers? how do you find them after the fact?
    the page you said says

    4. Click the “Configure & Install Code” button
    5. Select and configure the type of counter your would like
    6. Select “WordPress.org (I pay for the hosting)” from the drop down list, then click “Next”
    7. From the generated StatCounter Code, copy the bolded sections:
    ‘var sc_project=XXXXXXX – Your Project ID
    ‘var sc_partition=XX’ – Your Partition ID
    ‘var sc_security=”XXXXXXXX”‘ – Your Security String (Don’t grab the inverted commas)
    8. Enter those details into the relevant fields below

    i’ve X’d out the numbers here but i guess they’re just blank examples on my wordpress page – 123 etc. how do i – or anyone else- find them at statcounter? or do we have to make a new project?
    cheers!

    StatCounter Team Response:

    Hi again!

    Finding the numbers is easy! Just log into your account. Click the “wrench” icon beside your project. (This is the Configure & Install Button) and then follow the directions you have above!

    Essentially, all you’re doing is repeating what you did the first time! Only that this time, you don’t need to download the plug-in zip file again.

    Please contact us if you have further trouble!

  5. soggyindo says:

    sorry, i mention it here just because i guess a lot of people would’ve ignored those codes until they realised they needed them!

    StatCounter Team Response:

    No need to apologise!

    We’re very happy to help!

  6. soggyindo says:

    hey, can i just say that the tips you said worked perfectly – great customer support – I really appreciate it!!!

  7. Thanks a mill for this plugin guys. Just getting into the whole blog thing and this will make a huge difference.

  8. Kinsey says:

    The plugin doesn’t work for me either. Not counting page views.

    Putting the code in the footer is giving me an error…must be the way the footer is built.

    Too bad you didn’t respond to people in the comments with workarounds …I could’ve used some help.

  9. Kinsey says:

    I got it working in the footer.

  10. vic says:

    Nice plugins.
    Thanks

  11. Excellent plugin for wordpress users plus easy installation guide.

    I give you 5 stars…

  12. agung says:

    Great, I’ll use it in my site

    thanks

  13. seonyár2008 says:

    Nice plugin. It works.

  14. what about blogger.com can we use statcounter easily with our company blogs?

    thanks so much,
    sandy

    StatCounter Team Response:

    You can of course Sandy – just log into your StatCounter account and create a new project.

    Follow the instructions in the “Install Code” wizard.

    Under “Installation Options” you will be asked to “please choose your Blog/Web Page Editor” – pick blogger from the list and away you go!

  15. Home Loans says:

    Great work. Thank you statcounter.

  16. Pingback: WP-SuperBlog.com » Blog Archive » Add-Meta-Tags WordPress Plugin

  17. I’ll definately use this. Great plugin.

  18. Great plugin guys, keep it up!

  19. Dave says:

    I’m confused with the statcounter codes and wordpress themes. All I am recording for stats are every page load as a unique visitor. My unique visitors and Page Loads increment exactly the same.

    I have tried both the plugin and pasting the code into my footer.php

    Is there something else I’m missing?
    Any response would be greatly appreciated

  20. Very nice plugin… Thank!

  21. Albert says:

    The site”s very professional! Keep up the good work! Oh yes, one extra comment – maybe you could add more pictures too! So, good luck to your team!

  22. Pingback: Unique WP Plugin - Dan Philibin WordPress Plugins | Internet Business Learning To Wealth

  23. Ebben igazatok van tényleg – Very nice plugin… Thanks!

  24. Rick says:

    Plugin works fine for me on WordPress 2.5.

    great !

  25. Subi says:

    Thanks for providing the plugin.

    with regards to putting the code in footer:

    If we are changing the theme we must add plugin to new theme. :)

  26. jocuri says:

    That’s brilliant!

  27. memo says:

    thank for that .it Is very good

  28. Great plugin. Works well.

  29. Hoddo says:

    Think I’m being thick!

    I have a WOrdpress.com blog and not a blog hosted from the WordPress.org route. I’ve installed Statcounter but many of the reporting features don’t show detail – is this expected or have I made a mess of my StatCounter installation?

  30. Pingback: Official StatCounter Plug-in for Wordpress Launched | Marketing Clips

  31. HIFU says:

    I’ve been debating on whether to install WP on my website. I think with StatCounters new plugin it will be a no brainer. Thanks for your hard work guys!

  32. Chris Martin says:

    Hello Wow what a fantastic article about My Ip Adress! Your keen insight into My Ip Adress is informative and creative. I look forward to reading other articles you have. Thanks.

  33. Hi Guru, I fell blessed that I found your post while searching for spyware program. I agree with you on the subject Official WordPress Plugin for StatCounter. I was just thinking about this matter last Friday.

  34. jocuri says:

    Keep up the good work! 10q

  35. Rosina says:

    Looking for information and found it at this great site…

  36. Allhightech says:

    I have been using this plugin on most of my WP blogs. I find more comfortable working with statcounter instead of Google Analytics. Thanks guys. Keep up the good work.