gtm_containers_update | R Documentation |
This updates a GTM Container. Although you can't change the type of container, it is still required for this function to work.
gtm_containers_update( account_id, container_id, name, type = c("amp", "androidSdk5", "iosSdk5", "web", "server"), domain_name = "", notes = "" )
account_id |
Account Id |
container_id |
Container Id |
name |
Container Name |
type |
Container Use Type, one of web, iosSdk5, androidSdk5, amp or server |
domain_name |
List of domain names associated with the Container. |
notes |
Container Notes. |
https://developers.google.com/tag-platform/tag-manager/api/v2/reference/accounts/containers/update
Other container functions:
gtm_containers_create()
,
gtm_containers_delete()
,
gtm_containers_get()
,
gtm_containers_list()
## Not run: accountId <- 1234567 containerId <- 7654321 containers <- gtm_containers_update(accountId, containerId, 'New Container Name', 'amp') ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.