Learn how to modify the default settings that control how Firebase measures the length of user sessions.
- [Instructor] Now let's turn our attention to sessions.…A session is a distinct period of usage of your app…by a specific user.…An example of this might be a user who opens an email app,…spends some time reading and sending messages,…and then closing the app or moving onto some other tasks.…Now, by default, Firebase waits for 10 seconds…when a user starts using an app…before it records the start of a session.…This is to help weed out false session signals…such as when a user mistakenly launches an app…but then quickly decides to do something else.…
Similarly, Firebase waits for 30 minutes…after a user has stopped using an app…before it records the end of the session.…Now, again, these are just default values…and you can change them if you want to.…The setMinimumSessionDuration function…can be used to control…when the session is considered to have started.…It takes a single argument in milliseconds…and the default is 10,000, which corresponds to 10 seconds.…To control when Firebase marks the end of the session,…
- Why use analytics?
- Reviewing the Google Analytics for Firebase feature set
- Adding Analytics support to an application
- Using DebugView to see Analytics events in real time
- Logging events to Firebase using a set of predefined event types
- Event collection
- Gaining insight into the behaviors of specific types of users