Sub topic 2
Users, Sessions, and Events: the Units Being Counted
This chapter assumes you know the basic GA4 interface, understand website visits and campaigns, and can view a GA4 property that is already collecting data.
Acquisition reports count different kinds of activity. The three core units are users, sessions, and events. Choosing the wrong unit can lead to incorrect conclusions about campaign performance.
Users
A user is a person or device that GA4 identifies as having interacted with your site or app. GA4 may identify that person with a browser or device identifier, a user ID that your site provides, or both.
The same person can appear as multiple users if they use different browsers, devices, or private browsing sessions. Conversely, several people can appear as one user when they share a device.
GA4 reports can show Total users, Active users, or other user metrics. Active users are users who meet GA4's activity criteria during the selected date range. The exact count can also vary with the property's reporting identity settings.
Sessions
A session is a group of interactions that occur during a period of activity. A session begins when a user arrives and usually ends after 30 minutes of inactivity. The session timeout can be changed in a property's settings.
One user can create many sessions:
- A visitor arrives in the morning and returns in the afternoon.
- A visitor returns after being inactive longer than the session timeout.
- A visitor uses different devices, which GA4 may treat as different users and sessions.
A session can cross midnight. Therefore, the number of sessions for a date range may not match a simple count of visits that started on each calendar date.
Events
An event records an interaction or occurrence. Examples include page_view, session_start, scroll, click, purchase, and a custom event such as generate_lead.
GA4 collects some events automatically. Enhanced measurement can collect events such as scrolls and outbound clicks. You can also send recommended or custom events through code or a tag manager.
One session can contain many events. A single user can create many sessions, and each session can contain many events.
| Unit | What it counts | Example question |
|---|---|---|
| User | Identified users | How many people reached the site? |
| Session | Visits or periods of activity | How many visits came from email? |
| Event | Recorded interactions | How many purchases occurred? |
Reading acquisition numbers correctly
Use a user metric when the question concerns reach or people. Use a session metric when the question concerns visits or the performance of a traffic source during visits. Use an event metric when the question concerns actions.
Do not divide events by users and call the result a session metric. For example, one user who generates ten events in one session is still one user and one session.
The following small program demonstrates the distinction:
events = [
("user_1", "session_a", "page_view"),
("user_1", "session_a", "purchase"),
("user_1", "session_b", "page_view"),
("user_2", "session_c", "page_view"),
]
users = {user for user, session, event in events}
sessions = {session for user, session, event in events}
event_count = len(events)
print("Users:", len(users))
print("Sessions:", len(sessions))
print("Events:", event_count)The output is two users, three sessions, and four events. These counts describe the same activity from different perspectives.
Exercise
A report shows 1,000 users, 1,400 sessions, and 8,000 events. What does this tell you?
Show answer
At least some users returned or created more than one session, and each session contained multiple recorded events. The counts measure different units and should not be compared as if they were interchangeable.