Forums

WP SlimStat
[resolved] All pageviews/visits recorded as 'Bots, Crawlers and others' (13 posts)

  1. davidgasi
    Member
    Posted 6 months ago #

    As the topic suggests.

    All pageviews/visits recorded as 'Bots, Crawlers and others'. i.e. no traffic showing up as green in spy view, raw data, etc any longer.

    Was recording data and displaying correctly before update this morning.

    Running:
    WP - WordPress 3.2.1
    WP SlimStat - Version 2.5.2

    If you need any more info, let me know.

    Cheers :)

    http://wordpress.org/extend/plugins/wp-slimstat/

  2. camu
    Member
    Posted 6 months ago #

    Hi there,

    it could be related to the new way I enqueue the tracking javascript in the source code. What is the URL of your site?

    Camu

  3. davidgasi
    Member
    Posted 6 months ago #

    Heya Camu,

    URL is http://typejournal.com

    I've had one 'Coming from a Search Engine' match, otherwise all as stated in the previous post.

    Cheers,

    David

  4. stevemagruder
    Member
    Posted 6 months ago #

    I just did a quick test and see this too. I checked the output and I don't see a script where I would expect to see it if it were enqueued. The minify plugin I use would show it in the list of .js files it combines.

    Is JavaScript used for this determination anyway? I thought that kind of data was available to PHP.

  5. camu
    Member
    Posted 6 months ago #

    Steve,

    the javascript code is used to detect if a visitor is "human" or not (most search engine crawlers do not execute that code by design). As for your message, does it mean you don't see a reference to wp-slimstat.js anywhere in the HTML code of your pages?

    Camu

  6. camu
    Member
    Posted 6 months ago #

    David, as I suspected, the javascript reference is not being added to the html code of your site, because of the way the script is enqueued, I'll have to take a look at it.

    Thank you for reporting this issue,
    Camu

  7. stevemagruder
    Member
    Posted 6 months ago #

    Camu, yes, wp-slimstat.js doesn't appear anywhere when I view the source of my pages, even though "Enable JS Tracking" is set to Yes.

    I'm sorry I didn't verify this before when it was first released.

  8. camu
    Member
    Posted 6 months ago #

    Please contact me if you want to test the fix I've come up with, before I release it to the public:

    http://www.duechiacchiere.it/contatto

    Cheers,
    Camu

  9. camu
    Member
    Posted 6 months ago #

    Steve,

    The hotfix I found seems to be working as expected, according to those who are testing it. I'd like to see if it works with the plugin you use to gzip the output. Would you be able to test it and report on this? Please feel free to contact me so that I can send you a copy.

    Thanks
    Camu

  10. stevemagruder
    Member
    Posted 6 months ago #

    The hotfix is working, but I addressed caveats in my e-mail to you.

    Thanks for working on this!

  11. camu
    Member
    Posted 6 months ago #

    Just replied to your email :)

    Best,
    Camu

  12. davidgasi
    Member
    Posted 6 months ago #

    You're a star, thanks again!

  13. camu
    Member
    Posted 6 months ago #

    A vote for my plugin would be a nice way to say thank you :)

Reply

You must log in to post.

About this Plugin

About this Topic