UnifiedAnalyticsListener

Interface for listening to analytics events related to user interactions and transactions.

Inheritors

Functions

Link copied to clipboard
abstract fun didAddToCart(cart: Cart, products: List<Product>, customAttributes: Map<String, String>)

Called when items are added to a cart.

Link copied to clipboard
abstract fun didPerformActionWith(action: Map<String, String>)

Called when an action is performed by the user.

Link copied to clipboard
abstract fun didTransaction(transaction: Transaction, products: List<Product>, customAttributes: Map<String, String>)

Called when a transaction is completed.

Link copied to clipboard
abstract fun didViewPage(pageView: Map<String, String>)

Called when a page view event occurs.