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

    Statscounter for WordPress does not seem to be working properly. Wassup (another stats plugin for wordpress) reports more than 600 visitors to one of my blogs, while Statscounter reports 50-some.

    So one of the is wrong, and in this case I think Statscounter. I have installed the plugin, and everything indicates that it is working as it should, so what is wrong here?

    Peter

  2. Pingback: Pages tagged "wordpress"
  3. how does this work could u tell me more
    but i really appreciates it
    thanks
    bhaktapurgirl
    mazzako.blogspot.com

  4. thanks for sharing such informations.
    i will used that
    jasmine
    morefun-time.blogspot.com

  5. I have a slightly diff. question than those who posted above asking why the need for a plugin if they already have Statcounter code installed in their blogs.

    I’m assuming that the plugin won’t provide any more features or track traffic differently than the Statcounter code we’ve inserted into our footers/headers. Am I right? Because if it will work differently then it might be worthwhile to install the plugin. I’m doubting that’s the case but curious about the answer.

  6. What a new Year surprise!I moved to my self-hosted WP blog a few weeks ago.This will be an exciting additional plugin to my WP blog. Keep it up guys 🙂

  7. This is great, next time I do maintenance of my server I will upgrade to the statcounter plugin, until now I have been running with the java tag in the page footer, but if the plugin runs just as well (or better) than the footer will be cleaned for the java tag. I use SC to give me a review of trafic for all my and my wife’s projects, and it is very interesting to see the trafic development on different projects.

    Keep up the good work

  8. thanx

    مركز تحميل , رفع ملفات , مركز رفع , مركز ملفات
    www.upz.cc

  9. Will the plugin add a widget? I installed it just now and filled out the IDs ang saved, but nothing happened. How would I know if it works?

  10. I don’t use WordPress, but I have a question: my Statcounter stats for yesterday read 14 unique visits to my Wilderness Diary site. The publishing platform I use recorded 1,250 unique visits during the same period. As you can see, this is a HUGE discrepancy. Any ideas why it might be happening? I have the Statcounter code copied into the footer of my website, so it logs each page.

  11. I already have “installed” the statcounter a long time ago …
    I simply copied the code into a text widget on my site at wordpress and voila .. it worked …
    Will try out the new plugin to see if it makes a real difference.

  12. I’ve installed the plugin and tried to fill in the 3 required values, but my statcounter project doens’t generate a security string:

    var sc_project=516093;
    (…)
    var sc_security=””;

    My beta counter does generate a security string. Is this a bug in your system, or should I reconfigure my counter?

    StatCounter Team Response:

    Hi Krispijn,

    No need to reconfigure your counter. This simply means you created your project before we added this extra security measure to StatCounter. You can simply leave this field blank in the wordpress plugin install.

    If in the future you ever want to enable this security feature of StatCounter you simply

    – login to your account
    – click the wrench icon beside your project name
    – click the ‘security code’ link
    – follow the instructions on the page

  13. I have to echo Anime fan’s comment above – where’s the need for a plugin here? When I migrated my site from Movable Type to WordPress, I simply inserted the counter code into my theme/template as usual. What’s the advantage of a plugin?

    StatCounter Team Response:

    Putting the StatCounter code into your footer.php is a fine solution… but the plugin has the advantage of being very easy to install and won’t be effected by wordpress software upgrades.

    Thanks for your comment!

Comments are closed.

Try Statcounter free for 30 days

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

Try it for FREE!