Hi @EricH
Did you have a look at:
Also Matomo has some configuration called Heart Beat Timer. This can be activated by JavaScript:
https://developer.matomo.org/guides/tracking-javascript-guide#accurately-measure-the-time-spent-on-each-page
Also available on MTM, in the Matomo configuration variable: