Average Time on Site for One Page

(Imran Malik) #1


I want to track the time spent by user between a page is loaded and closed – even no action is performed by the user on page.

How can we track this? How about executing some [piwik] script on onclose event of page?


(Matthieu Aubry) #2

This would be covered wth a bit of inaccuracy in Support Ping requests to report a better 'time on page' · Issue #2041 · matomo-org/matomo · GitHub