as part of my evolution of this Aurelia app -Tutors, am looking to measure the time users spend on each view. Although I have Google Analytics PageView/Events working fine, am looking for a more bespoke approach.
Essentially, I am seeking an elegant technique to measure - to the nearest minute - how long a specific page/view is on screen for a user. From this I propose to generate a heat map
The above is based just on discreet ‘visit count’ - but time based metric far more useful. Should I be looking to wards the Aurelia Animations machinery? Or perhaps subscribing to Router events?
Thanks in advance - any help appreciated!