To track moves of a user on screen Matomo adds 2 event listeners i.e mousemove and touchmove.

The mousemove event occurs when the pointer is moving while it is over an element.

The touchmove event occurs when the user moves the finger across the screen.

Note: The touchmove event will only work on devices with a touch screen.