Page tracking

Dimensions

ga:hostname

Host name.

Data type: string.

ga:pagePath

URL path, including the request parameters. To receive the URL of the site page, use the URL path along with the host name.

Data type: string.

ga:pagePathLevel1

First level of the URL path.

Data type: string.

ga:pagePathLevel2

Second level of the URL path.

Data type: string.

ga:pagePathLevel3

Third level of the URL path.

Data type: string.

ga:pagePathLevel4

Fourth level of the URL path.

Data type: string.

ga:pageTitle

Page title. Multiple pages can be given the same title.

Data type: string.

ga:landingPagePath

The first page of the website that the user visited (the landing page).

Data type: string.

ga:exitPagePath

Show the last page of the site viewed by the user (exit page).

Data type: string.

ga:previousPagePath

The page that the user visited before they visited the current page of the website. Usually used with the dimension ga:pagePath.

Data type: string.

ga:pageDepth

Page depth. Groups data by number of pages viewed by the site user during the session (visit).

Data type: string.

Metrics

ga:pageviews

Total pageviews on site.

Data type: integer.

ga:pageviewsPerSession

Average number of pageviews during the session (visit). This takes into account repeated views of the same page.

Data type: float.

ga:timeOnPage

The time users spent on any given page of the site, in seconds. This is the difference between the start time of viewing the current page of the site and viewing the next page.

This metric cannot be used for the exit page.

Data type: time.

ga:avgTimeOnPage

Average pageview duration across all pages.

Data type: time.