View source: R/gtm_variables_methods.R
Get a specific custom Variable of a GTM Container.
1 2 3 4 5 6 7 8 9 | gtm_variables_get(
account_id,
container_id,
workspace_id,
variable_id,
token,
variable_name = NULL,
verbose = FALSE
)
|
account_id |
The ID of the account |
container_id |
The ID of the container |
workspace_id |
The ID of the workspace. Defaults to NULL because this will default to the default workspace. |
variable_id |
The ID of the variable you want to get. Could be NULL if you want to pass the variable name |
token |
An OAuth token object |
variable_name |
Defaults to NULL, but you can use this if you don't know the variable ID and you just want to delete by name |
verbose |
If you want a message letting you know that your results have been successfully retrieved. Defaults to FALSE |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.