Marketing Cloud SDK / com.salesforce.marketingcloud.analytics / AnalyticsManager / trackCartConversion

trackCartConversion

abstract fun trackCartConversion(@NonNull order: PiOrder): Unit

PI Analytics Convenience method to track a purchase.

Parameters

order - PiOrder: represents the cart items and associated meta data. The PiOrder must contain at least 1 PiCartItem in PiCart#cartItems.