How to know if a user is active/inactive

Is there a way to know if a user is active or inactive?

Like, if they have moved to a different tab in their browser, that would probably count as inactive, at least if they were away more than a minute, or whatever.

Or if they’re on the page, but they haven’t moved the mouse or interacted with any elements in five minutes, that would probably count as inactive.

My use case is I’m trying to keep track of how long users spend doing different tasks. I’d like to ignore any time period where they’re away/inactive.

Try this plugin: https://bubble.io/plugin/efactive---detect-user-presence-1530308723866x172623922892636160

Might work for what you need. :slight_smile:

1 Like