View source: R/gtm_variables_methods.R
Delete a GTM custom variables.
1 2 3 4 5 6 7 8 | gtm_variables_revert(
account_id,
container_id,
workspace_id,
variable_id,
token,
variable_name = NULL
)
|
account_id |
The ID of the account |
container_id |
The ID of the container |
workspace_id |
The ID of the workspace. |
variable_id |
The ID of the variable to delete. If NULL then the variable list will be called with the variable name |
token |
An OAuth token object - needs to be set to 'edit containers' |
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.