In the Reports under events I can detect that the purchase event is being sent successfully, however the total revenue portion appears at 0.00.
The project was developed in angular and I am using the angulartics2 library. All the other events are being reported.
The code that is being sent is:
let galayer:any = [];
galayer.push({
'item_id': this.cart[index].iditem,
'item_name': desc,
'price': pval,
'item_brand': brand,
'quantity': this.cart[index].quantity,
'item_category': cat,
'item_variant': color
});
this.angulartics2.eventTrack.next({
action: 'Purchase',
properties: {
label: 'Purchase',
currency: "EUR",
content_type: 'product_group',
value: obj.total,
"event":"Purchase",
gtmCustom:{
'ecommerce': {
'click': undefined,
'add': undefined,
'checkout': undefined,
'detail': undefined,
'impressions': undefined,
'remove': undefined,
'purchase': {
'actionField': {'transaction_id': obj.number, 'currency': 'EUR', 'shipping':this.shippingTotal,'value':obj.total}, // 'detail'
'items': galayer,
}
}
}
}
});