Traffic
How to find unique visitors in Google Analytics 4, and monthly totals
In GA4 unique visitors are called users. Where to find them, how to get a true monthly figure, and why one person can still be counted twice.
The CrispStats team · · 7 min read
In short
In Google Analytics 4, unique visitors are called users. Set the date range to the month you want and read Active users in the standard reports, or add Total users in an exploration: GA4 deduplicates across the whole range, so do not add up daily figures. Users are counted per browser through a cookie, so one person on a phone and a laptop is two users unless you send your own user ID.
“How many unique visitors do we get a month?” is one of the most common questions asked of an analytics tool, and GA4 does not use the phrase anywhere. The number is there, under a different name, and with a few rules that decide whether the figure you quote is the one you think it is.
What is a unique visitor in GA4?
A unique visitor is one person, or in practice one browser, counted once in a period however many times they came back. GA4 calls this a user and offers three user metrics:
| Metric | Google's definition | Use it for |
|---|---|---|
| Total users | Unique users who triggered any event in the date range | The closest match to unique visitors |
| Active users | Unique users who engaged with your site or app in the date range | The figure standard reports show, often labelled Users |
| New users | Unique users who logged a first_visit or first_open event in the range | How many arrived for the first time |
Google’s page on user metrics says you only see active users in its reporting; total users is available in explorations. Active users is usually a little lower, because a visitor who triggered an event without engaging is a total user but not an active one. Either is defensible as “unique visitors”: say which one you quote.
How do you find unique visitors in GA4?
The quick way: standard reports
- Open Reports in your GA4 property.
- Set the date range in the top right to the period you want, for example 1 to 31 October.
- Read the Users or Active users figure on the overview card or at the top of the table in an acquisition report, such as user acquisition, or an engagement report. That is the deduplicated count for the whole range.
The precise way: an exploration with Total users
- Open Explore and start a Free form exploration.
- Under Metrics, add Total users (and Active users if you want both).
- Set the date range. Leave the rows empty for one total, or add a dimension such as Month or Country to split it.
- Read the totals row. With Month as a row, each month is deduplicated on its own.
How do you find unique monthly visitors for a website?
It depends whose website.
Your own site
Use the steps above with a calendar month as the range. For a trend, put Month in the rows of an exploration over the last 12 months: each row is a properly deduplicated monthly figure. Check that your property’s data retention setting covers the period, because explorations only reach back as far as it allows; GA4 data retention explains the 2 and 14 month options.
Someone else’s site
You cannot measure it. Only the site’s own analytics knows. Traffic estimation services infer it from panels, browser data and search rankings, which can be useful for comparing rough size or trends between competitors, but they are estimates and can be far from the real figure for small sites. If the number matters, for a sponsorship or an acquisition, ask the owner for a screenshot or read-only access. Some analytics tools let owners publish a read-only dashboard, which is the most honest source when one exists. How to check website traffic compares the estimation tools.
Why is the GA4 user count not exact?
Four reasons, and each pushes the number in a known direction.
- Users are browsers. GA4 recognises a returning visitor by its `_ga` cookie. A phone and a laptop are two users, and so is the same browser after its cookies are cleared. This inflates the count.
- Declined consent. Where Google Analytics only runs fully after consent, visitors who decline are missing, or are modelled from similar users if your reporting identity is Blended. This lowers the observed count.
- The count is estimated. Google’s developer blog explains that GA4 uses the HyperLogLog++ algorithm to estimate total users, active users and sessions, rather than counting every id exactly. The figure is very close, but two ways of asking for the same number can differ slightly.
- Thresholds hide small groups. Data thresholds can withhold rows with few users, for example with demographic data or narrow date ranges, so a breakdown can add up to less than the total.
Reporting identity changes the answer too. Blended uses your own user ID first, then the device ID, then modelling. Observed drops the modelling. Device based uses only the device ID. If you send a user ID after login, the same customer on two devices can be counted once.
A worked example
One reader, Ana, visits your blog in October:
| Day | Device | Visits |
|---|---|---|
| 3 October | Laptop | 2 |
| 12 October | Phone | 1 |
| 28 October | Laptop | 1 |
| How you count | Unique visitors for Ana |
|---|---|
| GA4, October as one range, no user ID | 2 (laptop and phone) |
| GA4, October, with a user ID sent after login on both | 1 |
| Sum of GA4 daily users for each day of October | 3 |
| Sessions in October | 4 |
Same person, four defensible answers. When you report a figure, state the metric and the range: “Active users, October” is a number someone else can check.
Users, sessions and pageviews: which one to quote?
| Metric | Counts | Quote it when |
|---|---|---|
| Users | Browsers (or signed-in people) in the period | Reach: how many people you got in front of |
| Sessions | Visits | Activity: how often people come |
| Pageviews | Pages loaded | Inventory: ad impressions, content consumption |
Advertisers and sponsors usually ask for monthly unique visitors and pageviews together. A site with 20,000 users and 90,000 pageviews a month has visitors who read about 4.5 pages each over the month, which says more than either figure alone. Unique visitors vs pageviews vs sessions covers the three metrics across tools.
How CrispStats counts unique visitors
CrispStats uses no cookies. In the default mode a visitor is a salted hash of the site, the IP address and the user agent, and the salt changes every day at midnight in the site’s timezone. One browser is one visitor per day, and the IP address and raw user agent are discarded after the hash is made.
That has a consequence for monthly figures, and it is worth stating plainly: over a longer range, visitors are the sum of each day’s unique visitors. Ana’s three days in October count as three visitors in a 30-day report, not one. Read the daily figure as unique browsers that day, and the monthly figure as an upper bound on the browsers that visited, not a count of people.
If you need people counted once across days, you can switch on persistent visitors, which stores a random id in the browser and should only be on with consent. With it on, a period total counts each id once. Visitor counts cannot be imported from Google Analytics, so your history here starts on the day you install the script. The demo dashboard shows how visitors, sessions and pageviews sit side by side.