I need to pass some order details to our new tracking software in order to track popular products and order totals by channel, campaign etc.
I need to add some javaScript to the order confirmation page but I do not know which variables to use to display the following;
Product ID - Stock Code
Qty
Product Price
I also need to pass the delivery and VAT info
I have included the javascript provided by the tracking solution provider - Nedstat
Many thanks
I need to add some javaScript to the order confirmation page but I do not know which variables to use to display the following;
Product ID - Stock Code
Qty
Product Price
I also need to pass the delivery and VAT info
I have included the javascript provided by the tracking solution provider - Nedstat
Code:
<!-- Begin Sitestat4 E-commerce code --> <script language='JavaScript 1.1' type='text/javascript' src='/sitestat_ecommerce.js'></script> <script> ns_myOrder = new ns_order('http://uk.sitestat.com/bigdug/bigdug/s?homedirectory.directory.pagename', 'ns_client_id','ns_order_id'); ns_myOrder.addLine('ns_prod_id','ns_brand','ns_prod_grp','ns_shop',ns_qty,ns_prod_price); ns_myOrder.sendOrder() </script> <!-- End Sitestat4 E-commerce code -->
Comment