Returns a report with the most common session metrics within a date range.
The unique view profile ID, i.e.:
108740273. From the LIST_ACCOUNTS_ANALYTICS_GOOGLE() function, the id can be found under profile object.
Date range, i.e.:
"[2010-01-01;2019-01-01]". See how to automate date ranges here.
The relative path of the page to filter the metrics (e.g. '/privacy')
List of dimensions to query (e.g.
ga:browser,ga:city). Supports up to 7 dimensions. Explore all the dimensions here.
A list of metrics and dimensions indicating the sorting order and its direction, (e.g.
ga:country,ga:browser). Descending sort order is given by "-" prefix (e.g
Dimensions or metrics on which to filter the returned data, followed by the filter expression. (e.g.
The Id of a built-in or custom Google Analytics segment (e.g.
"gaid::-2") or specifying a segment using
"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).
You can find more details on how the dimensions, filters, sorting and segments here