【问题标题】:Google Analytics Shopping Behavior gtag Product View not working谷歌分析购物行为 gtag 产品视图不起作用
【发布时间】:2020-01-21 01:19:56
【问题描述】:

我有一个电子商务平台,我正在尝试将其设置为在 Google Analytics(分析)的电子商务购物行为中报告我想要的方式...

我的“添加到购物车”gtag 工作正常,并且在“购物行为”中报告良好:

gtag('event', 'add_to_cart', {
    "content_type": "product",
    "items": [
    {
        "id": car_class,
        "name": car_class,
        "variant": coveragec,
        "price": carpricetotalnum
    }
    ]
});

我遇到的问题是让产品视图正常工作...我有这个标签:

gtag('event', 'select_content', {
        "content_type": "product",
    });

它正在触发,但未在“购物行为”中显示为产品视图

谁能告诉我如何正确设置?

【问题讨论】:

    标签: google-analytics e-commerce google-tag-manager gtag.js


    【解决方案1】:

    您必须使用view_item 事件将产品详细信息视图报告为购物行为。 select_content 将在电子商务报告中报告为产品点击。 检查docs 中所有受支持事件的列表。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2011-11-04
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多