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
  • Google search optimization I've just read a great article by Eric Wolfram on Google Search optimization. Well, it's probably not a new article it's been around for a while. I saw it referenced at marketingtom.com from February of 2004. He does have some good ideas though. Among other things the main idea is......
  • Wordpress 2.0.4 Update It has been a few days now, but I noticed that Wordpress 2.0.4 has now been released and is highly recommended due to the fixing of a few security issues. They also list a number of bugfixes as well. So, if you're running a site based on wordpress it's time......
  • 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
  • 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......
  • What You Need From a WordPress Hosting Company Wordpress has taken over the world of websites and blogs, creating a simple and easy way for individuals get information out into the world of the Internet. The system gives users an incredibly easy platform to create the blogs, information, and news sites that they need to be successful. The......
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