Why WordPress Stats Stopped Working

So your WordPress stats don’t work?

A few days ago the theme here on WordPressArena was changed and a few days later I checked my stats in the WordPress dashboard and I saw nothing at all. Now I know I am not getting tons and tons of traffic but when I saw absolutely none for a few days I knew there was a problem with one of the plugins or the theme. If you recently changed or edited your theme this may be why. Here is a short WordPress guide to check and fix your WordPress stats.

The WordPress.com Stats uses a bit of code in your footer template to run the plugin. Even if you have a footer.php file the code below must be in the file in order for the plugin to work. I am not going to get into why or how because I don’t know and frankly all I wanted was for it to be fixed and it worked.

Open your footer.php file and make sure you have the needed code in place to run the plugin shown below, near the bottom of the file just above the closing body or Html tags:

<?php wp_footer(); ?>

</body>
</html>

This fix worked for me and stats started showing immediately.

Editorial Staff
Editorial Staff
Editorial Staff at WPArena is a team of WordPress experts led by Jazib Zaman. Page maintained by Jazib Zaman.

LEAVE A REPLY

Please enter your comment!
Please enter your name here
Captcha verification failed!
CAPTCHA user score failed. Please contact us!

spot_img

Related Articles

How to Add Categories and Subcategories in WordPress

Keeping your WordPress website’s content organized is key to offering a smooth user experience, especially as you continue to add...
Read more
Learn how to adjust the autosave_interval in WordPress to prevent frequent auto-saving interruptions while editing posts/pages. Follow the steps in...
Error 404 pages are crucial for guiding users when a URL seeks a missing page on your website. While it's...