Many logs and analytics plugins filter visits to don’t show you data from bots so as not to distort statistics with non-real visits.
This plugin finds the user-agent that others omit.
Thank you very much for downloading our plugin! And for ur stars! ;P
Alejandro – I do understand 3rd party plugins filter – but the hosting server logs record all visits – without filtering.
Where does your plugin find the user-agent?
It is not connected to any google search console or hosting account – where are the bot visits your plugin sees recorded? I look at the server logs in depth every day and yours caught one that was not recorded in the hosting server.
Probably in your hosting they are filtering but they don’t say anything. Or if there is an option similar to “don’t record visits from robots and spiders”. For example, I remember seeing this option on Statcounter.
This way, when a visitor enters, check that your user-agent is not in the list of bots.
You can do the test in php saving the value (db or log) of $_SERVER[‘HTTP_USER_AGENT’] all your visitors.
all the best!