A track event is a named event that you've defined. Adding a track event is useful if you want to be able to be alerted (see Alerts) or search for sessions where the user has done an action.
You'd like to see what users are doing that cause them to open the shopping cart. In your app, you'll add H.track():
See the H.track() API documentation for more information on how to use it.