You can track your e-commerce transactions by inserting the tracking code on your Thank You or receipt page. This is the page the customer sees after his order has been processed, and typically has a recap of what products were purchased, their price, and the total amount. By placing the tracking code on this page, Google Analytics can catch all these variables and bring them into your Web site analytics reports.
From there, you can incorporate this sales data into your reports on traffic sources and content, as well as visitor information. As was mentioned in the first task of ecommerce tracking (“Set Up E-Commerce Tracking”), having the sales information attached to your visitors and the way they reached your site can prove invaluable. Be cautious about who you show your e-commerce data to. Your top keywords should be kept extremely confidential. The last thing you want to do is tip your competition off on some profitable keywords they may have overlooked.
The variables that are included in the code you place on your receipt page will vary depending on the shopping cart software that you use. If your Webmaster is unsure of the actual variables, check the documentation of your shopping cart software.
Alternatively, if you have a shopping cart that is hosted by a third party, contact the company that hosts your cart and ask the company to identify each of the variables for you. Identifying these variables and implementing them into your tracking code are the most complicated steps of the process because there is no simple, standard solution.