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 on “Official WordPress Plugin for StatCounter

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

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

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

Comments are closed.