Activity Protocol Reference
Activity
A protocol through which user activities can be reported.
productViewed(_:)
Report that the user has viewed a product.
- product: The product being viewed.
Declaration
productAddedToCart(_:)
Report that the user added a product to their cart.
- product: The product added to the cart.
Declaration
cartViewed(_:)
Report that the user viewed their cart.
- products: The list of products in the cart.