“ wpcf7mailsent”单击提交按钮时未在主页上触发我正在使用ampforwp插件,这是我的代码。单击提交按钮时应触发。
{
"vars": {
"account": "UA-60835381-1" //Replace this with your Tracking ID
},
"triggers": {
"trackPageview": {
"on": "visible",
"request": "pageview",
}, "vars": { "id1": "#wpcf7mailsent", "id2": ".wpcf7mailsent"},
"triggers": {
"anchorClicks": {
"on": "click",
"selector": "a, ${id1}, ${id2}",
"request": "event",
"vars": {
"eventId": 128,
}
}
}
}
}