More accurate 'Users Online' stats
I see that many users claim that 'Users Online' stats is quite innacurate.
Actually it isn't a bug, but a feature : -) 'Users Online' shows all the customers who open any page during the last 30 minutes. Known bots are not counted. (The list of the known bots can be found in the include/bots.php file) How to make this module accurate: 1. Open modules/Users_online/registered_user.php script. 2. Replace PHP Code:
with PHP Code:
|
Re: More accurate 'Users Online' stats
Of course you could use this to make it less accurate so that a quiet shop appears really busy to help achieve that "safety in numbers" feeling and make them spend money.
|
Re: More accurate 'Users Online' stats
Eugene,
Thank you for this -- Do you have any idea why my "users online" stats will also show multiple entries from the SAME IP at times? As many as 5-20 duplicate entries, from the same IP, will be listed -- not always, so it is difficult to chase down why??? It is quite annoying to see the same IP as 10 entries, all on different pages... and if they have items in their cart, it will look like each entry has the same items -- Could this issue be related to Marketing Manager Pro, or WebsiteCM's "remember me" ? Thanks, Jeremy |
Re: More accurate 'Users Online' stats
Quote:
Somebody browses your site and doesn't accept cookies. Most likely it's an unknown bot or a spider. Could you possibly PM me this IP? |
Re: More accurate 'Users Online' stats
It's not just one IP -- I see this constantly. Next time I see this, I'll PM you. Thanks
|
Re: More accurate 'Users Online' stats
What does the '300' value represent ?
|
Re: More accurate 'Users Online' stats
Quote:
seconds -- note the comment "// 5 minutes instead of 30 minutes" |
Re: More accurate 'Users Online' stats
The penny just dropped that 300 seconds is 5 minutes :)
|
Re: More accurate 'Users Online' stats
carpeperdiem - you get multiple instances of an ip if the visitor opens a new window or tab (for example middle clicking a link in firefox) - each window/tab starts a new session
|
Re: More accurate 'Users Online' stats
Quote:
ah... good explanation. thanks. I paid usertesting.com to do a usability test -- and the tester kept right-clicking away. Not only was it annoying to watch her do this, but she didn't get the benefit of the navigation system in place... I tweaked my navigation after watching her do this. |
All times are GMT -8. The time now is 10:18 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.