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/
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
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
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.
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
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
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.
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
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
The hotfix is working, but I addressed caveats in my e-mail to you.
Thanks for working on this!
Just replied to your email :)
Best,
Camu
davidgasi
Member
Posted 6 months ago #
You're a star, thanks again!
A vote for my plugin would be a nice way to say thank you :)