Logging user interactions on a webpage is an integral part of user research. This is a barebones tutorial to log events such as mouse clicks, mouse hovers, and visibility changes on a webpage being tested. For the purposes of this tutorial, we will record user interactions only on pre-defined HTML…