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
  • Share This Plugin not Working in Some Themes I've started adding the Share This plugin to several of my sites and was frustrated on one site to see on the front page "SHARETHIS.addEntry(" and a lot more ugly text. Upon investigation the < script tag enclosing the SHARETHIS javascript. So, I went on an investigation. I looked in......
  • The Google Problem Part 2 If you know me.... you know I have a HARD time putting down a problem that's unsolved. Even if it's a problem that really doesn't have a solution (in my control at least)... I have a tendency to look and analyze, turn it over and try and find out as......
  • Wordpress plugin stattraq speedup I've made mention I think that I use the stattraq plugin for wordpress as one of the ways to see where traffic is coming from on the site, etc. etc. etc. I think I mentioned it as one of my stat tracking tools about the time Google Analytics limped out......
Blog Traffic Exchange Related Websites
  • Six Billion Dollars for Groupon's Email List is El Ridiculoso Perhaps I'm having flashbacks to the Rupert Murdock & MySpace deal, but Google's Six Billion Dollar bid for Groupon seems a little El Ridiculoso to me. As Jim Wang from Bargaineering.com cleverly put it: Google is basically buying an email list because Groupon is too new for brand loyalty.......
  • Google Page Rank Explained The Three States of Page Rank. and other miscellaneous nuances While Page Rank may seem ‘cut and dry’, PR really is much more convoluted. Below I show examples and go on to explain the meaning as well as related issues. 0/10 Unranked No Page Rank Available The 3 States Explained......
  • 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