Google Tag Manager : Advanced



Google Tag Manager : Advanced


Access the video



text

{

event': 'order.confirmation',

``ecommerce'': {

'purchase': {

'actionField': {

'id': order.id, //order number

'affiliation': name, //site name

'revenue': order.total_paid, //price paid

tax': order.total_tax_paid, //tax

shipping': order.total_shipping_paid, //total shipping

},

products': [

{

id': item.id, // unique product number

name': item.name, //product name

'category': item.type, //type : App\Plan, App\Product, App\AddonPlan

'quantity': item.quantity, //quantity

price': item.price //price of the product

},

],

}

}

Updated on: 24/01/2023

Was this article helpful?

Share your feedback

Cancel

Thank you!