SuperwallEvent
An enum 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 case 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: URL
- Deep link URLsattributes: [String: Any]
- Device or user attributes
Returns / State
This is an enum that represents different event types. Events are received via SuperwallDelegate.handleSuperwallEvent(withInfo:)
.
Usage
These events are received via SuperwallDelegate.handleSuperwallEvent(withInfo:)
for forwarding to your analytics platform.
How is this guide?