3rd Party Analytics
Superwall can easily be integrated with 3rd party analytics tools.
Hooking up Superwall events to 3rd party tools
SuperwallKit automatically tracks some internal events. You can view the list of events here. We encourage you to also track them in your own analytics by implementing handleSuperwallEvent(withInfo:)
in your SuperwallDelegate
:
Alternatively, if you want typed versions of all these events with associated values, you can access them via eventInfo.event
:
Using events to see purchased products
If your goal is simply to view which product was purchased from a paywall, you don’t need a purchase controller for that (though it can be done in one). If you’re using a SuperwallDelegate
, you can leverage the transactionComplete
event, which provides direct access to the purchased product via product
:
In that example, as soon as a user converts on a paywall, the product identifier will be printed to the console: