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
  • 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%......
  • 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......
  • Adsense UsernamePasswdNotMatch So, I went to adsense to check my stats and I get a page that is almost blank with the only text showing being UsernamePasswdNotMatch Ahhhhh.... what have I done to upset the Google overlords..... It sounds like just clearing your browser cache and trying again should get you in.......
Blog Traffic Exchange Related Websites
  • Google Friend Connect Goes Live A few days ago I got an email from Google telling me that I had been whitelisted to use Google Friend Connect. I took a glance at the Friend Connect pages, fooled around with it a little bit, but I didn't yet put any widgets on my site. Then, yesterday......
  • 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......
  • 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......
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