How to disable mouse movements in session recording?

My question is about Session recording plugin:

Is it possible to disable mouse movement recording without disable the “capture keystroke” ?


So if I understand you correctly, you want to track only keyboard events? Or also clicks?


Only keyboard events and clicks.
No mouse movements.

We have added a new method to do this. You can view the documentation already here: Document new methods to disable the recording of mouse movements by tsteur · Pull Request #250 · matomo-org/developer-documentation · GitHub

Basically, you only need to call this JS as part of your tracking code:


Great, I’ll try it.