Hi,
I got introduced to the plugin for Google Analytics called Riveted
http://riveted.parsnip.io/
This tracks how long a user is on the site using JavaScript.
There are also plugins by this author to track how long certain elements are visible and how far users scroll!
This gives great insight to optimize the website.
I don’t want all my data to be known to goolge, so I use piwik.
Is it possible to use this with piwik?
Sadly, I am no good with JavaScript