With current APIs, is there any way to measure how long a user has been interacting with the website (not just with a single page)?
That would be useful to decide when to trigger a push notification prompt, a newsletter signup prompt, etc. That would increase the likelihood that a website display the prompt at the right moment, after some interaction, and not as soon as a user lands on a website.