我正在尝试使用谷歌标签管理器rest api 创建一个新的触发器并收到此错误:
无法解析触发数据 com.google.analytics.containertag.common.CtApiaryException:trigger.filter[0].parameter[1]:过滤器的第二个参数必须是字符串。
这是我的有效负载:
const body = {
accountId: googleTagManagerAccountId,
containerId: containerId,
workspaceId: workspaceId,
name: `Bla bla PageViews Disabled JS - ${domainUrl}`,
type: 'pageview',
tagFiringOption: 'somePageViews',
filter: [
{
parameter: [
{
type: 'template',
value: '{{ Cheq Essentials Variable }}',
key: 'arg0',
},
{
type: 'boolean',
value: 'false',
key: 'arg1',
},
],
type: 'contains',
},
],
};
有人可以解释一下我的代码有什么问题吗?
谢谢