如需了解此资源的方法列表,请参阅本页结尾部分。
资源表示形式
表示 Google 跟踪代码管理器自定义模板的内容。
{ "path": string, "accountId": string, "containerId": string, "workspaceId": string, "templateId": string, "name": string, "fingerprint": string, "tagManagerUrl": string, "templateData": string, "galleryReference": { "host": string, "owner": string, "repository": string, "version": string, "isModified": boolean, "signature": string } }
属性名称 | 值 | 说明 | 备注 |
---|---|---|---|
accountId |
string |
GTM 帐号 ID。 | |
containerId |
string |
GTM 容器 ID。 | |
fingerprint |
string |
GTM 自定义模板的指纹,以存储时计算的值为准。每当修改模板时,都会重新计算此值。 | |
galleryReference |
nested object |
对社区模板库条目的引用。 | |
galleryReference.host |
string |
社区图库模板的主机名称。 | |
galleryReference.isModified |
boolean |
如果用户手动修改了社区图库模板, | |
galleryReference.owner |
string |
社区图库模板的所有者的姓名。 | |
galleryReference.repository |
string |
社区图库模板的代码库名称。 | |
galleryReference.signature |
string |
社区图库模板的签名(在导入时计算)。每当从模板库中更新模板时,都会重新计算此值。 | |
galleryReference.version |
string |
社区图库模板的版本。 | |
name |
string |
自定义模板显示名。 | |
path |
string |
GTM 自定义模板的 API 相对路径。 | |
tagManagerUrl |
string |
自动生成的指向跟踪代码管理器界面的链接 | |
templateData |
string |
文本格式的自定义模板。 | |
templateId |
string |
唯一标识 GTM 自定义模板的自定义模板 ID。 | |
workspaceId |
string |
GTM 工作区 ID。 |