Google Tag Manager
price is showing - price: 367.01, quantity: 1, it should display 343.00. It's including Tax.
Transaction total is showing 'transactionTotal': 403.81, it should be 343.00. Transaction total includes Tax and Delivery Charges.
Example:
Product amount: 343.00
Delivery Charges: 34.39
Tax: 26.42
Total amount: 403.81
Google Tag manger Datalayer:
<script>
window.dataLayer = window.dataLayer || [];
var order_product_list = [];
order_product_list.push(
{ id: '329', price: 367.01, quantity: 1 }
);
dataLayer.push({
'PageType':'OrderCompletedPage',
'PageUrl':'https://hrdirect.crqa.inet/checkout/completed/',
'email': 'iwall@complyright.com',
'value': '403.81',
'currency': 'USD',
'orderid': 968,
'ProductIDList': order_product_list
});
dataLayer.push({
'storename': 'HRdirect | Smart Solutions to Help Solve Your HR Tasks',
'transactionId': '968',
'transactionTotal': 403.81,
'transactionTax': 26.42,
'transactionShipping': 36.80,
'transactionProducts': [
{ 'sku': '329', 'name': 'Forklift Training Set Bilingual', 'category': 'Safety Training', 'price': 367.01, 'quantity': 1 }
]
});
Thank you.