EventTracker
public class EventTracker
Tracks events such as purchases for analytics and segmentation purposes.
Note
Thetrack method should only be called after the SDK is properly initialized. If track is called before SDK initialization, events will be ignored.
-
Tracks a purchase event.
Important
This method should be called only after the SDK has been initialized. If called before initialization, events will be ignored.
Declaration
Swift
public func track(purchase: PurchaseEvent)Parameters
purchaseThe purchase event to track.