gtm_builtin_create {googleTagManageR} | R Documentation |
Enable a built-in variable
Description
This enables one of the built-in variables in GTM. It is the inverse of gtm_builtin_delete
Usage
gtm_builtin_create(account_id, container_id, workspace_id, variable)
Arguments
account_id |
Account Id |
container_id |
Container Id |
workspace_id |
Workspace Id |
variable |
A Builtin Variable or list of built in variables. Valid values are here |
See Also
Other built in variable functions:
gtm_builtin_delete()
,
gtm_builtin_list()
,
gtm_builtin_revert()
,
variables_list
Examples
## Not run:
accountId <- 1234567
containerId <- 7654321
workspaceId <- 10
variable <- 'clickId'
builtinVaribles<- gtm_builtin_create(accountId, containerId, workspaceId, variable)
listOfVaribales <- c('clickClasses', 'clickElement')
newEnabledVars <- gtm_builtin_create(accountId, containerId, workspaceId, listOfVaribales)
## End(Not run)
[Package googleTagManageR version 0.2.0 Index]