WordPress.org

Forums

No Stats (11 posts)

  1. johnywhy
    Member
    Posted 7 years ago #

    hi

    i'm using the wp-stats plugin with my wordpress.com api code.

    i'm not getting any stats on my self-hosted http://laptopacademy.net/wordpress/

    my other self-hosted blogs, using the same api, are giving correct stats.

    the stats page loads correctly, but not hits show.

    plz help

    thx

  2. spotlope
    Member
    Posted 7 years ago #

    I've noticed the same thing. Five days now my stats plugin has been installed, and it still shows zero traffic. I know it's a new blog, but Google Analytics is telling a very different story. Mine is self-hosted too at http://www.wordsforwriters.com/

  3. wnyrealtor
    Member
    Posted 7 years ago #

    I am experiencing the same problem on my self hosted blog http://www.buffaloniagararealestatehomesales.com/wnyrealtor/ the last 5 days I am showing zeor traffic. I reinstalled, still no stats... Yet the bot-tracker is showing me traffic referred to the site????

  4. johnywhy
    Member
    Posted 7 years ago #

    i found the solution. my theme is missing the footer code that wordpress.com stats requires. you can add it yourself, if missing from your theme. look here:
    http://wordpress.org/extend/plugins/stats/faq/

  5. wnyrealtor
    Member
    Posted 7 years ago #

    My theme has the footer code and I still am not getting stas. any suggestions?

  6. Tom Richmond
    Member
    Posted 7 years ago #

    Re: the footer code. I am a PHP noob. The link says that this line of code <?php wp_footer(); ?> needs to be added in the "theme" right before the end "body" tag. It does not specify what php file needs this code added. index.php? single php?

  7. aces
    Member
    Posted 7 years ago #

    My theme has the footer code but I'm not getting any stats either....

    However i also run bad behaviour and that isn't displaying statistics in the blog footer. Spam karma 2 isn't inserting spam eaten messages in the footer, even though it passes the advanced compatibility check. I also run Akismet amongst other plugins.

    I use an adapted simplysquared blue template on WP 2.3.3. The theme's index.php does call wp_footer, but the closing body tag is in the footer file....

  8. Emptyeye
    Member
    Posted 7 years ago #

    It looks like the <?php wp_footer(); ?> code has to be added to footer.php. I added it and either my site is really unpopular or it didn't work. I'm thinking it's the latter, since I'm getting visitors from what I can tell thanks to other software...is there something else that might have to go in the theme somewhere that isn't there?

  9. aces
    Member
    Posted 7 years ago #

    oops, i made a mistake above.

    The theme calls

    <?php get_footer(); ?>

    When I added

    <?php wp_footer(); ?>

    to footer.php I get the bad behavior and spam karma 2 feedback that I was looking for...

    Maybe now the WordPress.com Stats will show up?

    (Unfortunately my webhost has been offline for ages so i haven't been able to try it online yet...)

  10. jokkesvin
    Member
    Posted 6 years ago #

    I' not getting any stats either, and I know that my blog pulls a fair amount of traffic.

    I just tried adding the <?php wp_footer(); ?> to my footer.php

    My footer.php file now looks like this:

    </div> <!--close content-->
    <div id="footer">
    Copyright &copy; 2008
    </div> <!--close footer-->
    </div> <!--close wrapper-->
    
    <?php wp_footer(); ?>
    </body>
    </html>

    Anyone having any success with this?

  11. nerdling
    Member
    Posted 6 years ago #

    My theme has had the footer code all along and I've never been able to get this plugin to work. I don't know what else to do besides go third party, which I've been avoiding.

Topic Closed

This topic has been closed to new replies.

About this Topic