问题描述
我试图从AMP页面捕获产品数据以进行动态再营销。
这是页面 https://shop.houseofcandy.in/dark-chocolate-almonds AMP json有效,没有错误或警告。
页面变量的传递方式为:
<amp-analytics config="https://www.googletagmanager.com/amp.json?id=GTM-XXXXXXX>m.url=SOURCE_URL" data-credentials="include"></amp-analytics> <amp-analytics data-credentials="include" type="gtag"> <script type="application/json">
{
"vars" : {
"gtag_id" : "UA-XXXXXXXX-X","config" : { "UA-XXXXXXXX-X" : { "groups": "default" } },"gtag_items" : [
{"google_business_vertical": "retail","id": 31411},{"google_business_vertical": "retail","id": 32194},"id": 242688},"id": 30754},"id": 242677}
],"gtag_event" : "view_item","fb_event" : "ViewContent","value" : 160,"content_type" : "product_group","content_ids" : [31411,32194,242688,30754,242677]
}
}
</script>
</amp-analytics>
AMP变量配置为:
标签配置如下:
标签触发,但无法从json加载任何值。 :(
我想念什么? 请帮忙。 详细信息
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)