Description Usage Arguments Details Value See Also Examples
View source: R/custom_dims_mets.R
List Custom Dimensions or Metrics
1 2 3 4 5 | ga_custom_vars_list(
accountId,
webPropertyId,
type = c("customDimensions", "customMetrics")
)
|
accountId |
Account Id |
webPropertyId |
Web Property Id |
type |
A customMetric or customDimension |
This function lists all the existing custom dimensions or metrics for the web property.
Custom Metric or Dimension List
Other custom variable functions:
ga_custom_vars_create()
,
ga_custom_vars_patch()
,
ga_custom_vars()
1 2 3 4 5 6 7 8 9 10 | ## 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.