gtm_builtin_delete: Disable a built-in variable

View source: R/variables_builtin.R

gtm_builtin_deleteR Documentation

Disable a built-in variable

Description

This disables one or more of the built-in variables in GTM. It is the inverse of gtm_builtin_create

Usage

gtm_builtin_delete(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/delete

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

Examples

## Not run: 

accountId <- 1234567
containerId <- 7654321
workspaceId <- 10
variable <- 'clickId'

builtinVaribles<- gtm_builtin_delete(accountId, containerId, workspaceId, variable)

listOfVaribales <- c('clickClasses', 'clickElement')

newEnabledVars <- gtm_builtin_delete(accountId, containerId, workspaceId, listOfVaribales)


## End(Not run)


jamescottrill/googleTagManageR documentation built on April 21, 2022, 5:40 p.m.