gtm_builtin_revert: Reverts changes to a GTM Built-In Variables in a GTM...

View source: R/variables_builtin.R

gtm_builtin_revertR Documentation

Reverts changes to a GTM Built-In Variables in a GTM Workspace

Description

This reeverts any changes to a GTM Built-In Variables in a GTM Workspace.

Usage

gtm_builtin_revert(account_id, container_id, workspace_id, variable)

Arguments

account_id

Account Id

container_id

Container Id

workspace_id

Workspace Id

variable

A built-in Variable or list of built-in variables. Valid values are here variables_list

See Also

https://developers.google.com/tag-platform/tag-manager/api/v2/reference/accounts/containers/workspaces/built_in_variables/revert

Other built in variable functions: gtm_builtin_create(), gtm_builtin_delete(), gtm_builtin_list(), variables_list

Examples

## Not run: 
accountId <- 1234567
containerId <- 7654321
workspaceId <- 10
variable <- 'clickId'

variable <- gtm_variables_revert(accountId, containerId, workspaceId, variable)

# Changes to variable 22 have been reverted

## End(Not run)


googleTagManageR documentation built on April 17, 2022, 1:05 a.m.