bandit icon indicating copy to clipboard operation
bandit copied to clipboard

Excluding bots and spiders from participants

Open dgilperez opened this issue 12 years ago • 1 comments

Hi!

After playing a bit with bandit - and been quite happy with it- , we're seeing our participants counters growing unexpectedly. I suppose this is because bandit is counting visits coming from bots and spiders, such as Google Bot.

How do you handle this? Do you just ignore it?

Do you think it would be a good idea to exclude spiders and bots from the participants?

dgilperez avatar Jun 04 '12 10:06 dgilperez

You could follow a solution from Vanity and include JS on the page to distinguish human visitors from robot visitors.
https://github.com/assaf/vanity/blob/master/lib/vanity/playground.rb#L106

webandy avatar Jun 05 '12 23:06 webandy