Wordpress.com Stats Plugin — Not Working

Last week, I noticed how my Wordpress.com Stats plugin stopped recording stats for my blog.  It didn’t lose any data from the past — it simply stopped tracking new visitors and traffic.  So my stats looked something like this:

After a bit of poking around, I found a thread in the Wordpress forum that had a fix to the problem.  I’m not sure why my footer was missing the following line, but here’s the fix:

In footer.php, make sure you have this line:


<?php wp_footer(); ?>

Before these lines:


</body>
</html>

Hope this helps!

http://wordpress.org/extend/plugins/stats/

Category: Code

Tagged: , ,

2 Responses

  1. Travis says:

    Thanks! This fixed my problem. I have two blogs with different themes and one was tracking stats and the other was not. Now they are both tracking!

    Thanks so much.

Leave a Reply

Links

Blogroll