This article covers frequently asked questions about the User Sessions chart and sessions in the event streams. Please also refer to Track sessions for how Amplitude defines and calculates sessions.
Why is my User Sessions chart empty?
Potential cause #1: Out-of-session events Amplitude considers events sent using the HTTP API is calculated based on the formula: max(client_event_time) - session_id If you want these events to be considered part of a session, the session ID should be a timestamp reflecting the beginning of the session in epoch time. Potential cause #2: You're tracking the Start Session event, but no other events If your project permits sending start or end session events (which you can enable using Android SDK or iOS SDK), anytime your app launches in the foreground, it will send a Amplitude's Microscope feature lets you examine a given user’s activity, so you can quickly determine whether either of these potential causes is the issue.
Why are there so many zero-length sessions in my User Sessions chart?
Start Session
to Amplitude. If Amplitude receives no other events to log after this, it sets the session length to zero.
Why are there empty sessions with no active events in the user event streams?
When using mobile SDKs with start or end session events enabled, you may see sessions that include only the When is the Amplitude Start Session event triggered?
Start Session
and End Session
events. There are a few reasons why this occurs:
Why do some mobile sessions contain a gap of over five minutes, or why do some sessions last an unusually long time?
Does the change of custom session apply retroactively?
Does the definition of custom session affect the raw data?
Does a server-side integration between Amplitude and Segment provide a Session ID automatically?
Please see the FAQ article on Segment / Amplitude integration to learn more.
Thanks for your feedback!
November 21st, 2024
Need help? Contact Support
Visit Amplitude.com
Have a look at the Amplitude Blog
Learn more at Amplitude Academy
© 2024 Amplitude, Inc. All rights reserved. Amplitude is a registered trademark of Amplitude, Inc.