How exactly does piwik track visit_time?

Hi all,

I was wondering how Piwik does exactly track the users visit time?

Unfortunately I could not find any information about in in the documentation, but I’m keen to learn how Piwik actually calculates the visit time (in order to deeper understand the tracking process).




I was wondering the same. Google Analytics counts visit as 0-10s if the user never continues beyond the landing page. How it is calculated in Piwik?



By default Piwik counts “0-10 seconds” as well. However it’s possible to improve the accuracy, see our documentation JavaScript Tracking Client: Integrate - Matomo Analytics (formerly Piwik Analytics) - Developer Docs - v3