SuperwallEvent
A sealed class representing analytical events that are automatically tracked by Superwall.
These events provide comprehensive analytics about user behavior and paywall performance. Use them to track conversion funnels, user engagement, and revenue metrics in your analytics platform.
Common events to track for conversion analysis include TriggerFire
, PaywallOpen
, TransactionStart
, and TransactionComplete
.
Purpose
Represents internal analytics events tracked by Superwall and sent to the SuperwallDelegate
for forwarding to your analytics platform.
Signature
Parameters
Each event contains associated values with relevant information for that event type. Common parameters include:
paywallInfo: PaywallInfo
- Information about the paywallproduct: StoreProduct
- The product involved in transactionsurl: String
- Deep link URLsattributes: Map<String, Any>
- Device or user attributes
Returns / State
This is a sealed class that represents different event types. Events are received via SuperwallDelegate.handleSuperwallEvent(eventInfo)
.
Usage
These events are received via SuperwallDelegate.handleSuperwallEvent(eventInfo)
for forwarding to your analytics platform.
How is this guide?