惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

D
DataBreaches.Net
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
云风的 BLOG
云风的 BLOG
B
Blog
博客园 - Franky
I
InfoQ
A
About on SuperTechFans
博客园_首页
L
LangChain Blog
量子位
腾讯CDC
Microsoft Security Blog
Microsoft Security Blog
博客园 - 【当耐特】
美团技术团队
V
V2EX
Apple Machine Learning Research
Apple Machine Learning Research
雷峰网
雷峰网
MongoDB | Blog
MongoDB | Blog
Microsoft Azure Blog
Microsoft Azure Blog
月光博客
月光博客
T
The Blog of Author Tim Ferriss
P
Proofpoint News Feed
G
Google Developers Blog
Last Week in AI
Last Week in AI

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
Sessions vs Page Views vs Users — What Each One Actually ...
toshihiro sh · 2026-05-14 · via DEV Community

"Sessions are the number of visitors, right?" "Page views are high, so traffic is healthy."

These are the most common mix-ups I hear from people starting out with web analytics. Sessions, page views, and unique users (UU) look similar but mean different things, are counted differently, and are used for different decisions.

This article walks through what each of the three metrics actually counts, how they relate, which one to look at first, and how GA4 treats them under its event-based measurement model.

TL;DR

  • The three metrics count different things: Sessions = visits, PV = pages viewed, Users = people who visited. One person visiting 3 times and viewing 5 pages produces Sessions=3 / PV=5 / Users=1
  • Base inequality is PV ≧ Sessions ≧ Users: a person typically makes multiple visits and views multiple pages per visit, so PV is largest and Users is smallest
  • EC priority: Users first, then repeat rate, then engagement: start with Users (reach), then Sessions/Users (repeat rate), then PV/Sessions (engagement depth)

Sessions, Page Views, Users — what each counts

1. What are sessions — counting visits

A session is the time period during which a user interacts with a site, counted from arrival to leaving as a single unit. A session ends automatically after 30 minutes of inactivity, and a new day (midnight) starts a new session.

If someone visits at 9 AM, views 3 pages, leaves, and comes back at 8 PM the same day, that counts as 2 sessions. Even within the same day, a gap longer than 30 minutes creates a new session.

Common confusion: "Sessions = visitor count" is wrong. The same person visiting 5 times a day produces 5 sessions, not 1.

In GA4, every session start fires a session_start event, incrementing the session count by 1. A session_id groups all actions (page views, clicks, purchases) inside that window.

2. What are page views (PV) — counting pages opened

A page view is one count for every time a page is loaded. Opening the same page twice creates 2 page views. Reloads count. A flow of "Home → Product A → Home → Product B → Cart" produces PV = 5 because Home was visited twice.

Common confusion: "High PV = popular site" is wrong. A small group of users clicking around can inflate PV. Always read it alongside PV / Sessions (engagement depth).

In GA4, PV is recorded as the count of page_view events. Reports may show it as "Views" or "Page views", but internally it is just the count of page_view events.

3. What are users (UU) — counting actual people

UU is the number of distinct people who visited in a given period, identified via Cookie or User ID. The same person visiting 10 times still counts as 1 user. Visiting from another browser or device produces a separate user.

Monthly UU = 1,000 with 200 repeat visitors averaging 3 visits each means new-user sessions = 800, repeat-user sessions = 200 × 3 = 600, so total monthly sessions = 1,400.

Common confusion: "UU = exact number of real people" is wrong. Cookie deletion and multi-device use inflate the number; users who reject Cookie consent are excluded.

In GA4, this appears as "Active Users". A user is marked active when an engagement session occurs (a session GA4 considers meaningful) or when a first_visit event fires.

Example — 1 user, 3 visits, 5 page views

4. How the three metrics relate

The base inequality is:

PV ≧ Sessions ≧ Users

Enter fullscreen mode Exit fullscreen mode

A person typically makes multiple visits, and each visit views multiple pages, so PV is largest and Users is smallest. Equality only holds in an extreme case where every user makes one single-page visit.

Derived metrics from the 3 basics

Derived combinations are what matter in practice. PV / Sessions = pages per visit (engagement depth). Sessions / Users = visits per user (repeat rate). PV / Users = pages per user (interest depth).

For EC operators, the priority order is Users → Sessions/Users → PV/Sessions: how many people are coming, then how often they come back, then how much they explore.

Reading PV alone is dangerous. A small number of users clicking around can produce inflated PV while new-user inflow is actually zero. Health becomes visible only when reach, repeat rate, and engagement depth are read together.

5. How GA4 treats the three metrics

GA4 switched its measurement model to event-based. This is a fundamental shift from Universal Analytics (UA), which was session-based.

Every action — page view, click, scroll, purchase — is recorded as an event. Sessions, page views, and users are computed as aggregations of those events under the hood.

How GA4 computes the 3 metrics

Sessions = count of session_start event fires. Page views = count of page_view event fires. Users = displayed as "Active Users", aggregated from engagement signals.

The words "sessions" and "page views" still exist in GA4 reports, but internally they are derived from event counts. Understanding this model makes debugging unexpected GA4 numbers much faster.

Wrap-up

Three metrics, three different things being counted. The base inequality PV ≧ Sessions ≧ Users is the anchor. Read combinations (repeat rate, engagement depth), not single metrics. Start with Users — the rest of analytics flows from there.

If you found this helpful, the full version with references and related articles is at the canonical URL above. What metric do you wish someone had explained to you earlier in your analytics journey?