Visitors, sessions and pageviews: how each tool counts them
What a user, a session, a visit and a pageview are in GA4, Shopify and privacy-first tools, why the counts differ, and which one to report.
On this page
Three numbers sit at the top of nearly every analytics dashboard: people, visits and pages. They sound like counts of plain facts. They are estimates built on rules, and every tool's rules differ a little.
The three units
- A pageview is one page loaded and counted. The most concrete of the three, though a single-page app has to tell the tool each time its page changes.
- A session or visit is a group of pageviews and events from one browser, ended by a rule: usually a period of inactivity.
- A user or visitor is the browser, device or person the tool believes it has seen. It is always an estimate.
How GA4 counts
- Users. GA4 counts a user by a device id kept in a first-party cookie (or a user id you send). It has three user metrics: Total users (anyone who triggered an event), New users (first visit) and Active users (users with an engaged session, or certain first-visit and engagement events). Most standard reports show Active users, labeled simply "Users" (Google).
- Sessions. A session starts with the first page view and ends after 30 minutes of inactivity by default. You can change the timeout per web data stream (Google).
- Estimates. GA4 counts sessions and active users by estimating distinct ids with an algorithm called HyperLogLog++, which Google says is usually within 1 percent of the exact count, sometimes more when metrics are combined (Google). The BigQuery export does not use it, so its counts can differ slightly from the reports.
Because users come from a cookie, one person on a phone and a laptop is two users, and someone who clears cookies or declines consent is a new user each time, or not counted at all.
How cookieless tools count
Tools that store nothing on the device cannot recognize a returning browser by cookie. Most build a daily visitor id from a hash of the IP address, the browser string, the site and a salt that changes every day.
- Unique visitors are unique per day, or per period built from days. The same person on Monday and Tuesday counts as one visitor each day, and how a tool combines days into a weekly or monthly total varies.
- Visits. In Sporetag, a visit is one visitor's day on a site: all pageviews from the same daily visitor hash. Other tools use a 30-minute rule like GA4.
- Shared networks. Two people on the same office network with the same browser version can hash to the same visitor. A phone that changes networks mid-visit can look like two.
How Shopify counts
Shopify reports sessions on its storefront with its own rules and its own cookies, and counts only what happens on the Shopify storefront. Its sessions will not match GA4's or any other tool's for the same store, even when all three are working correctly.
Why the same day gives different counts
| Reason | Effect |
|---|---|
| Different session rules (30 minutes, a day, midnight cut) | Different session and visit counts |
| Consent banner blocks one tool and not another | The blocked tool counts fewer people |
| Ad blockers block one tool's domain | That tool counts fewer |
| Different bot filtering | The looser tool counts more visits and a lower conversion rate |
| Estimation (HyperLogLog++ in GA4) | Small differences, often under 1 percent |
| Time zones | Visits near midnight land on different days |
| Single-page apps | A tool that does not follow page changes undercounts pageviews |
Which number should you report?
- For reach, use visitors or users, and say which tool and definition. Do not add up daily unique visitors across days and call it monthly uniques.
- For activity and conversion rates, use sessions or visits. Conversion rate per visit is more stable than per user, because user counts depend so much on cookies.
- For content, use pageviews by page.
Pick one tool as the source of record for each, and keep it. A trend from one tool is worth more than a precise-looking number stitched from three.
Common questions
What is the difference between users and sessions?
A user is the browser or person counted once in a period. A session is one visit by that user. One user with three visits in a week is one user and three sessions.
Why do GA4 and Shopify show different session counts?
They use different cookies and session rules, ad blockers and consent choices affect them differently, and each filters bots its own way. Compare trends, not totals.
What counts as a unique visitor?
A browser or person the tool has not counted yet in the period. Cookie-based tools recognize them by a cookie id; cookieless tools by a daily hash. Neither recognizes the same person across devices without a login.
Does GA4 still have the "pageviews" metric?
GA4 calls it "Views". It counts page views on websites and screen views in apps.
Sources
- Google Analytics Help: Understand user metrics, About Analytics sessions. Checked October 2026.
- Google Analytics Help: About data sampling. Google for Developers: Unique count approximation in Google Analytics.
Spotted something wrong or out of date? Email hello@sporetag.com and we will fix it.