Hello,
I have setup e-commerce tracking on my website. Ecommerce Overview and Order List is working, but Abandoned Carts, Products and Products in abandoned carts is not working(Screenshot by Lightshot).
All the required data is getting fetched from my WordPress website: Screenshot by Lightshot
Here is the code of Tag Manager:
<script>
var _paq = _paq || [];
var products = {{ products }};
products.forEach(function(product){
_paq.push(["addEcommerceItem",product.sku, product.name,product.category, product.price, product.quantity])
});
_paq.push(["trackEcommerceOrder",{{order_id}}, {{subtotal}}, {{tax}}, {{shipping}}, {{discount}}]);
</script>
Please, suggest me if I’m missing something here.
Regards,
Mihir Jadi