Warning: Your browser is very out-of-date. You should upgrade to a better browser.
A quick and way way to record transactions to Google Universal Analytics.
First add this piece of PHP to your success page at the end of the checkout process. Update the template in magento/app/design/frontend/your/theme/template/checkout/success.phtml. This will retreve the order details…
<?php $order = Mage::getModel('sales/order')->loadByIncrementId($this->getOrderId()); $total = $order->getGrandTotal(); $shipping = $order->getShippingAmount(); $tax = $order->getTaxAmount(); $store = Mage::app()->getStore(); $name = $store->getName(); ?>
Coming soon: How to record individual cart line items as well as the transaction details so product popularity can be monitored.