Paywall

Paywall is a set of Products. It's used for configuring paywalls in the app.

Products

While creating a Paywall the only thing needed is to choose one or several products that will be displayed in the app.

Paywall configured in Adapty interface without coding. To show the paywall in the application you need to set up an A/B Test.

You can have as many Paywalls as you need with the different products:

  • Consumable products e.g. Pack of coins

  • Non-consumable products e.g. New level unlock

  • Subscriptions e.g. Monthly, yearly, lifetime

Custom payload

If you'd like to further customize your paywall, a custom payload may be useful to you. You can enter any JSON formatted data up to 0.5 kB (soft limit, you can increase it by contacting support). You can access this data from SDK using customPayload property of PaywallModel , and make some adjustments to your paywall. Here are some examples of how you can use custom payload.

Titles
Images
Fonts
Color
HTML
Soft/Hard Paywall
Titles
{
"screen_title": "Today only: Subscribe, and get 7 days for free!"
}
# Test titles or others texts
Images
{
"background_image": "https://adapty.io/media/paywalls/bg1.png"
}
# Test images on your paywall
Fonts
{
"font_family": "San Francisco",
"font_size": 16
}
# Test fonts
Color
{
"subscribe_button_color": "purple"
}
# Test colors of buttons, texts etc.
HTML
{
"photo_gallery": "https://adapty.io/media/paywalls/link-to-html-snippet.html"
}
# Any HTML code that can be displayed on the paywall
Soft/Hard Paywall
{
"hard_paywall": true
}
# By setting it to true, you disalow skipping paywall without subscribing
# You have to handle this logic in your app

You can combine different options, and make up your own.

This way you can test different titles, texts, images, fonts, colors, and so on.