Tracking login sessions?

Hey guys,

Do you know if it’s possible to track login sessions? I’m looking to see how much time users spend at any given moment using the product. How would you do this?

Best,

Josh

I’m sure it’s possible, but what it would entail depends on exactly what you mean by “track login sessions”. There are “logged in” and “logged out” events, so it would be trivial to record the amount of time a user is logged in, but that might not be particularly useful - especially since users can remain logged in for days. Of course, you can Implement an inactivity timer (like on banking sites), and automatically log the user out after a specified time elapses without user action.

If, however, you want to record “dwell time” or specific actions on certain pages, then you’d need to implement the required logic via workflows on the respective pages.

The first step, it seems, would be to identify exactly what data you want/need to collect.

@sudsy thanks for the reply! I’m looking to see where users drop off and how long they are averaging using the application. The goal is for product iteration/feedback depending on where I would be losing users.

I have an index page and a series of groups since I’m building a mobile only application. Is this possible?

Also, I love the idea of an inactivity timer like on banking sites. What would this look like?

Best,

Josh

I wonder if much of what would be of interest might be handled by a good analytics solution.

1 Like

You could build things like this in Bubble to get full control over how it works. That said, it’d take a bit of effort.

Google Analytics (and many other analytics tools) provide an average time on page and time on site metrics, I believe. These are useful metrics that are usually directionally correct and are super quick to implement (< 5 mins if you know what you’re doing).

The only drawbacks I’ve seen is that “averages” of all users often means that a few people who spend 100x more time on a page really thrown off the overall averages. Additionally, GA doesn’t provide user-level information (other analytics tools do though).

1 Like

@sudsy I was thinking about the google analytics plugin. Will I be able to track the groups that are in the program as well as the “index” page?

@sridharan.s What other analytics plugin for bubble would you recommend outside of GA?

Also, what’s the best way to configure this for a mobile app (I have one “index” page and a series of groups) - would I be able to track each group too?

Best,

Josh

I generally recommend using URL parameters with a single page app (how to implement). It helps users navigate your site and allows them to click “back” to go to the prior view instead of leaving your site. It also has the added benefit of enabling analytics tools to track usage based on the url parameter, often by default.

Most of the tools can be customized as well, if needed. But, customizations take time and often result in additional complexity down the road which isn’t optimal. I’d look at full story, lucky orange, and mixpanel at a minimum. Lots of good tools out there. Sometimes makes sense to use more than one which have complementary feature sets.

2 Likes

@sridharan.s great I’ll take a look, thank you! Is there anyway to create a heatmap based on where users are clicking on the app?

Yes. Numerous analytics tools provide heatmaps. Crazy Egg, I believe, was the first to make that a common feature and they now have numerous versions / visualizations for heatmaps. Many other tools provide heatmaps as well.

1 Like

I track this on my website. I use Google Analytics. It’s free. It’s very comprehensive on what you can track.

2 Likes