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

ga_custom_vars_list

List Custom Dimensions or Metrics


Description

List Custom Dimensions or Metrics

Usage

ga_custom_vars_list(
  accountId,
  webPropertyId,
  type = c("customDimensions", "customMetrics")
)

Arguments

accountId

Account Id

webPropertyId

Web Property Id

type

A customMetric or customDimension

Details

This function lists all the existing custom dimensions or metrics for the web property.

Value

Custom Metric or Dimension List

See Also

Other custom variable functions: ga_custom_vars_create(), ga_custom_vars_patch(), ga_custom_vars()

Examples

## Not run: 
library(googleAnalyticsR)
ga_auth()

ga_custom_vars_list(54019251, webPropertyId = "UA-54019251-4", type = "customDimensions")

ga_custom_vars_list(54019251, webPropertyId = "UA-54019251-4", type = "customMetrics")


## End(Not run)

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.