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.

186 Comments

  1. 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.

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

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

  4. 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!

  5. 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!

  6. 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!

  7. I’m wondering if the problem with my counter is that I’m using the Fjords theme… anybody know? It’s got four columns.

    The problem: There’s no sign of a counter anywhere and when I log in to statcounter there’s no results showing still after a few days.

    StatCounter Team Response:

    Please check your emails!

  8. Hi there, I’ve seen my query a few times but with no response. I’ve followed all instructions from beginning to end twice now, from generating the input info (3 fields) to enabling the plugin, but nothing works – the counter’s not counting.

    I gather I’m doing (or not doing) something obvious, but can’t figure out what that is.

    Can anyone help? Looks like a great plugin if I can get it to work 🙂

    Thanks!

    StatCounter Team Response:

    Please check your emails!

  9. Cool! Good to know that this plugin is endorsed by Statcounter. I will try this out. I use WordPress as a CMS so I use the Pages more often. Right now, I just put the statcounter code in the footer.php file of my WP websites and it works OK so far but I need use this plugin.

  10. i am having a problem with the statcounter…
    wordpress is 2.5
    but for some reason my counter is 0 : zero

    any idea why ?

    StatCounter Team Response:

    Please check your emails!

  11. Are there any plans to add number of RSS/Atom subscribers to wordpress blog. This would be a very cool feature that I am sure would be used by many many blogers.

  12. On a WP 2.5, for the Options Page I see a blank page. anyone else?

    Ivan

  13. I can’t get it to work with my website?

    Here is the page! The theme is not working with WordPress

    http://www.JohnDennerRocks.com

Comments are closed.

Try Statcounter free for 30 days

No credit card required. Downgrade to the free plan anytime.

Try it for FREE!