Skip to content

Traffic

Pageview

A pageview is one load of a page by a visitor. It is the most basic count in web analytics: every time a page is shown, the total goes up by one, whether or not the same person has seen it before.

Also called page view, views Updated

pageviews = number of times any page was shown

How is it calculated?

An analytics script sends one pageview when a page loads. On single-page apps, where the browser never reloads, the script listens for changes to the URL through the History API and counts each navigation as a new view.

Tools differ on the edges: whether a reload counts, whether a page restored from the back/forward cache counts, and whether the same URL twice in a row is one view or two.

Example

A visitor lands on your home page, opens the pricing page, goes back to the home page and leaves. That is three pageviews, one session and one unique visitor. Views per visit for that session is 3.

Common mistakes

  • Reading pageviews as people. One person can produce fifty pageviews, and fifty people can produce fifty. Use unique visitors when the question is about audience size.
  • Forgetting single-page navigation. If the script only counts full page loads, a React or Vue app looks like every visit has one view.
  • Comparing totals between tools without checking how each one filters bots. A tool that filters less will always show more.

How CrispStats shows it

CrispStats counts a pageview on load and on every History API navigation, so single-page apps need no extra code. The same URL twice in a row is one pageview, and a page restored from the back/forward cache counts as a new view. The overview shows pageviews and views per visit, and a pageview is one event on your plan.

Visitors and pageviews on the demo site, Quillbook, on generated traffic. Open it in the demo 

Your traffic, crisp and clear

One script, no cookies, and every feature from the first day. Set up takes about as long as pasting a snippet.