gtm_containers_create | R Documentation |
This creates a new container in the specified account.
gtm_containers_create( account_id, name, type = c("web", "iosSdk5", "androidSdk5", "amp", "server"), domain_name = NULL, notes = NULL )
account_id |
Account 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/create
Other container functions:
gtm_containers_delete()
,
gtm_containers_get()
,
gtm_containers_list()
,
gtm_containers_update()
## Not run: accountId <- 1234567 newName <- "My New Container" container <- gtm_containers_create(accountId, newName, 'web') ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.