2014-11-04 22:17
Please help with deploying Analytics ecommerce. I do not know where I can find: product name, unit price and Quantity. Thank you for your help
<script src="http://www.google-analytics.com/ga.js" type="text/javascript"></script> <script type="text/javascript"> var pageTracker = _gat._getTracker("UA-XXXXXXX-X"); pageTracker._initData(); pageTracker._addTrans( "<?php echo $aOrder [ 'iOrder' ]; ?> ", // Order ID "", // Affiliation "<?php echo $oOrder -> aOrders [ $iOrder ][ 'sOrderSummary' ]; ?> ", // Total "0", // Tax "<?php echo $oOrder -> aOrders [ $iOrder ][ 'sPaymentShippingPrice' ]; ?> ", // Shipping "<?php echo $aOrder [ 'sCity' ]; ?> ", // City "CZ", // State "CZ" // Country ); </script> <script type="text/javascript"> pageTracker._addItem( "<?php echo $aOrder [ 'iOrder' ]; ?> ", // Order ID "", // SKU "????????", // Product Name "", // Category "????????", // Price "????????" // Quantity ); pageTracker._trackTrans(); </script>
» Quick.Cart v6.x 2014-11-04 22:22
Addition: The code is deployed in "order-step-3.php"
2014-11-06 19:58
Hi, nobody has any advice? thx
2014-11-07 11:59
Hi, unfortunately this function is not so simple to implement. So I suggest to contact one of the opensolution partners to make such a modification. http://opensolution.org/opensolution-partners.html
DEHA 2014-11-07 15:12
Thank you. And this feature is included in the paid version?