Searched the forum but couldn’t find anything on this.
How can I see how many users are logged in and using my app in real-time? Something similar to Google Analytics “real time users right now” count.
Has anyone set this up for their app?
Thanks for the help!
@AliFarahat’s plugin, discussed in the thread below:
A new free plugin has just been posted to the store. Detect user presence and test to see whether he is active, idle or hidden.
Usage is simple:
Add plugin element Efactive to the page
That’s it! The plugin will start to return the current user presence in its exposed states. the plugin can also trigger an event when the user is active, idle or hidden. This way you don’t have to do a thing every x sec…
Exposed states of the plugin:
Thanks for the quick reply! Will check it out now.
Hmm I’m getting this error when I try to fork the plugin
@AliFarahat I’m encountering the above message, anything I’m doing wrong?
Are you familiar with installing plugins within Bubble applications? (From the plugins tab). That’s where you should look to install this, not via Github (unless you’re looking to retool it).
Whoa, yea I’ve got several Plugins installed, this was the first time I’ve ever landed on a page requesting to fork. I guess when I clicked the link directly from your linked post it took me there.
Got it squared out now, thanks!
@dan1 just got this baby up and running, were you able to get it to return the actual count of users logged in right now? Similar to this on Google Analytics:
Haven’t used the plugin myself. Keep in mind that you may want to use multiple devices for testing (ie. your phone and a computer. It may not capture the nuance of logging in and out of different accounts or different browsers on the same device).
I don’t believe I have a GitHub repository for it. I can set one up if you like?