PAGE_ANALYTICS_GOOGLE

Get a report with the most common page metrics within a date range.

Websites
Companies
icon of Google AnalyticsGoogle Analytics
Not a big fan of functions?
Use the Actions Wizard to configure any action in Rows without functions.

Parameter List

Syntax
PAGE_ANALYTICS_GOOGLE(iddate_range
[page_path]
[dimensions]
[sort]
[filters]
[segments]
)
id

The unique view profile ID. For example: 108740273. Use LIST_ACCOUNTS_ANALYTICS_GOOGLE() to get the ID.

date_range

Date range for the report. For example: ">2019", ">2019-11-01", or "[2010-01-01;2019-01-01]".

[optional] page_path

The relative path of the page to filter the metrics. For example: "/privacy".

[optional] dimensions

Up to 7 dimensions to query. For example: "ga:browser,ga:city". For a list of dimensions, see Google's dimension documentation.

Selected options:
ga:adContent
ga:appId
ga:appInstallerId
ga:appName
ga:appVersion
ga:browser
ga:browserSize
ga:browserVersion
ga:campaign
ga:campaignCode
ga:city
ga:cityId
ga:continent
ga:continentId
ga:country
ga:countryIsoCode
ga:dataSource
ga:date
ga:dateHour
ga:day
ga:dayOfWeekName
ga:daysSinceLastSession
ga:deviceCategory
ga:eventAction
ga:eventCategory
ga:eventLabel
ga:exitPagePath
ga:exitScreenName
ga:flashVersion
ga:fullReferrer
ga:hasSocialSourceReferral
ga:hostname
ga:hour
ga:javaEnabled
ga:keyword
ga:landingPagePath
ga:landingScreenName
ga:language
ga:latitude
ga:longitude
ga:medium
ga:metro
ga:metroId
ga:minute
ga:mobileDeviceBranding
ga:mobileDeviceInfo
ga:mobileDeviceMarketingName
ga:mobileDeviceModel
ga:mobileInputSelector
ga:month
ga:networkDomain
ga:networkLocation
ga:operatingSystem
ga:operatingSystemVersion
ga:pageDepth
ga:pagePath
ga:pagePathLevel1
ga:pagePathLevel2
ga:pagePathLevel3
ga:pagePathLevel4
ga:pageTitle
ga:previousPagePath
ga:referralPath
ga:region
ga:regionId
ga:regionIsoCode
ga:screenColors
ga:screenDepth
ga:screenName
ga:screenResolution
ga:searchAfterDestinationPage
ga:searchCategory
ga:searchDestinationPage
ga:searchKeyword
ga:searchKeywordRefinement
ga:searchStartPage
ga:searchUsed
ga:secondPagePath
ga:sessionCount
ga:sessionDurationBucket
ga:socialNetwork
ga:source
ga:sourceMedium
ga:sourcePropertyDisplayName
ga:sourcePropertyTrackingId
ga:subContinent
ga:subContinentCode
ga:userBucket
ga:userDefinedValue
ga:userTimingCategory
ga:userTimingLabel
ga:userTimingVariable
ga:userType
ga:week
ga:year
ga:yearMonth
ga:yearWeek
[optional] sort

One or more metrics and dimensions indicating the sorting order and its direction. Prefix with a - for descending order. For example: "ga:country,ga:browser" or "-ga:country".

[optional] filters

One or more metrics or dimensions to filter the returned data by, followed by the filter expression. For example: "ga:country==United States;ga:browser==Firefox".

[optional] segments

The ID of a built-in or custom Google Analytics segment (for example "gaid::-2") or specifying a segment using "users::" or "sessions::" (e.g. "users::condition::ga:browser==Chrome" to select users who used Chrome browser in at least one of their sessions or "sessions::condition::ga:browser==Chrome" to select sessions where the Chrome browser was used).

More details

You can find more details on how the dimensions, filters, sorting and segments here

Examples

PAGE_ANALYTICS_GOOGLE("ga:108740273", ">2020") returns all page metrics for project ID "ga:108740273" since the beginning of ">2020".