2016-07-11 67 views

回答

1

交易收入和產品收入是兩個不同的指標,來自代碼的2個不同部分。讓我解釋一下你可能發生了什麼。

這是增強型電子商務交易代碼,但它可以在電子商務片段的所有版本

ga('ec:addProduct', {    // Provide product details in an productFieldObject. 
    'id': 'P12345',     // Product ID (string). 
    'name': 'Android Warhol T-Shirt', // Product name (string). 
    'category': 'Apparel',   // Product category (string). 
    'brand': 'Google',    // Product brand (string). 
    'variant': 'black',    // Product variant (string). 
    'price': '29.20',     // Product price (currency). <-- UnitPrice 
    'coupon': 'APPARELSALE',   // Product coupon (string). 
    'quantity': 1      // Product quantity (number). <--Quantity 
}); 

ga('ec:setAction', 'purchase', {   // Transaction details are provided in an actionFieldObject. 
    'id': 'T12345',       // (Required) Transaction id (string). 
    'affiliation': 'Google Store - Online', // Affiliation (string). 
    'revenue': '37.39',      // Revenue (currency). <<- Revenue 
    'tax': '2.85',       // Tax (currency). 
    'shipping': '5.34',      // Shipping (currency). 
    'coupon': 'SUMMER2013'     // Transaction coupon (string). 
}); 

該產品的收入是根據單價乘以數量*單價(每個計算髮生交易),交易收入屬於「購買」對象。

Google Analytics的劑量與任何邏輯有關,例如,您可以在一次交易中以99.99美元的產品價格購買2個數量,並且在同一交易中聲明公認爲2美元,這對分析工具而言可以。我們知道這是不對的。

所以,你需要使用這個號碼的比賽,這裏的常見錯誤是:

交易申請貼現 - >產品的總和不打折應用於

的交易不適用優惠 - >的總和產品已打折

交易是A→產品總和爲C

1

谷歌不增加產品價值了 - 而不是產品的收入和交易收入經由跟蹤代碼不同的變量傳遞給GA,以及報告顯示相應的變量值。

所以我想有人通過了錯誤的值(我隱約懷疑有一個錯誤的小數分隔符)。您需要檢查您的交易代碼。