Pageviews are the oldest web analytics metric. They tell you how much your pages are read, which is useful for content, but they say little about how many people came or whether they did anything.
What counts as a pageview
A pageview is recorded when the tracking script runs on a page and sends a view. That covers:
- a normal page load, including a reload;
- a route change in a single-page app (React, Vue, Next.js and so on), when the script listens for history changes (see single-page application tracking);
- a view you send yourself from code.
It does not cover requests from crawlers and bots in tools that filter them, pages where the script is blocked or missing, or files such as PDFs and images opened directly.
Pageviews compared with other traffic numbers
Pageviews are always at least as high as sessions, which are at least as high as unique visitors. Dividing pageviews by sessions gives views per visit.
As a made-up example: 2,000 pageviews from 800 sessions means an average of 2.5 pages per visit.
How Reveata records pageviews
The Reveata script sends a pageview on every page load and route change by default. With data-auto="false" you send them yourself, and you can attach properties to a pageview:
reveata('pageview', { props: { section: 'docs' } });Every pageview counts as one event towards your plan's monthly allowance. Only a pageview can start a new session. Pageviews from crawlers and AI agents are kept apart as bot hits and never appear in your traffic numbers. See the JavaScript API for every option.
Common mistakes
- Using pageviews as a popularity score. A confusing page can rack up views from people clicking back and forth. Look at pageviews together with time on page and exit rate.
- Double-counting single-page apps. If both your framework and a manual call send a view on each route change, every view counts twice.
- Counting reloads as interest. A page that reloads itself (for example after a form error) inflates its views.