Design paywall with remote config

Unlock precise customization of paywalls using custom JSON payloads with Paywall Remote Config

The Paywall Remote Config is a powerful tool that provides flexible configuration options. It allows the use of custom JSON payloads to tailor your paywalls precisely. With it, you can define various parameters such as titles, images, fonts, colors, and more, ensuring that the overall size remains within 10 KB per language.

Before you start customizing a paywall (Click to Expand)
  1. Create a product.
  2. Create a paywall and add the product to it.

To start customizing a paywall using the remote config:

  1. Open the Products and Paywalls section in the Adapty main menu and click the Paywall tab to open it.

  2. Click the 3-dot button next to the paywall and select the Edit option.

  3. In the opened Paywalls/ Your paywall page, switch to the Remote config tab.

Remote config has 2 views:

Both the Table and JSON views include the same configuration elements. The only distinction is a matter of preference, with the sole difference being that the table view offers a context menu, which can be helpful for correcting localization errors.
You can switch between views by clicking on the Table or JSON tab whenever necessary.

Whatever view you've chosen to customize your paywall, you can later access this data from SDK using theremoteConfig or remoteConfigString properties of AdaptyPaywall, and make some adjustments to your paywall. Here are some examples of how you can use a remote config.

{
    "screen_title": "Today only: Subscribe, and get 7 days for free!"
}

# Test titles or others texts
{
    "background_image": "https://adapty.io/media/paywalls/bg1.png"
}

# Test images on your paywall
{
    "font_family": "San Francisco",
    "font_size": 16
}

# Test fonts
{
    "subscribe_button_color": "purple"
}

# Test colors of buttons, texts etc.
{
    "photo_gallery": "https://adapty.io/media/paywalls/link-to-html-snippet.html"
}

# Any HTML code that can be displayed on the paywall
{
    "hard_paywall": true
}

# By setting it to true, you disalow skipping paywall without subscribing
# You have to handle this logic in your app
{
    "title": {
        "en": "Try for free!",
        "es": "¡Prueba gratis!",
        "ru": "Попробуй бесплатно!"
    }
}

You can combine different options, and make up your own. This way you can test different titles, texts, images, fonts, colors, and so on.

JSON view of the remote config

In the JSON view of the remote config, you can enter any JSON formatted data up to 10 kB per language:

Adapty paywall remote config

Table view of the remote config

If it's not common for you to work with code and there is a need to correct some values of the JSON, Adapty has the Table view for you.

Table view of the remote config

Table view of the remote config

It is a copy of your JSON in the format of a table that is easy to read and understand. Color coding helps to recognize different data types.

To add a key, click the Add raw button. We automatically check the values and types mapping and show an alert if your corrections may lead to an invalid JSON.

Additional raw options are mostly useful for paywall localisations:

Now it's time to create a placement and add the paywall to it. After that, you can display your remote config paywalls in your mobile app.