WordPress Stats plugin not updating – fix



There are a lot of good things to like about the newer versions of wordpress. It seems to keep getting better. One of the really cool plugins is the WordPress.com stats plugin. This lets you have a nice simple stats interface accessible from your Dashboard on your wordpress blog. (It uses wordpress.com to track stats, so you’ll need a wordpress.com account to be able to use it. I set up a wordpress.com account some time back to be able to use the akismet plugin and the same key that you have for akismet can be used for the stats plugin.) You essentially upload the stats.php file into your wp-content/plugins folder, enable it in the plugins list, then enter your API key in the configuration page for stats. That’s all that should be to it, but I’ve noticed sometimes that’s not all it takes to get things going.


One recent site upgrade I added the stats plugin to and waited, visited with a browser I wasn’t logged in on (as long as your logged into your account you’ll not add up your stats numbers.) Nothing. Other stat trackers I had showed that there had been traffic so I started investigating.

It turns out that your theme needs to have <?php wp_footer(); ?> at the very end of the footer before the </body> tag.

That was enough to make things start working again. (Actually, I had to flush out the cached pages held by wp-super-cache first.)

Among the things I like about the wordpress stats plugin is that there’s a dropdown list of ALL the sites with wordpress stats installed so I can quickly compare stats across all sites. It doesn’t offer the kind of detail that google analytics does, but it does a good job of showing the basic trend over time, and let’s face it if I checked google analytics enough to read all of it’s information I would not have any time to actually DO anything else.

By the way, the stats plugin like this get’s along just fine with cache plugins because the stats are called from a javascript code at the bottom of the page (which is cached just the same as the other content on the page.)

Related Posts

Blog Traffic Exchange Related Posts
  • IE 7 INCOMPATIBLE with WORDPRESS blogs using the stattraq plugin I've FINALLY tracked down what was causing the issue with displaying my page in Internet Explorer 7 (RC1). It turns out that the stattraq plugin in wordpress (stattraq site) is part of the problem. Now, I don't understand exactly WHY... because I do have stattraq on each of the sites,......
  • The Google Problem, or why I'm starting to use MSN and Yahoo more. This weekend has been a bit of an introspective for me on why google is still the primary search engine I use. I know, I've been a big "fan(?)" of google for quite some time, I've obviously incorporated many of their products into my pages and used Google for 99%......
  • Google Trends Hottrends (Hot Trends) truncated to 40? Interesting - it looks as though Google may be limiting the number of results in their hottrends search page to just 40 now from the 100 that they used to. I'm not very surprised really.... in the last few weeks I've been using the hottrends to see which rogue antivirus......
Blog Traffic Exchange Related Websites
  • Search Engine Secrets - Get Top Listings On Google & Yahoo! Let me show you How to Get Top Listings for every page of your site and Rank #1 for all of your Keywords in the Search Engines - Guaranteed. Did you believe this? If your like me you've probably seen a million pages and emails like this that claim they......
  • Everything You Need To Know About CommentLuv Are You Using CommentLuv? There has been many debates over which plate form to do your commenting on. There is Disqus which i don’t particularly like and than there is CommentLuv.There have been some conversations I would have liked to join but haven’t because it doesn’t use the kind of......
  • Enhance Wordpress Posts with Post Layout Pro plugin If you thought you are content with having the freedom to apply custom HTML code anywhere on your wordpress posts, eventually you will try to find ways to implement them without manually repeating the process of copy and paste.  If you want more than just widgets, then Post Layout Pro allows......
www.pdf24.org    Send article as PDF   

Similar Posts


See what happened this day in history from either BBC Wikipedia
Search:
Keywords:
Amazon Logo

Comments are closed.


Switch to our mobile site