Google 带 GA 的跟踪代码管理器

Google Tag Manager with GA

我需要你的帮助

我正在研究 GTM。我对 "eCommerce > Product performance." 选项卡中的产品类别有疑问。

我像下面这样从 dataLayer 发送数据。

dataLayer.push({
           'event': 'PlaceOrder',
           'ecommerce': {
               'purchase': {
                   'actionField': {
                       'id': 'T12359',                       
                       'affiliation': 'Online Store',
                       'revenue': '55.43',                    
                       'tax': '4.20',
                       'shipping': '6.69'
                   },
                   'products': [{                     
                       'name': 'Triblend Android T-Shirt test',
                       'id': 'test_0_1_0',
                       'price': '15.25',
                       'category': 'Apparel',
                       'quantity': 1
                   }, {
                       'name': 'Donut Friday Scented T-Shirt test',
                       'id': 'test_0_2_0',
                       'price': '33.75',
                       'category': 'Apparel',
                       'quantity': 3
                   }]
               }
           }
       });

但我看不到任何细节(即 "category: Apparel")。 请检查此 screenshot.

在此先感谢您。

enter image description here

问题已解决。

只需打开以下选项即可。

分析 > 查看 > 电子商务设置 >

1) 电子商务设置 > 状态:开启。 相关产品:ON.

2) 增强型电子商务设置(启用增强型电子商务报告)。


第二个选项很重要,剩下的就是打开。

谢谢大家及时回复我。