You are here

orderConfirmation

Used by the following Containers: 
The favorite moment !!! The Full Receipt of the order with its orderVariables and the full content of the products purchased.
	// the santianoEcommerce in case of a orderConfirmation
dataLayer.push({
    'event': 'santianoEcommerce',
    'eventCommand': 'orderConfirmation',
    'currencyCode': 'EUR', 

  // orderConfirmation specific variables
    'orderID': '1234569-ABCDEFG', // string - the ID of the Order
    'orderRevenue' : '695.00', // floating number - The Revenue of the order
    'orderTax' : '579.17', // floating number - Tax for that order
    'orderShippingCost' : '15.00', // floating number - The Cost of shipping
    'orderShopName' : '[orderShopName]', // string - 
    'orderCoupon' : '[orderCoupon]', //  string - The Coupons used for that order

// here is the standard ProductList of each individual productObject:
    'productList': [{
        'productName': '[productName]', // string -The unique Name of that product
        'productID': '[productID]', // string- The product unique ID
        'productUnitPrice': '19.99', // floating - the price of that product
        'productCategory1' : '[productCategory1]', // string - 
        'productCategory2' : '[productCategory2]', // string -
        'productCategory3' : '[productCategory3]', // string -
        'productCategory4' : '[productCategory4]', // string -
        'productCategory5' : '[productCategory5]', // string -
        'productBrand': '[productBrand]', // string - Brand of the product
        'productVariant': '[productVariant]', // string - 

        // how many products are puchased ???
        'productQuantity': 1 // The quantity of product
  },
  {
       // and so on if there are multiple products.
  }]
  
});