Forums

Not getting data from wp-stats? (10 posts)

  1. differentclassradio
    Member
    Posted 1 year ago #

    I followed the directions, dropped wp-stats into my folder on the server got my API number but im not getting the data, its still reading 0.
    please help

  2. VelvetBlues.com
    Member
    Posted 1 year ago #

    Do you have the wp_footer() function in your template?

    How long have you had it set up?

  3. differentclassradio
    Member
    Posted 1 year ago #

    ill check, only had it up two days, but i chould defo have hits

  4. differentclassradio
    Member
    Posted 1 year ago #

    i do have a footer in my template (server?) i dont really know what you mean?

  5. VelvetBlues.com
    Member
    Posted 1 year ago #

    Is this a custom template? If not, which one are you using?

    For stats to work, the footer needs to include the function wp_footer().

  6. JBF
    Member
    Posted 1 year ago #

    VelvetBlues.com is saying that your footer.php file needs to include the wp_footer() function in order to use WordPress.com stats. If it doesn't have the function then the WordPress.com stats plug-in won't be able to insert its tracking code into your footer automatically thus being unable to provide any data.

    If you want to add it to your footer.php file you just need to go to Design -> Theme Editor -> Footer (footer.php) and add the following code:

    <?php wp_footer(); ?>

    If you do choose to edit your footer.php file this way don't forget to download your updated footer.php file to your computer in the event that you need to re-upload your website and theme in the future.

  7. differentclassradio
    Member
    Posted 1 year ago #

    ok, ill check it and get back

  8. differentclassradio
    Member
    Posted 1 year ago #

    I posted the code, into the footer at the bottom of that section of text.

    I have hit the site on another pc, but still no reading, does it take time?

  9. differentclassradio
    Member
    Posted 1 year ago #

    im at a loss.........................

  10. JBF
    Member
    Posted 1 year ago #

    It takes time. Did it ever pick it up?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.