cm_function | R Documentation |
Returns a JSON string defining a function to be used to build a calculated (derived) metric.
cm_function(
func = "col-sum",
metric = "visits",
dimension = NULL,
seg_filter = NULL,
rsid = Sys.getenv("AW_REPORTSUITE_ID"),
company_id = Sys.getenv("AW_COMPANY_ID")
)
func |
Calculated function id. Only Basic single metric functions are able to be used. |
metric |
The metric to be used in the functional metric calculation. Default is |
dimension |
The dimension to be used in the functional metric calculation. Default is |
seg_filter |
A segment filter to be added to a metric in the formula |
rsid |
Adobe report suite ID (RSID). If an environment variable called
|
company_id |
Company ID. If an environment variable called |
Returns a full list of calculated metric functions or a specified function that the user can access.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.