• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer

Tips and Tricks HQ

  • Home
  • Blog
  • Projects
    • All Projects
    • Simple WP Shopping Cart
    • WP Express Checkout Plugin
    • WP Download Monitor
    • WP Security and Firewall Plugin
    • WP eStore Plugin
    • WP Affiliate Platform
    • WP eMember
    • WP Lightbox Ultimate
    • WP Photo Seller
  • Products
    • All Products
    • Checkout
  • Support
    • Support Portal
    • Customer Only Forum
    • WP eStore Documentation
    • WP Affiliate Software Documentation
    • WP eMember Documentation
  • Contact

How to fix WordPress.com Stats plugin showing zero (0) visitors!

You are here: Home / Web Development / How to fix WordPress.com Stats plugin showing zero (0) visitors!

Last updated: November 18, 2008





This article explains how to fix WordPres.com Stats plugin when it doesn’t show any statistics for your site or shows 0 visitors.

I recently installed WordPress.com Stats Plugin on one of my sites. WordPress.com Stats provides statistics on most popular metrics about the visitors to your site. Unfortunately, for some reason the plugin wasn’t working properly. It was showing zero (0) visitors for each day (which was wrong) and all the other stat blocks like “Top posts & Pages”, “Clicks” etc were empty. I tried many things like deactivating, deleting and then reactivating after uploading a new copy of the plugin to address this issue. I even used a different API key to see if that works. None of these methods worked. It was really surprising to me as the plugin works fine on two of my other sites. Anyway, after spending a lot of time trying to fix this issue I decided to read the Frequently Asked Questions (FAQ) section and found the answer to the problem. *hint* always read the FAQ section 🙂

Here is what you have to do to address this issue if you are having a similar problem.

Insert the following line in your “footer.php” file of your template at the very bottom right before the </body> tag.



<?php wp_footer(); ?>

Example of a “footer.php” file

<div id=”footer”>
<p><a href=”<?php bloginfo(‘url’); ?>”><?php bloginfo(‘name’); ?> – Example text</a></p>
</div>
<?php wp_footer(); ?>
</body>
</html>

The reason it was working on my other sites from the start was because the themes used by default had that function call in the “footer.php” file. Hope this helps solve your WordPress.com Stats Plugin issue.

Related Posts

  • Apache Mod Security update, How to Fix ‘Error 406’ or ‘Not Acceptable’ issue
  • How to Control Access of the Web Crawlers or Web Robots to Your Site
  • Protect your WordPress site/blog from comment spam trick
  • How to Uninstall and Reinstall WordPress

Web Development Troubleshooting,  Web Development,  web masters,  Wordpress

Reader Interactions

Comments (7 responses)

  1. admin says:
    September 12, 2014 at 8:59 pm

    @Corentin, It is NOT necessary to know a programming language to open a blog. Simply pick a blogging platform that you like and use it.

  2. Corentin says:
    September 12, 2014 at 5:16 pm

    Hello

    It’s the first time I consider to make a blog and I would like to ask you some questions:

    Is it necessary to know a programming language before opening a (paying) blog.
    In the case I need to: which ones?

    Thanks for your help

    Corentin

  3. mommi84 says:
    June 23, 2011 at 6:41 am

    GREAT JOB! Thank you so much!

  4. Angelo says:
    March 29, 2010 at 5:23 pm

    Thank you so much, I’ve been trying to solve this ever since I started my second blog for school. I just couldn’t find the problem.

    But it’s fixed now. Better late than never, but still thanks!

  5. ZcMander says:
    March 23, 2010 at 2:47 pm

    Thanks, I have tried google this earlier, and never realized that I had construct site in wrong way.

    Another Stats-plugin called “StatPress” works perfectly without wp_footer();

  6. Sushant @ Tech Gadgets says:
    February 17, 2010 at 10:44 am

    Thanks you saved me a lot of time

  7. John says:
    September 5, 2009 at 9:16 am

    Hi, i have same problem. but its not working
    help me

Leave a Reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Featured & Popular Articles

Video Answers to Top WordPress QuestionsWordPress Optimization Tips and Tricks for Better Performance and SpeedEssential WordPress Security Tips - Is Your Blog Protected?WordPress Simple PayPal Shopping Cart PluginTop 15 Search Engine Optimization (SEO) Techniques I Forget to DoList of the Best and Must Use WordPress PluginsHow do I Start a Blog and Make Money Online?Good Domain Name Picking Tips for Your Blog SetupFind Out Which WordPress Web Hosting Company Offers the Cheapest and Reliable Web Hosting Solution

Featured WordPress Plugins

wordpress estore plugin
wordpress membership plugin
WP Express Checkout Plugin
WordPress Lightbox Ultimate Plugin
WordPress photo seller plugin
wordpress affiliate plugin

Recent Posts

  • Accept Donations via PayPal from Your WordPress Site Easil [...]
  • Buy Now Button Graphics for eCommerce Websites [...]
  • Subscription Button Graphics for eCommerce Websites [...]
  • Adding PayPal Payment Buttons to Your WordPress Sidebar Ea [...]
  • PayPal QR Codes [...]

Comment & Socialize

  • @Rodrigo Souza, Thank you f ...
    - admin
  • The example for 'slm_add_ed ...
    - Rodrigo Souza
  • @Ron, All the valid transac ...
    - admin
  • Hello, when people have sel ...
    - Ron
  • We have hte following featu ...
    - admin

Check out our solutions

View our WordPress plugin collection and start using them on your site.

Our WordPress Solutions

Footer

Company

  • About
  • Privacy Policy
  • Terms and Conditions
  • Affiliate Login

Top WordPress Plugins

  • Simple Shopping Cart
  • PayPal Donations
  • WP Express Checkout
  • WP eStore
  • WP eMember

Blogging Tips

  • How to Start a Blog
  • Selecting a Good Domain
  • Cheap WP Hosting
  • WP Video Tutorials
  • Simple SEO Tips

Search


Keep In Touch

Copyright © 2023 | Tips and Tricks HQ