Paywall Smart Text

Create customized messaging on your paywall with smart text variables.

Paywall Smart Text is a set of features that allow you to insert variables that are determined at the time the paywall is displayed to your user.

This capability allows for more flexibility to articulate, personalize, and contextualize your paywall messaging.

Smart Text Enabled Fields

The following fields on Nami Paywalls support Smart Text variables.

  • Title
  • Body
  • Purchase Terms

Smart Text is also supported on the purchase buttons on the paywall. These fields can be found on the Product SKU

  • Display Text
  • Sub Display Text

For paywalls created with the Nami Paywall Creator, the Display Text is shown on the button itself and the Sub Display Text is displayed immediately beneath the button on the paywall background.

In Linked Paywalls, you may use these fields in any way that works with your paywall design.

📘

Smart Text Syntax

The syntax for all smart variables is ${variable_name}. Just write this into any of the supported fields.

When you check your paywall in the a simulator or on device, you'll see the Smart Text replaced with the appropriate values.

List of Smart Text Variables

Product SKUs

All the variables in this category deal with Product SKU. Product SKUs can be tricky to work with because they have to be localized to the user's language and currency. Our Smart Text variables help you easily handle these situations.

📘

Localization

Prices and currencies need to be localized for your users so they correctly understand what they are going to be billed.

Our SDKs handle this localization and our Product SKU Smart Text variables enable you to show the localized text to your users.

One-Time Purchases

One-time purchase SKUs are very simple and only have a price. You can insert the price on your paywall with ${sku.price}.

Subscriptions

Subscription SKUs are a bit more complex. There are a few distinct time periods in the lifecycle of a subscription. These include:

  • Free Trial
  • Introductory Pricing Period
  • Regular Recurring Billing Period

The table below outlines the information available in each period of the subscription lifecycle.

PriceDurationSmart Text Includes
Free Trial✔️freeTrial
Introductory Price Period✔️✔️introductory
Regular Recurring Billing Period✔️✔️

Working with Time Periods

Time periods can be tricky. We support multiple different Smart Text variables to give you the flexibility to craft your messaging.

In particular there are 4 different Smart Text variables related to the length of a subscription:

  • duration
  • durationSingular
  • period
  • periodNumber

Let's look at how these work with a concrete example. Suppose our SKU has a Free Trial that lasts 3 days.

Time PeriodValue
duration3 days
durationSingular3 day
periodday
periodNumber3

All SKU Smart Text variables

Here's the full list of SKU Smart Text variables

  • ${sku.duration}
  • ${sku.durationSingular}
  • ${sku.period}
  • ${sku.periodNumber}
  • ${sku.price}
  • ${sku.freeTrialDuration}
  • ${sku.freeTrialDurationSingular}
  • ${sku.freeTrialPeriod}
  • ${sku.freeTrialPeriodNumber}
  • ${sku.introductoryDuration}
  • ${sku.introductoryDurationSingular}
  • ${sku.introductoryPeriod}
  • ${sku.introductoryPeriodNumber}
  • ${sku.introductoryPrice}

Multiple SKUs

The SKU button always references a single SKU. However, the Title, Body, and Purchase Terms may reference multiple SKUs if you are selling 2 or more different SKUs on a single paywall.

Smart Text supports a 1-indexed array notation for all fields that may refer to multiple SKUs. The syntax is ${sku.#.<variable>}. The SKU number is always based on the order of the SKUs you have set in the Control Center for the paywall.

Examples:

  • ${sku.1.price} - The price of the 1st SKU on the paywall
  • ${sku.2.duration} - The duration of the 2nd SKU on the paywall

📘

Title, Body, and Purchase Terms must use array notation for SKU Smart Text variables, even if there is only 1 SKU on the paywall.

📘

The value of ${sku.1.price} will change if you re-order the SKUs on the paywall.

Setting SKU Button Text

Through the Nami Control Center, you can configure the text displayed on the SKU purchase button on the paywall, called the Display Text as well as an optional text field that displays beneath the purchase button, the Sub Display Text.

These fields can be found on the SKU Detail Page.

  1. Navigate to the Products section of the Control Center.
  2. Click the Edit button for a SKU.
  3. Edit the Display Text and Sub Display Text fields on the detail screen using any of the Smart Text Variables described above.
1344 1344

Checking Correctness

Many smart text variables require data that are only available on device. The paywall preview in the Control Center will always show the variable names instead of the values in these situations.

Be sure to check your paywall in the iOS simulator, Android emulator, or an on-device build. If any variables are still showing with the ${name} syntax, please check that the variable name is correct in the Control Center.

Examples

Below are a few examples of ways you can configure a paywall using our Smart Text features. In all the examples, you see the Paywall Previewer from the Nami Control Center on the left with the Smart Text variables, and on the right, the same paywall on a simulator with the inserted variables.

Promoting your Free Trial

1072

Add Product Names

896

More Detail on SKU Terms

847

Detailed Purchase Terms

826