84
Views
2
Comments
Solved
Track mouse in application
Application Type
Traditional Web
Service Studio Version
11.10.9 (Build 38536)
Platform Version
11.11.0.27350

Hi all, 

I was wondering if anybody know if there is a component that you can use to track the mouse from a user in a web application. So that I can see with a heatmap for example where the user focus his/her mouse when working with the application. 

Thanks in advance! 

2021-06-09 13-39-18
Agno Silveira
 
MVP
Solution

Hello,

See this componente, I hope it helps.

Regards.

2020-06-04 15-38-19
Samiksha Manekar

Hi,

I am not sure but hope this javaScript will work for you:

<html>
<head>
<title> Track Mouse </title>
<script type="text/javascript">
function mouse_position()
{
    var e = window.event;

    var posX = e.clientX;
    var posY = e.clientY;

    document.Form1.posx.value = posX;
    document.Form1.posy.value = posY;

    var t = setTimeout(mouse_position,100);

}
</script>

</head>

<body onload="mouse_position()">
<form name="Form1">
POSX: <input type="text" name="posx"><br>
POSY: <input type="text" name="posy"><br>
</form>
</body>
</html>


Thanks
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.