Magento Analytics Conversion Tracking
When you do e-commerce sites it’s pretty obvious how to track your conversions – they will appear in sales in the Dashboard! However, sometimes you also get asked to add Google Analytics conversion tracking code just because the client wants all their statistics in one place. So the analytics guy will send through a request asking you to place a specific piece of code on the successful transaction ‘Thank You’ page.
Very easy to do. You need to add an new before_body_end block in the one_page_checkout_success section of checkout.xml in your layouts folder.