Use your own paywall
How to use your own paywall within Purchasely environment.
Last updated
Was this helpful?
How to use your own paywall within Purchasely environment.
Last updated
Was this helpful?
The feature described in this section is supported on the following versions and above:
iOS: 3.5.0
Android: 3.5.0
ReactNative: 2.5.0
Cordova: 2.5.0
Flutter: 1.5.0
It could sound weird to use your home made paywall in a No Code paywall environment but it is indeed very useful to:
A/A test your paywall against the same one implemented using Purchasely's template
Test your existing paywall against one of our No Code paywall and run tests to beat your reference
Easily deploy infrastructure without changing your UI
The directly returns a piece of UI but to be able to make both your paywall alongside with Purchasely's paywalls you will need to proceed differently. First, you must in our console along with the plans you wish to offer on your paywall if you want to do
Then you will need to fetch the paywalls and therefore you won't be able to directly display a screen returned by Purchasely.
You will have to first fetch the paywall then check whether you should display your own paywall or display the provided paywall.
Then call clientPresentationDisplayed(presentation)
when your paywall is displayed and clientPresentationClosed(presentation)
when your paywall is closed.
These steps are mandatory for Purchasely to compute conversion on your paywall and measure the performance of A/B tests.
You can of course do the purchase transaction from your own paywall with Purchasely by using Purchasely.purchase(plan)
, more information