November 2nd in Webmaster, WordPress by charlie .

WordPress.com Stats Not Working for You?

WordPress.com Stats is a hugely useful tool. In one screen you get numbers for today/week/month, along with post and SEO information. It’s everything a blog author needs for metrics. If it’s installed and not working, you’ll want to read this.

If you’ve installed the WordPress.com Stats plugin and it’s broken, I may have a quick solution for you.

Go into your theme folder and open footer.php. Look for this code:

<?php wp_footer(); ?>

If you DON’T see it, your WordPress.com Stats will not be able to install the javascript code it needs to collect activity. Add it somewhere above the closing </body> tag.

wordpress-com-stats-med

WordPress.com Stats

Aside from seeing stats in your Stats page, you can tell that WordPress.com Stats is working by viewing source and finding the line of code beginning with:

<script src="http://stats.wordpress.com/....

You can also go to the bottom of any content page and look for the little smiley character.

I hope this helps you save the hour that I just lost to this little template bug.

  • Twitter
  • Facebook
  • StumbleUpon
  • Technorati Favorites
  • FriendFeed
  • Delicious
  • LinkedIn
  • Yahoo Buzz
  • Yahoo Bookmarks
  • Google Bookmarks
  • Share/Bookmark
charlie

Hey, thanks for stopping by! Please take a few moments to comment on this topic and let me know how I'm doing.

One Comment

  • razvan
    January 30, 2010

Leave A Comment.