In the very least, you need to know how well your products are selling, so we will begin with tracking our sales. This is the base metric of all of our e-commerce tracking data. Your shopping cart itself will give you data on sales, but most shopping carts don't have a way of correlating this with your visitor data the way Piwik can. We will learn the revenue of each product, how many we have sold, and how many unique purchases of that product we have had. If our e-commerce shop has categories, we can track which categories produce sales and which need a little work.
In order to do this, we need to tell Piwik that we made a sale right before we call
. We do this with two steps: