Web Analytics - Page views (PV)


Page views measurement allows to measure the number of views for a particular web page.

Page Views is a event send by a tracker that counts:

PageViews that are not the loading of a page are also referred as virtual pageviews.

Other definition

Visible Page

To see if the page was viewed by switching from one tab to another, you can use the Page Visibility API (Can I Use pagevisibility)

Monthly Page View (MPV)

MPV is a metric for website size.

Example of category:

  • Under 250k
  • 250k - 500k
  • 500k - 1 million
  • 1 million - 5 million
  • 5 million - 10 million
  • 10 million - 20 million
  • Over 20 million

Request Example

Google Analytics

	&_v=j79                   # Version
	&tid=UA-6493290-1  # Tracking ID / Property ID.
	&cid=1144209745.1575553561 # Client ID (Anonymous id)
	&t=pageview # Pageview hit type.
        &dh=mydemo.com   # Document hostname.
        # All events can have a document path (&dp) or document location (&dl).
        &dp=/home        # Page (document path)
        &dl=https%3A%2F%2Fgerardnico.com%2Fmarketing%2Fanalytics%2Ftracker # document location
        &dt=Tracker%20%5BGerardnico%20-%20The%20Data%20Blog%5D  # Title.


More … see Ga Pageview Doc


Web Analytics - Segment.io

The call:

  path: '/',
  referrer: 'http://localhost:8080/',
  search: '',
  title: 'WebComponent Test',
  url: 'http://localhost:8080/'

The created json:

  "anonymousId": "6603c084-944a-40bf-a493-e3a21765d1a4",
  "context": {
    "ip": "",
    "library": {
      "name": "analytics.js",
      "version": "3.10.1"
    "page": {
      "path": "/",
      "referrer": "http://localhost:8080/",
      "search": "",
      "title": "WebComponent Test",
      "url": "http://localhost:8080/"
    "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36"
  "integrations": {},
  "messageId": "ajs-f51a947ad152777a76f5060c41a6988c",
  "originalTimestamp": "2020-01-12T09:02:06.178Z",
  "properties": {
    "path": "/",
    "referrer": "http://localhost:8080/",
    "search": "",
    "title": "WebComponent Test",
    "url": "http://localhost:8080/"
  "receivedAt": "2020-01-12T09:02:07.496Z",
  "sentAt": "2020-01-12T09:02:06.182Z",
  "timestamp": "2020-01-12T09:02:07.492Z",
  "type": "page",
  "userId": null

Table example


Web Analytics - Segment.io

Column Description
Anonymous_id The anonymous ID of the user
user_id The unique ID of the user
context_<key> Non-user-related context fields sent with each page or screen call - Google Analytics - Browsing Context ( URL , screen, )
id The unique ID of the page or screen call itself
received_at When the page or screen call was received
sent_at When the page or screen call was triggered by the user
<property> Each property of your pages or screens is created as it’s own column, and the column type is automatically inferred from your data.
For example, you might have columns like referrer and title.

Derived Data Structure

From a page view event, you can construct:


Powered by ComboStrap