Ecommerce tracking in Google Analytics allows you to measure transactions and revenue from your website. The first step is enabling ecommerce tracking in Analytics. You then add the ecommerce tracking code to your site, which involves sending transaction data like the ID, revenue, and shipping when a purchase occurs, as well as item data for each item purchased like the ID, name, price, and quantity. Proper implementation also involves loading the ecommerce plugin and sending the data.