When do Firebase Analytics count a user as active? - firebase

I have an app where users need to sign-up in order to use it. The signup process can take up to a minute or so and eventually, it could fail, so the user doesn’t actually use the app.
My question is, how can I make Firebase count a user active, only after he/she has verified his/her account, so I can have proper retention analytics?

you can have a login page that when accessed triggers your analytics to report that a user has accessed the page in question, this way, you are able to track both app instances and logged-in users.
You can find the list of events and parameters here:
https://support.google.com/firebase/answer/7061705?hl=en

Related

What page users currently opening/seeing (Flutter/Firebase)

Is there any possibility to retrieve the information, which page in the app are the users currently on using flutter and firebase? I'm currently implementing a live group chat function and want to show which users are actively (online) participating in which group.
So far I've implemented this to know whether some users online or not but I would like to further know where they are during that time.
I just have an idea where when a user enters to a group you can save the group id in the firebase and show user online status as per the id, and when the user exit from the group you can remove the id from the firebase (use will pop scope widget to detect exiting from a screen)
hope this helps

Can I trigger google analytics events for a user from different environments?

We are trying to have a full view of user journeys through the web application we are developing. In the middle of the journey, there's no problem because it's more or less a traditional web application, but the beginnings and the end are not usual.
The journey begins with us sending email to the customers (don't worry, it's not spam). Is it possible to send events to Google Analytics about email being sent? I can include the UserID in those events. If I then implement user id in my web application, would I be able to correlate emails send to website visits?
At the other end of the journey, the conversions don't happen by the user that's being coverted but by a manager manually marking the user as converted in a sort-of admin-side to the web application. Can I then again inject the event that the user was converted with the appropriate UserID? Will Google Analytics then be able to map the whole journey? Do I need anything else?
The goal is for those events to end up mapped in the charts that look like this:
You'll need to do what you're asking in a CRM.
That said, I think what you CAN do is use campaign tracking and track the links in the email sent to the users. This way you'd know if they've acted on the emails or not.
Then you'd be able to track them on your site when they interact with the email. If there are CTAs on your site for the users to contact a manager to be converted, then you can track those as events, then set up goals around these events to see conversions.

Google One-tap sign in to auto select the last user

With Google One-Tap sign in it explains you need to add googleyolo.retrieve() on the pages that require sign in for pages that need the user signed in and googleyolo.hint() for when you want to pop-up a sign-up dialogue to first-time users.
Question: Is it possible to auto-select the user even though he has multiple credentials wherever the googleyolo.retrieve() is executed?
My app saves the last user id in the cache, so the next time he opens the app, I want the app to auto choose his last used account.
From the documentation:
If the user has only one credential saved, the credential can be retrieved without user interaction, which makes completely automatic sign-in possible.
When multiple credentials are saved, the user can choose the one to use with a single tap.
I'd like to change this behaviour (the bold text) to auto choose the last user.
I'm the product manager at Google for this library. This is something we've thought about but unfortunately currently don't have plans to support. The current experience is optimized for switching between accounts, which we've found equally common as using a previously selected account. So for now, this behavior can't be changed. I'll update this answer if there is a future revision.

Tracking individual user activity using Google Analytics and then showing suggestions

Let's say I have a restaurant-review website where users can post reviews about the restaurants they visit.Can I use google analytics to track the information that each user searches/accesses on my website and then show him information related to it? Also, I'd like to know if someone visits my website and browses through some reviews without logging-in and then logs in, can I track the review pages he browsed before and then show them to him as his recent views when he is logged-in using GA? If not, I'd like to know how I can achieve this.
You can track an anonymous user activity and then map them when the user loges in. To do that in the application level you need to have an activity table with the application and track the user activity. Once the user loges in you just need to update the identifier of the activity table with the user Id.
Details can be fond on this post.
Here is how to do it with Google analytics:
You might need to setup the analytics properly. Not sure about mapping the two user (anonymous and post login) data.

Is it possible to get information about current user using google analytics

Can my app javascript get information about the current user from google analytics e.g. a user logs into my app I want to determine his current location or previous events on ga so that I can show some of this information to the user.

Resources