View source: R/gtm_containers_methods.R
Create a new Google Tag Manager container from scratch
1 2 3 4 5 6 7 8 9 | gtm_containers_create(
account_id,
container_name,
usage_context,
token,
domain_name = NULL,
notes = NULL,
verbose = FALSE
)
|
account_id |
The ID for the GTM account where the desired container sits |
container_name |
The name of the new container |
usage_context |
The type of container you want to create. Valid values are: 'web', 'android', 'ios' |
token |
An OAuth token object |
domain_name |
Domain name(s) that you want to associate with the container. Optional. |
notes |
A string of notes that you want to write to the container. Optional. |
verbose |
If you want a message letting you know that your container has been successfully created. Defaults to FALSE |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.