gtm_accounts_update {googleTagManageR} | R Documentation |
Updates account metadata
Description
This enables you to update the account metadata. You can update the account name and whether or not data is shared with Google.
Usage
gtm_accounts_update(account_id, name = NULL, shareData = c("TRUE", "FALSE"))
Arguments
account_id |
Account Id |
name |
Account Display Name |
shareData |
Whether the account shares data anonymously with Google and others. This flag enables benchmarking by sharing your data in an anonymous form. Google will remove all identifiable information about your website, combine the data with hundreds of other anonymous sites and report aggregate trends in the benchmarking service. |
See Also
https://developers.google.com/tag-platform/tag-manager/api/v2/reference/accounts/update
Other account functions:
gtm_accounts_get()
,
gtm_accounts_list()
Examples
## Not run:
account_id <- 12345678
new_account <- gtm_accounts_update(account_id, name = "New Container Name")
## End(Not run)
[Package googleTagManageR version 0.2.0 Index]