• Recently, my WordPress site stats have been showing a high number of hits to a page that shouldn’t be getting them.

    My site is https://www.thebuckeyebattlecry.com – and the page that is getting a lot of hits (Gridiron Analysis) has been deleted, but that URL is still getting about 1800-3000 more hits per day than it should.

    I’ve added a different plusin and the site stats match what that shows, but I’d really prefer to see more precise stats.

    Any ideas, or do you need more info?

Viewing 10 replies - 1 through 10 (of 10 total)
  • Hi Jeff,

    What stats are you using? Did you try Google Analytics see what it tells you?
    Also, to make sure the page is truly disabled, did you try inputting the page URL directly into the address bar? The fact that you do not see it on your navmenu does not mean that it is not published, and people might still be landing on it from old links published elsewhere.

    Hope the info is useful. Cheers!

    Thread Starter Jeff at The BBC

    (@jeff-at-the-bbc)

    Hi,

    I’m using WordPress.com stats.

    The page URL still exists, it’s just got nothing on it besides the page theme. We deleted the previous material and re-inserted it onto a new URL (the new one isnt taking on the extra hits).

    While setting up Google Analytics just now, I discovered a code at the bottom of the page that is taking the additional phantom hits….I deleted it. Let’s see if that does the tick.

    Therefore, you may have helped me discover the problem. I’ll let you know.

    Jeff

    Great news! Hope that works.
    Do Let me know.

    Hi Jeff,

    Did you fix your site stats issue? If you didn’t, LMK and I’ll give you a hand. If you did, would you mind marking this thread as “Resolved”?

    Thanks!

    Thread Starter Jeff at The BBC

    (@jeff-at-the-bbc)

    I dont think it is fixed yet….still getting too many hits on a blank page. Can you help?

    Sure!
    I’ll look at it in detail later tonight. One thing though:
    I took a quick look at your site’s code, particularly the footer section, and noticed you have two instances of the stats script running with different post variables:
    First one:

    </script><!--stats_footer_test--><script src="https://stats.wordpress.com/e-201038.js" type="text/javascript"></script>
    <script type="text/javascript">
    st_go({blog:'4696782',v:'ext',post:'0'});
    var load_cmc = function(){linktracker_init(4696782,0,2);};
    if ( typeof addLoadEvent != 'undefined' ) addLoadEvent(load_cmc);
    else load_cmc();
    </script>

    Second one:

    </script><!--stats_footer_test--><script src="https://stats.wordpress.com/e-201036.js" type="text/javascript"></script>
    <script type="text/javascript">
    st_go({blog:'4696782',v:'ext',post:'2190'});
    var load_cmc = function(){linktracker_init(4696782,2190,2);};
    if ( typeof addLoadEvent != 'undefined' ) addLoadEvent(load_cmc);
    else load_cmc();
    </script>

    Is this on purpose?

    Thread Starter Jeff at The BBC

    (@jeff-at-the-bbc)

    No, it’s not on purpose. I’m a novice with code, so I cant imagine why it would be different.

    Thread Starter Jeff at The BBC

    (@jeff-at-the-bbc)

    Would you advise me to make the two match each other>

    Thread Starter Jeff at The BBC

    (@jeff-at-the-bbc)

    Hi Marventus,

    I removed one of the scripts….this one;

    </script><!–stats_footer_test–><script src=”https://stats.wordpress.com/e-201036.js&#8221; type=”text/javascript”></script>
    <script type=”text/javascript”>
    st_go({blog:’4696782′,v:’ext’,post:’2190′});
    var load_cmc = function(){linktracker_init(4696782,2190,2);};
    if ( typeof addLoadEvent != ‘undefined’ ) addLoadEvent(load_cmc);
    else load_cmc();

    ….and saved the file.

    Nothing exploded on me, so I feel good about it.

    When you take a look at it, I give you permission to make changes, provided the changes you make only involve fixing the stats glitch.

    Jeff

    Hi Jeff,

    So sorry I didn’t get back to you sooner! I had a very busy week that kept me away from the Forums.
    I was finally able to took a look at your code, and I didn’t see any errors in there that could generate the kind of behavior you described with your stats (other than the duplicated code, which you already took care of). Are you still experiencing the issue?
    On another note, I did notice some minor html errors while I was looking at your code, so I ran your page through the W3C html validator, and here are the results I obtained. Don’t freak out over the amount of errors: less than 100 is pretty standard with the Validator. Besides, it is usually way less than the number indicated (between 30 to 50% less, depending on the case), because certain broken or incorrect tags lead the Validator to “find” other errors that are not really errors, and that disappear after you fix the actual ones. Even though I am not a programmer (yeah, the disclaimer, haha), I agree with all the folks that think that W3C validation is a BIG deal and that it can improve your SEO, so I suggest you take a look (or have someone take a look) at those.
    Let me know how it goes. Good luck!

    M

    P.S.: About your last post, luckily for you, nobody can actually change stuff around in your blog other than you (and hackers, of course, haha), but most browsers have a feature that let’s users look at webpage codes. That’s how I inspected yours, ??

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Site Stats wrong’ is closed to new replies.