Forums

WordPress.com stats doesn't seems to work for me (4 posts)

  1. lhoylhoy
    Member
    Posted 2 years ago #

    out of curiousity i installed wordpress.com stats in my blog but it seems not working.ofcourse its not a lost cost i still have my google analytics. Is there any extras that i might forgot to do aside from installing it (API key already registered)

  2. Edward Caissie
    Member
    Posted 2 years ago #

    The key to WordPress.com Stats is your theme must have a call to wp_footer.

    Generally you will find in your footer.php file this code bit:

    <?php wp_footer(); ?>

    Without that function call your visitor hits are not recorded by WP Stats

    Here is a link to the FAQ detailing a bit more:
    http://wordpress.org/extend/plugins/stats/faq/

  3. lhoylhoy
    Member
    Posted 2 years ago #

    salamat! gracias! thanks!

  4. gracehowes
    Member
    Posted 1 year ago #

    Okay...so what if I'm using a WP theme (darkwater) that doesn't have that code included in the footer.php and there is no </body> tag, this is all I see:

    <div id="footer">
    <p>
    Copyright © 2007 <?php bloginfo('name'); ?>. Darkwater Theme by Antbag.
    </p>
    </div>

    From the link you suggested we look at it says you can just enter it. Can I still put the code in this theme and make WP stats work? And where would I put it with no </body> tag?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.