Analytics
Metrics and dimension payload returned by analytics and analyticsOverTime. Fields absent from the returned
payload resolve to null.
type Analytics {
nextCursor: AnalyticsCursor
uniqueVisitors: MetricOverTime
pageViews: MetricOverTime
avgSessionDuration: MetricOverTime
sessions: MetricOverTime
bounceRate: MetricOverTime
visitors: VisitorsBreakdown
deviceType(
limit: Int
): MetricMetadata
countries(
limit: Int
): MetricMetadata
languages(
limit: Int
): MetricMetadata
os(
limit: Int
): MetricMetadata
browsers(
limit: Int
): MetricMetadata
channels(
limit: Int
): MetricMetadata
referrers(
limit: Int
): MetricMetadata
pages(
limit: Int
): MetricMetadata
entryPages(
limit: Int
): MetricMetadata
utmSources(
limit: Int
): MetricMetadata
utmMediums(
limit: Int
): MetricMetadata
utmCampaigns(
limit: Int
): MetricMetadata
utmTerms(
limit: Int
): MetricMetadata
utmContents(
limit: Int
): MetricMetadata
}
Fields
Analytics.nextCursor ● AnalyticsCursor object
Per-dimension continuation boundaries from the fetched rows; null for analyticsOverTime, which does not
paginate.
Analytics.uniqueVisitors ● MetricOverTime object
Visitor count summed across daily aggregates; visitors may count on multiple dates.
Analytics.pageViews ● MetricOverTime object
Page-view event count.
Analytics.avgSessionDuration ● MetricOverTime object
Engagement duration divided by all sessions, in milliseconds.
Analytics.sessions ● MetricOverTime object
Session count.
Analytics.bounceRate ● MetricOverTime object
Non-engaged sessions divided by all sessions, a fraction from 0 to 1.
Analytics.visitors ● VisitorsBreakdown object
New and returning daily visitor counts for the window.
Analytics.deviceType ● MetricMetadata object
Returns all device types by default because limit: -1 disables truncation for this
dimension.
Analytics.deviceType.limit ● Int scalar
Maximum returned rows from the fetched slice, default -1. Use -1 for the entire fetched slice.
Analytics.countries ● MetricMetadata object
Metrics grouped by country; null when this dimension is absent from the returned payload.
Analytics.countries.limit ● Int scalar
Maximum returned rows from the fetched slice, default 250. Use -1 for the entire fetched slice.
Analytics.languages ● MetricMetadata object
Metrics grouped by language; null when this dimension is absent from the returned payload.
Analytics.languages.limit ● Int scalar
Maximum returned rows from the fetched slice, default 250. Use -1 for the entire fetched slice.
Analytics.os ● MetricMetadata object
Metrics grouped by operating system; null when this dimension is absent from the returned payload.
Analytics.os.limit ● Int scalar
Maximum returned rows from the fetched slice, default 250. Use -1 for the entire fetched slice.
Analytics.browsers ● MetricMetadata object
Metrics grouped by browser; null when this dimension is absent from the returned payload.
Analytics.browsers.limit ● Int scalar
Maximum returned rows from the fetched slice, default 250. Use -1 for the entire fetched slice.
Analytics.channels ● MetricMetadata object
Metrics grouped by traffic channel; null when this dimension is absent from the returned payload.
Analytics.channels.limit ● Int scalar
Maximum returned rows from the fetched slice, default 250. Use -1 for the entire fetched slice.
Analytics.referrers ● MetricMetadata object
Metrics grouped by referrer domain; null when this dimension is absent from the returned payload.
Analytics.referrers.limit ● Int scalar
Maximum returned rows from the fetched slice, default 250. Use -1 for the entire fetched slice.
Analytics.pages ● MetricMetadata object
Metrics grouped by viewed page domain and path; null when this dimension is absent from the returned payload.
Analytics.pages.limit ● Int scalar
Maximum returned rows from the fetched slice, default 250. Use -1 for the entire fetched slice.
Analytics.entryPages ● MetricMetadata object
Metrics grouped by first page domain and path; null when this dimension is absent from the returned payload.
Analytics.entryPages.limit ● Int scalar
Maximum returned rows from the fetched slice, default 250. Use -1 for the entire fetched slice.
Analytics.utmSources ● MetricMetadata object
Metrics grouped by UTM source; null when this dimension is absent from the returned payload.
Analytics.utmSources.limit ● Int scalar
Maximum returned rows from the fetched slice, default 250. Use -1 for the entire fetched slice.
Analytics.utmMediums ● MetricMetadata object
Metrics grouped by UTM medium; null when this dimension is absent from the returned payload.
Analytics.utmMediums.limit ● Int scalar
Maximum returned rows from the fetched slice, default 250. Use -1 for the entire fetched slice.
Analytics.utmCampaigns ● MetricMetadata object
Metrics grouped by UTM campaign; null when this dimension is absent from the returned payload.
Analytics.utmCampaigns.limit ● Int scalar
Maximum returned rows from the fetched slice, default 250. Use -1 for the entire fetched slice.
Analytics.utmTerms ● MetricMetadata object
Metrics grouped by UTM term; null when this dimension is absent from the returned payload.
Analytics.utmTerms.limit ● Int scalar
Maximum returned rows from the fetched slice, default 250. Use -1 for the entire fetched slice.
Analytics.utmContents ● MetricMetadata object
Metrics grouped by UTM content; null when this dimension is absent from the returned payload.
Analytics.utmContents.limit ● Int scalar
Maximum returned rows from the fetched slice, default 250. Use -1 for the entire fetched slice.
Returned By
analytics query ● analyticsOverTime query