Skip to main content
Version: 3.0

Design paywall with 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.

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

  1. 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

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:

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.

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.