List Custom Dimensions or Metrics
ga_custom_vars_list(
accountId,
webPropertyId,
type = c("customDimensions", "customMetrics")
)
Account Id
Web Property Id
A customMetric or customDimension
Custom Metric or Dimension List
This function lists all the existing custom dimensions or metrics for the web property.
Other custom variable functions:
ga_custom_vars_create()
,
ga_custom_vars_patch()
,
ga_custom_vars()
if (FALSE) {
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")
}