• I found a forum post but it does not help solve my problem:

    http://wordpress.org/support/topic/plugin-wordpresscom-stats-st_go-is-not-defined-error-in-firefox?replies=4

    Basically, the user wrote that they solved their problem by changing a setting on their own client, well that’s fine and well but you can’t change the client of all your visitors. Unfortunately this error is preventing IE from loading other custom JS properly. Other browsers I use do not have a problem displaying the content that is supposed to run afterwards. IE is hit and miss, sometimes it does sometimes I just gives up loading the rest of the page.

    I want to know what this code in WordPress.com Stats does and how I can force st_go to have a value, even if a bogus default value so IE does not stop loading and processing Javascript. Here is what the code looks like (I put x’s in for privacy concerns)

    <script type="text/javascript">
    st_go({blog:'xxxxxxxx',v:'ext',post:'0'});
    var load_cmc = function(){linktracker_init(xxxxxxx,0,2);};
    if ( typeof addLoadEvent != 'undefined' ) addLoadEvent(load_cmc);
    else load_cmc();
    </script>

    Is st_go a function? IE reports object expected, and Opera’s error console says “undefined variable st_go”
    If it’s undefined what does that mean and how can I put a default value in it if it’s a function? I’m confused.

The topic ‘WordPress.com Stats Javascript error: st_go undefined’ is closed to new replies.