How to disable mouse movements in session recording?

(yaniv) #1

My question is about Session recording plugin:

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

(Lukas Winkler) #2


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

(yaniv) #3


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:


(yaniv) #5

Great, I’ll try it.