Page view
A page view is recorded every time a page is loaded or shown in a visitor's browser. It measures volume, not people: one visitor reading five pages produces five page views.
Updated
Also called: pageview, page impression, views
Definition
A page view (often written pageview) is one display of a page. Reloading the page records another one, and so does moving to a new route in a single-page app, as long as the analytics script listens for route changes.
Page views count activity, not audience. One person who reads five articles today is five page views and one unique visitor.
How page views get counted
- Classic page loads. The tracking script runs when the HTML loads and sends one hit.
- Single-page apps. React, Vue and similar frameworks change the URL with the History API instead of reloading. The script has to hook those changes, or every route after the first goes unrecorded.
- Hash routes. A change after the
#is usually a jump within the page, so most tools ignore it unless you say the site routes with the hash. - Back/forward cache. When the browser restores a page from memory, tools differ on whether that is a new view.
How Linqry counts page views
The Linqry script sends a pageview event on the first load and whenever the path or query string changes through pushState, replaceState or the back and forward buttons. A replaceState call that leaves the URL unchanged is not counted twice. Hash changes count only when you add data-hash-routing to the script tag, and each hash route is then reported as its own page, such as /#/pricing:
<script defer data-website-id="YOUR_SITE_ID" data-hash-routing src="https://linqry.com/t.js"></script>
A page the browser restores from the back/forward cache, when someone goes Back or Forward to it, counts as a new page view, just like a route change. Views from known bots, from paths you list in data-exclude, and from browsers where you've set the linqry_ignore opt-out are dropped. The Pages table groups views by path, without the query string, and shows pageviews next to visitors in each row's tooltip. The custom events docs list everything the script records on its own.
Page views, sessions and visitors side by side
| Metric | What it counts | Example |
|---|---|---|
| Page views | Every page shown | 4 |
| Sessions | Visits split by 30+ minutes of inactivity | 2 |
| Unique visitors | Distinct visitors in the period | 1 |
Pitfalls
- More is not always better. Confusing navigation raises page views as people hunt for what they need.
- Reloads count. A page people refresh often, such as a status page, collects views without new readers.
- Missed routes. If page views barely move while signups grow, check that your app's route changes reach the tracker.
Related terms
Frequently asked questions
Does refreshing a page count as a new page view?
Yes. A full reload runs the tracking script again, so Linqry and most other tools record another page view.
Are custom events counted as page views?
No. In Linqry, custom events, outbound link clicks and the time-on-page beacon are separate events. Only page loads and route changes are page views.
Related
Send events from JavaScript or plain HTML attributes — plus the events Linqry records for you automatically.
Paste two lines before </head> on any site you can edit. Works with static sites, server-rendered apps and SPAs.
Two lines of HTML, no SDK, no build step. Works on any stack.
Measure your own site without cookies
No card required · 30-day trial · No cookies