templates
Overview
Name | templates |
Type | Resource |
Id | googleanalytics.tagmanager.templates |
Fields
Name | Datatype | Description |
---|---|---|
name | string | Custom Template display name. |
templateData | string | The custom template in text format. |
fingerprint | string | The fingerprint of the GTM Custom Template as computed at storage time. This value is recomputed whenever the template is modified. |
path | string | GTM Custom Template's API relative path. |
templateId | string | The Custom Template ID uniquely identifies the GTM custom template. |
workspaceId | string | GTM Workspace ID. |
galleryReference | object | Represents the link between a custom template and an entry on the Community Template Gallery site. |
containerId | string | GTM Container ID. |
tagManagerUrl | string | Auto generated link to the tag manager UI |
accountId | string | GTM Account ID. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
accounts_containers_workspaces_templates_get | SELECT | accountsId, containersId, templatesId, workspacesId | Gets a GTM Template. |
accounts_containers_workspaces_templates_list | SELECT | accountsId, containersId, workspacesId | Lists all GTM Templates of a GTM container workspace. |
accounts_containers_workspaces_templates_create | INSERT | accountsId, containersId, workspacesId | Creates a GTM Custom Template. |
accounts_containers_workspaces_templates_delete | DELETE | accountsId, containersId, templatesId, workspacesId | Deletes a GTM Template. |
accounts_containers_workspaces_templates_revert | EXEC | accountsId, containersId, templatesId, workspacesId | Reverts changes to a GTM Template in a GTM Workspace. |
accounts_containers_workspaces_templates_update | EXEC | accountsId, containersId, templatesId, workspacesId | Updates a GTM Template. |