Tracking Add to Cart & Items Added to the Cart

On my site, when a customer adds an item to the shopping cart or modifies the contents of the shopping cart, the shopping cart page is loaded. Is it sufficient to simply display a piwikTracker.setEcommerceView() block for each item in the shopping cart whenever the shopping cart page is loaded?