Answer the question
In order to leave comments, you need to log in
Why is product revenue not showing in Google Analytics?
Good afternoon.
Tell me what could be the problem.
Using advanced ecommerce (ec.js) from google analytics, I send the following data with a transaction.
/* собираем информация о всех товарах в корзине */
$(cartTable).find('tbody tr').each(function(index, element){
ga("ec:addProduct", getProductInfo(element));
});
/* собираем информацию о транзакции */
ga('ec:setAction', 'purchase', getPurchaseInfo());
/* отправляем данные */
ga("send", "pageview");
ga(ec:addProduct,{name: "Аппарат точечной сварки ALUPLUS 6100 + набор аксессуаров", price: 100620});
ga(ec:addProduct,{name: "Аппарат точечной сварки DIGITAL PLUS 5500 + набор аксессуаров", price: 73150});
ga(ec:setAction, purchase, {id: "3d609f1e-9139-4f55-aba1-ad76ada2a488", tax: 27064.07, revenue: 177420});
ga(send, pageview);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question