Search⌘ K

Pageviews, List, and Search Pages

Learn about pageviews and how to list and search pages.

In this lesson, we'll learn how to retrieve the number of pageviews for a particular blog page over a certain period of time. We'll also learn how to retrieve a single blog page and a list of all blog pages.

Pageview properties

The table below shows the list of pageview properties and their descriptions.

Parameter

Type

Description

kind

string

The type of object.

Value: blogger#page_views

Note: This value is fixed.

blogId

long

The ID of the blog.

counts[]

list

The list of time ranges and count pairs for each page.

counts[].timeRange

string

The duration over which the count was estimated.

counts[].count

long

The number of pageviews.

Methods

Get pageviews

We can retrieve the pageview stats for a specific blog by making a GET request to the following endpoint:

Clojure
https://blogger.googleapis.com/v3/blogs/{blogId}/pageviews

This endpoint requires the blogId of the blog that we would ...