handleDeepLink()
A function that handles deep links and triggers paywalls based on configured campaigns.
Configure deep link campaigns on the Superwall dashboard by adding the deepLink
event to a campaign trigger.
Deep link events are also tracked via SuperwallEvent.deepLink
and sent to your SuperwallDelegate
.
Purpose
Processes a deep link URL and triggers any associated paywall campaigns configured on the Superwall dashboard.
Signature
Parameters
Name | Type | Description |
---|---|---|
url | URL | The deep link URL to process for paywall triggers. |
Returns / State
This function returns Void
. If the URL matches a campaign configured on the dashboard, it may trigger a paywall presentation.
Usage
In your SceneDelegate or AppDelegate:
iOS 13+ SceneDelegate:
Legacy AppDelegate:
How is this guide?