2016-04-07 54 views
0

我已通過我的網站上的dataLayer設置了增強型電子商務增強功能。所有GA電子商務報告都可以正常工作,除了一個。 GA不記錄productClick事件(無法在GA電子商務增強版和標記管理器中記錄productClick事件

enter image description here enter image description here

數據通過旁邊的功能

function eProductClick(product) { 
    dataLayer.push({ 
     'event': 'productClick', 
     'ecommerce': { 
      'click': { 
       'actionField': {'list': product.list}, 
       'products': [{ 
        'id': product.id, 
        'name': product.name, 
        'price': product.price, 
        'category': product.category, 
        'position': product.position 
       }] 
      } 
     }, 
    }); 
}  

function eAddToBasket(product) { 
    dataLayer.push({ 
     'event': 'addToCart', 
     'ecommerce': { 
      'currencyCode': 'UAH', 
      'add': { 
       'products': [{ 
        'id': product.id, 
        'name': product.name, 
        'price': product.price, 
        'category': product.category, 
        'quantity': 1 
       }] 
      } 
     } 
    }); 
}   

執行這兩個事件是由標籤毫無遺漏的經理推到數據層

enter image description here enter image description here enter image description here enter image description here

我真的找不到爲什麼GA不跟蹤產品視圖

回答

1

看起來是不正常的事件的原因/缺少的是產品的細節動作。

https://developers.google.com/tag-manager/enhanced-ecommerce#details

在你正在尋找的產品視圖的數量的報告不是由產品的數量計算的點擊動作,但產品細節動作的數量。這是有道理的,因爲用戶可以登陸產品詳細信息頁面,並且仍然希望將其作爲產品詳細信息視圖進行跟蹤。

+0

你是對的。謝謝! – dr0zd

相關問題