Exposing a cookie with bot information

Hello everyone,

my question is simple: is there any way to configure Matomo server-side part to set a cookie telling the current visitor is a bot or a human?

I used to “infer” this information inspecting the “_pk_id” cookie, since a visiting bot causes the “_pk_id” cookie to be set as an empty string. This “side effect” cannot be used anymore since the user can now choose to avoid the tracking cookie.

Is there an alternative?

Thanks!

Maybe this:

or this:

could help…

Thanks for the resources, but more than preventing bots from being tracked (which is already happening, by the way), I need Matomo to inform the client browser (sending back a cookie, or whatever) about the human/bot decision Matomo itself did.

This is the role of a CAPTCHA :wink: