gtm_folders_create | R Documentation |
This creates a new folder in the specified workspaces
gtm_folders_create(account_id, container_id, workspace_id, name, notes = NULL)
account_id |
Account Id |
container_id |
Container Id |
workspace_id |
Workspace Id |
name |
Folder display name |
notes |
User notes on how to apply this folder in the container. |
Other folder functions:
gtm_folders_delete()
,
gtm_folders_entities()
,
gtm_folders_get()
,
gtm_folders_list()
,
gtm_folders_move()
,
gtm_folders_revert()
,
gtm_folders_update()
## Not run: accountId <- 1234567 containerId <- 7654321 workspaceId <- 3 folderName <- "Analytics Tags" folderNotes <- "All our website's Google Analytics Tags" folder <- gtm_folders_create(accountId, containerId, workspaceId, folderName, folderNotes) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.