Track Cart
To track the contents of an in-app shopping cart, use the trackCartContents method.
For more information about using this method with Einstein Recommendations, see Salesforce Help: Track Items in Cart.
For SDK version 10 and later, use this example.
For SDK version 8, use this example.
For SDK version 7, use this example.