Required Scopes
This API requires one of the following scopes:business-intelligence
Path Parameters
The category used to break down the analytics data.
totals
, sessions
, sources
, geolocation
, utm-campaigns
, utm-contents
, utm-mediums
, utm-sources
, utm-terms
The time period used to group the data.
total
, daily
, weekly
, monthly
, summarize/daily
, summarize/weekly
, summarize/monthly
Query Parameters
The start date for the data you want. Must be included as ISO 8601 format, YYYYMMDD.
The end date for the data you want. Must be included as ISO 8601 format, YYYYMMDD.
Used to drilldown into the data.
Used to further drill down into the data.
Filter the returned data to include only the specified breakdown. May be included multiple times.
Exclude data for the specified breakdown. May be included multiple times.
The ID of an Analytics view.
If included, the results are sorted by the specified field.
Controls the direction of sorted results.
ASC
, DESC
Used to limit the number of results per request.
Used to get the next page of results.
Response
Analytics data retrieved successfully
The response is of type object
.