francodacosta / grav-plugin-page-stats

better page stats for Grav
MIT License
7 stars 4 forks source link

Feature Request: Configure Ignored Bots #30

Closed Freddicus closed 1 year ago

Freddicus commented 1 year ago

Your Readme says

Bot detection is based on user agent, it is not perfect, but it does work well

I would like to be able to configure this. For example, I have UpTimeRobot pinging my website, and I'd like to filter it out.

Workaround: IP filtering (but I don't know if their IP is static)

User Agent: Mozilla/5.0+(compatible; UptimeRobot/2.0; http://www.uptimerobot.com/)

francodacosta commented 1 year ago

@Freddicus sure, I guess I can make the bot filtering rules configurable

francodacosta commented 1 year ago

@Freddicus can you please test 2.5.0 ?

Freddicus commented 1 year ago

Confirmed! Thanks!