Description Usage Arguments Details Value Examples
Get valid elements for a report suite for the current user. This list is restricted by optionally specified existing elements, existing metrics and date granularity.
1 2 | GetElements(reportsuite.ids, metrics = c(), elements = c(),
date.granularity = "", report.type = "")
|
reportsuite.ids |
Single report suite id, or character vector of report suite ids |
metrics |
List of existing metrics you want to use in combination with an additional element |
elements |
List of existing elements you want to use in combination with an additional element |
date.granularity |
Granularity that you want to combine with an additional metric |
report.type |
If set to 'warehouse', the elements and metrics returned to use in combination with an addional element are supported in data warehouse reports. |
This function requires a character vector with one or more valid Report Suites specified.
Data frame
1 2 3 4 5 6 7 8 9 10 | ## Not run:
elements.valid <- GetElements("your_report_suite",
metrics=c('visitors','pageviews'),
elements=c('page','geoCountry'),
date.granularity='day',
report.type='')
elements <- GetElements(c("your_prod_report_suite","your_dev_report_suite"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.