WordPress.org

Ready to get started?Download WordPress

Forums

ShortStat - works, but no SearchStrings or Countries stats? (3 posts)

  1. tqn69
    Member
    Posted 9 years ago #

    I didn't see this issue in the Support forums, so I figured I'd ask.

    I've installed Shaun Inman's "ShortStat" and it works fine except that it doesn't display statistics for Search Strings or Countries. Why is this? (As for the Countries, I did install the ip-to-country business.)

    If there's an obvious configuration issue that I'm missing, please help. Thank you.

    You can see it at http://coopblue.com/shortstat/.

  2. Please make sure that you are using the latest release of ShortStat (v0.36b). Also, please be sure that you have the ShortStat call in WordPress' root index.php file. After inserting the call, the index.php in WordPress' root should look something like this (you should use the exact call that ShortStat gave you once you installed it):

    <?php @include_once($_SERVER["DOCUMENT_ROOT"]."/shortstat/inc.stats.php"); ?>
    <?php
    /* Short and sweet */
    define('WP_USE_THEMES', true);
    require('./wp-blog-header.php');
    ?>

  3. tqn69
    Member
    Posted 9 years ago #

    Macmanx, Thank you! Although I was already using the latest release, I didn't have that call in the root index.php. I had put the call in my footer.php, thinking that that was enough. Once I followed your instructions, I hit my blog, then hit ShortStat and immediately saw one hit under "United States."

    Thanks again.

Topic Closed

This topic has been closed to new replies.

About this Topic