gtm_variables_get | R Documentation |
This will return a list with the settings of a single variable.
If you want to get the information for all variables, use gtm_variables_list
gtm_variables_get(account_id, container_id, workspace_id, variable_id)
account_id |
Account Id |
container_id |
Container Id |
workspace_id |
Workspace Id |
variable_id |
Variable Id |
Other variable functions:
gtm_variables_create()
,
gtm_variables_delete()
,
gtm_variables_list()
,
gtm_variables_revert()
,
gtm_variables_update()
## Not run: accountId <- 1234567 containerId <- 7654321 workspaceId <- 10 variableId = 100 variable <- gtm_variables_get(accountId, containerId, workspaceId, variableId) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.