Sub topic 10
Total users, active users, and new users
This chapter assumes you know what a GA4 event is, how the client ID and User-ID identify visitors, and how sessions and engaged sessions are derived from events. It also assumes you can read basic SQL. Here you will learn how GA4 turns identifiers and engagement into the three user counts you see in reports, and why those counts often disagree with each other.
Why there are three user counts
GA4 has no "user" record. It stores events, and each event carries an identifier. A user count is the number of distinct identifiers found in some set of events. The count changes with two choices:
- Which identifier GA4 counts: the client ID, the User-ID, or a blend of identifiers.
- Which events GA4 includes: every event, or only events from engaged activity.
The three metrics make different choices.
| Metric | What it counts | Typical use |
|---|---|---|
| Total users | Distinct user identifiers that logged at least one event | Reach, including visitors who left right away |
| Active users | Distinct users who had an engaged session, or a `first_visit` or `first_open` event | The default "Users" figure in most reports |
| New users | Distinct users whose first-ever event on the property falls in the date range, as recorded by `first_visit` or `first_open` | Acquisition of first-time visitors |
In the GA4 interface, the metric labelled Users is active users. The metric labelled Total users is a separate metric you can add to reports and explorations.
Total users
Total users is the broadest count. Any event with an identifier adds that identifier to the count. This includes automatic events such as session_start, and it includes events with no engagement at all.
Suppose a visitor lands on a page, the page fires session_start and page_view, and the visitor closes the tab after three seconds. That visitor counts as one total user. The visit was not engaged, so the visitor may not count as an active user.
Total users is therefore always greater than or equal to active users for the same date range and filters.
Active users
Active users counts a user if the user did either of these in the date range:
- Had at least one engaged session. A session is engaged if it lasted at least 10 seconds (the default, which you can change from 10 to 60 seconds in the data stream settings), had at least one key event, or had at least two page or screen views.
- Triggered a
first_visit(web) orfirst_open(app) event.
The second rule matters. A brand-new visitor who bounces immediately still counts as an active user, because the visit created a first_visit event. A returning visitor who bounces immediately does not.
Active users is also the basis for related metrics. Reports that show "Users per day" or "Users per week" use rolling windows over active users. The 1-day, 7-day, and 28-day active users figures count distinct active users in the window that ends on the report date.
Why GA4 defaults to active users
Universal Analytics counted any visitor who started a session. Bots, accidental clicks, and instant bounces all inflated that number. Active users removes most of those. The cost is that the figure no longer means "everyone who touched the site." If you compare it against a server log or an ad platform click count, expect GA4 to be lower.
New users
New users counts users whose first-ever activity on the property falls within the date range. GA4 does not compute this from a comparison of dates. It counts first_visit events (web) and first_open events (app), and each one is generated the first time GA4 sees a given client ID.
Three consequences follow:
- A new user is defined by identifier, not by person. Someone who clears cookies, switches browsers, or opens the site on a second device gets a new client ID and counts as a new user again.
- Returning users is not a stored value. In reports, returning users are approximately active users minus new users.
- New users counts only the first-visit event. A user who first visited on 30 December is a new user in December even if most of their activity falls in January.
How the identifier affects the count
The identity setting for the property decides which identifier GA4 counts. The default reporting identity is Blended, which uses these in order:
- User-ID, when you send one.
- Google signals, when it is enabled and the user is eligible.
- Device ID (the client ID on web, or the app instance ID in an app).
- Modeling, when the first three are not available.
The other options are Observed, which uses only User-ID, Google signals, and device ID, and Device-based, which uses only the device ID.
Here is an example. A shopper browses on a phone while signed out, then signs in on a laptop with user_id set to u_12345.
- Device-based reporting counts two users, one per device.
- Blended and Observed reporting count one user once the User-ID is attached to the activity.
Changing the identity setting changes how GA4 calculates user metrics in reports. It does not change the raw events you send, and the BigQuery export keeps both user_pseudo_id and user_id columns.
// Send the User-ID so the same signed-in person is counted once across devices
gtag('config', 'G-XXXXXXXXXX', {
user_id: 'u_12345'
});Only send a User-ID that you control and that is not personal data such as an email address. Google's policies prohibit sending personally identifiable information.
A worked example
Consider three visitors on one day, with the default 10-second engagement threshold.
| Visitor | What happened | Total user? | Active user? | New user? |
|---|---|---|---|---|
| Ana | First visit, viewed three pages | Yes | Yes (engaged session and `first_visit`) | Yes |
| Ben | First visit, left after 2 seconds | Yes | Yes (`first_visit`) | Yes |
| Cy | Returning visitor, left after 2 seconds | Yes | No (no engaged session) | No |
For that day GA4 reports 3 total users, 2 active users, and 2 new users. Cy appears only in the total.
Seeing the counts in BigQuery
The export has one row per event, so you can reproduce the counts yourself. The query below uses user_pseudo_id, which is the device-level identifier, so it matches the device-based view of the data.
-- Daily total users, new users, and users with an engaged session
SELECT
event_date,
COUNT(DISTINCT user_pseudo_id) AS total_users,
COUNT(DISTINCT IF(event_name IN ('first_visit', 'first_open'),
user_pseudo_id, NULL)) AS new_users,
COUNT(DISTINCT IF(
(SELECT ep.value.string_value
FROM UNNEST(event_params) AS ep
WHERE ep.key = 'session_engaged') = '1',
user_pseudo_id, NULL)) AS engaged_users
FROM `my-project.analytics_123456789.events_*`
WHERE _TABLE_SUFFIX BETWEEN '20240101' AND '20240131'
GROUP BY event_date
ORDER BY event_date;The session_engaged parameter is set to 1 on events in engaged sessions. Active users is approximately the union of engaged_users and new_users. To compute it exactly, collect user IDs that meet either condition into one set per day and count them.
Edge cases
- Date range changes the answer. Users are distinct counts, so they are not additive. Adding seven daily user counts does not give the weekly count, because the same person can appear on several days. Always query the whole range.
- Time zone. The interface uses the property time zone. The
event_datecolumn in BigQuery uses the time zone set for the export. If they differ, the day boundaries differ. - Cookie lifetime and consent. If the browser cookie expires or is cleared, or if consent is denied and no cookie is set, the same person looks like a new user.
- Cross-domain traffic. Without cross-domain measurement configured, a visitor who moves between your domains gets a different client ID on each, which inflates both total and new users.
- Thresholds and sampling. Reports with demographic data can hide rows below a privacy threshold. Explorations can sample large datasets. Both change user counts.
- User-ID and new users. Sending a User-ID does not create a
first_visitevent. A signed-in user on a second device still triggersfirst_visiton that device.
Common mistakes
- Reading "Users" as total users. In standard reports it is active users.
- Summing daily users to get a monthly total.
- Treating new users as people. It counts first-seen identifiers.
- Expecting the BigQuery export to match the interface to the unit.
- Comparing active users with Universal Analytics users and concluding traffic dropped.
Exercise
On one day, 1,000 distinct client IDs sent events. Of these, 150 had a firstvisit event, and 600 had an engaged session. 100 of the users with a firstvisit also had an engaged session. How many total users, new users, and active users does GA4 report?
Show answer
Total users is 1,000. New users is 150. Active users is the union of the 600 with engaged sessions and the 150 with first_visit, minus the 100 in both: 600 + 150 - 100 = 650.
Exercise
A colleague sums the daily active users for a 30-day month and reports the total as monthly active users. Why is this wrong, and how would you get the correct figure?
Show answer
Active users is a distinct count, and a person who is active on several days is counted once per day in the sum. The sum overstates the monthly figure. Set the report date range to the whole month so GA4 counts each user once, or run a COUNT(DISTINCT) over the whole month in BigQuery.