Logic to determine page time does not work reliably
-
Hi there,
Thanks for your plugin!
I’ve been debugging your code today as I realised that my box with a pageTime trigger has not been showing up reliably. The reason for this is that the time is stopped on blur – which not only happens when the user leaves the browser tab, but also when he interacts with a iframe like an embedded video – but not always started when the user returns viewing the page. Listening to the focus event is not sufficient to determine that the user is interacting with the page again.
If the user is using a mouse, he may merely be hovering back over the page and scrolling it. So listening to a scroll (or mouseover) event in addition to the focus would be a good idea.
- The topic ‘Logic to determine page time does not work reliably’ is closed to new replies.