How to disable mouse movements in session recording?

Hi,
My question is about Session recording plugin:

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

Hi,

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

Hi,

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:

_paq.push(['HeatmapSessionRecording::disableRecordMovements']);

Great, I’ll try it.
10x