Within the scope of an academic experiment (master thesis), I need to collect user’s interaction data while the user is performing a given task (in a web browser). What I mean with interaction data is mouse movement, scrolling, clicking, and focus.
Is anyone aware of an already existing JavaScript framework or tool that I could use in the website I will develop to collect the user’s on-line activity while performing the web tasks I will ask them to complete?
Listening for scroll events can really hammer site performance. As it’s an academic exercise, that may not matter, but this is as good a starting point as any for your intro to DOM event listening:
@BenGitter I know I can get that kind of info with event handlers. However, I am new to web programming/JavaScript and I have limited time and knowledge to develop something from scratch. I would prefer to leverage something that already exists since I am not really aware of issues as performance, for instance (as @JacksonBates pointed out). I found this framework (http://www.jspsych.org) that will help me structure my experiment but doesn’t have the feature of collecting user’s interaction data.
@JacksonBates thanks for the link, I will have a look!
Thanks a mil for your help, time and availability!
I will use your code as the base for my initial tests and try out drafts of what I want to accomplish.
This was exactly the “little” push I needed Let’s see I am capable of coding what I propose for the experiment (I feel I learned a lot with freecodecamp)!