We have included this plugin in the s-code and for all the pageviews even when the mouse is used, it is fired as "bot detected". Not sure if this plugin works only when the Adobe Tag container (JS) is hosted on Adobe domain ? Because we host the container JS not on the Adobe domain rather our own company domain. Any thoughts on this. Do we know other reasons, why the plugin function is always returning true rather it is expected to return false
The JS hosting shouldn't matter for this code since it effectively does 2 things:
Checks for a valid desktop user agent
Adds an event listener for mouse movement which sets the bot variable to "false"
Without knowing too much on how you've implemented this, I might lean on this being a timing issue where your hit is firing before the variable can be changed.
Quick check - on any page of your application, even if the adobe hit fires, could you move around your mouse, then check the variable "websiteBot" (you can just type it in console). Is it retuning as "false" ?