• Yesterday´s afternoot I installed the WordPress stats plug-in into my site and submitted the API key. But from that time, stats still shows no visitors, although I use also motigo webstats and there I can see that users visited the site from time I installed WP stats. Where is the problem? Why the plug-in doesn´t work?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Yes I’m having this same problem right now.

    Hi guys,

    I have only been using WP for a few days, but have just managed to resolve this for my own site … looks like many people ask and get no response, so if it works for you, please spread the word by answering someone else’s unresolved question on the same topic !

    My site is not hosted by WordPress, it’s on my own domain, but I think this applies to everyone. When you change themes, you may or may not get the right code to make WPstats work. If it’s a WP theme, it probably works OK, but if not then it might be “broken”.

    I’m assuming you’ve installed and activated the plugin, with an API key from WordPress.

    First, log in to administer your site. Go to the ‘Appearance’ section where you can change themes. Look a little further down the list of options and choose “Editor”.

    You’ll get a big window of code, probably for the “style.css” file … but you need to edit the “footer.php” file, so choose footer.php from the list over on the right and wait for the window to fill with the footer code.

    Scroll down to the bottom of the code window, and insert this …

    <?php wp_footer(); ?>

    … just before the line that has </body> in it.

    Now go check your stats … they will almost certainly still say no visitors.

    Now log out of your site and close your browser. Now re-open your browser and go to your site as if you were an external visitor ( i.e. do not log in ! ).

    Go to a specific page or area of your site, and note down on a bit of paper where you went !

    Now log back into your site as administrator and look at the stats … after a few minutes ( I think WP claim this is refreshed every three minutes, but give it ten if not sure ) your anonymous visit to your own site should show up … in which case it’s working and you can stop for coffee !

    Hope this helps,

    Alan

    irphoto, thank you! That actually seemed to work! 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Plugin WordPress Stats doesn´t work’ is closed to new replies.