Support » Plugins » ShortStat – works, but no SearchStrings or Countries stats?

  • 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/.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    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');
    ?>

    Thread Starter tqn69

    (@tqn69)

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘ShortStat – works, but no SearchStrings or Countries stats?’ is closed to new replies.