Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

ga_allowed_metric_dim

Create named list of allowed GA metrics/dimensions


Description

Create named list of allowed GA metrics/dimensions

Usage

ga_allowed_metric_dim(
  type = c("METRIC", "DIMENSION"),
  subType = c("all", "segment", "cohort"),
  callAPI = FALSE
)

Arguments

type

Type of parameter to create

subType

to restrict to only those in this type

callAPI

This will update the meta table (Requires online authorization)

This is useful to expand goalXCompletions to all the possibilities, as well as restricting to those that variables that work with your API call.

Use internal meta table, but you have option to update to the latest version.

Value

A named list of parameters for use in API calls


googleAnalyticsR

Google Analytics API into R

v1.0.0
MIT + file LICENSE
Authors
Mark Edmondson [aut, cre] (<https://orcid.org/0000-0002-8434-3881>), Artem Klevtsov [ctb], Johann deBoer [ctb], David Watkins [ctb], Olivia Brode-Roger [ctb], Jas Sohi [ctb], Zoran Selinger [ctb], Octavian Corlade [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.