How do I track the number of people who have used my app using Firebase Analytics? I have tried looking in the documentation for Firebase Analytics: firebase.google.com/docs/analytics but couldn't find anything related to that statistic.
I think it is possible because in the Firebase Dashboard, there is a "User activity over time" graph even though I can't find any documentation.
My app is made with JavaScript, React Native and Expo.
CodePudding user response:
The User activity over time graph shows the metric of active user that has engaged with your app in the device foreground, and has logged a user_engagement event. This event is automatically sent by Google Analytics when a user navigates off the page, which happens when a user closes their tab or window or when they navigate to another page or screen. The event includes the session engagement status and user engagement duration. Though, note that the event isn't sent when an event was already sent less than 1 second before the event would have occurred. You could check out this blog post for more information about Google Analytics sessions and User Engagement.