This article helps you:
Interpret the results of your User Sessions chart
Learn the ways Amplitude records sessions
Understand how filtering works in the User Sessions chart
The User Sessions chart can help answer questions about your product's users: such as, user frequency, user engagement length, and the differences of those metrics based on user segments.
The results in User Sessions will depend on what metrics you chose while building your chart, such as a count of sessions versus a count of events.
Here is an example that displays a daily count of sessions with at least one Add to Cart
event for all users over the last 30 days. The chart also filters users by Country
(United Kingdom).
We see that same chart with the added group segment by Carrier
. The chart shows the segmented carriers as different colored lines.
Underneath the chart is a table of session or event data. You can specify which segments you see in the graph by clicking on a segment name in the breakdown table. You can also download the table by clicking Export CSV.
Using the example from above, the breakdown table's results have been segmented by Carrier
.
Sometimes users will be counted as (none)
if the segmented property values are not available at the time the events are triggered. Read more about (none)
or unexpected values in this FAQ article.
Amplitude records sessions on either the server side or the client side. Additionally, client side sessions can be either mobile or web.
Additionally, you can define a session without instrumenting your events first, by setting a custom session property.
The User Sessions chart will only display data if you are sending a session ID with your events. Amplitude's SDKs will handle this for you automatically, unless you flag an event as out-of-session (assigning the session ID a value of '-1'). However, if you're using Amplitude's HTTP API, you'll have to explicitly send a session_id
with your events.
Filtering events for the User Sessions chart is a multi-step process. The order of those steps is important to understand.
First, Amplitude will filter for events that match the property filters. Once those are returned, Amplitude takes those events and groups them into sessions, enabling Amplitude to calculate session length and count events performed each session.
Another way to phrase this is, property filters occur before session filters. So Amplitude filters on raw events first, then on the filtered events.
Only events with property filters are considered when computing session length.
Thanks for your feedback!
May 30th, 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.