counter.dev icon indicating copy to clipboard operation
counter.dev copied to clipboard

Bots recognition

Open brokul-dev opened this issue 3 years ago • 2 comments

Hi! I tested it with the lighthouse and it seems that there is no bots recognition implemented. Every test made with this tool increments the visits counter. Would it be possible to ignore bots' track requests?

brokul-dev avatar Jan 20 '22 16:01 brokul-dev

Hello,

we use this external library for bot recognition. https://github.com/avct/uasurfer Things not catched by it we just hard code there in the code somewhere. Do you have the complete user agent of a bot you would like to block list?

Thanks

ihucos avatar Jan 23 '22 17:01 ihucos

I see. I've found the list of user agents used by the Google Lighthouse: https://developers.whatismybrowser.com/useragents/explore/software_name/google-lighthouse/

brokul-dev avatar Jan 24 '22 19:01 brokul-dev