Observer Mode
Use Observer mode to report purchases made outside of Superwall so they'll appear in your dashboard. Available for iOS and Android.
If you wish to make purchases outside of Superwall's SDK and paywalls, you can use observer mode to report purchases that will appear in the Superwall dashboard, such as transactions:

This is useful if you are using Superwall solely for revenue tracking, and you're making purchases using frameworks like StoreKit or Google Play Billing Library directly. Observer mode will also properly link user identifiers to transactions. To enable observer mode, set it using SuperwallOptions
when configuring the SDK:
There are a few things to keep in mind when using observer mode:
- On iOS, if you're using StoreKit 2, then Superwall solely reports transaction completions. If you're using StoreKit 1, then Superwall will report transaction starts, abandons, and completions.
- When using observer mode, you can't make purchases using our SDK — such as
Superwall.shared.purchase(aProduct)
.
For more on setting up revenue tracking, check out this doc.
How is this guide?
Custom Paywall Actions
You can set the click behavior of any element on a paywall to be a custom paywall action. This allows you to tie any tap in your paywall to hard-coded application logic.
Purchasing Products Outside of a Paywall
If you wish to purchase products directly on iOS and Android, use our SDK's `purchase` methods.