Add a field “last login” of type date to the user data type
In the login flow add the action “make changes to a thing”, choose “user”, choose “last login” and set it to current date/time
In your repeating group search for users whose last login is greater than than current date rounded down to day, and another constraint for last login to be less than current date change days +1 rounded down to day
The above should return those users thet have logged in today
You can set more checks like record a date/time when they log out.
@cmarchan hmmm… I still 1 big challenge - how to identify when they leave . I’ve “Deleted a thing” representing when they entered if they click a link on the page that navigates them away from the page. BUT - I can’t do that for items in my header menu . open to your ideas!
You can use the event “do every 3 seconds” and set the action to record a “date/time - page exit” field of type date in the corresponding data type you chose to create to track a page visit.
Since it is important for your app to record user activity, I would be on the lookout for @BubbleSam ‘s new plugin described above. It looks interesting!
And of course … I would be exploring third party services that provide this and other user data … Google Analytics, Intercom, Hotjar …
@cmarchan you’re so great to help, thank you! I guess I’m confused on this one. Even if we do refresh every 3 seconds, and a record of the time is kept, it doesn’t mean we know what page the user is on (at least from what I’m seeing). And, I don’t want to use 3rd party trackers on my page. Would love to figure this out
@cmarchan i see what you mean! OK . is it better to do this in option sets than do it in my DB directly? For security… tracking users activity, etc. will it slow down app speed?