Skip to main content

Variables

For some Paywall strings you may want to set values based on the package that’s being displayed instead of hardcoding a single value, such as when quoting a price, or describing the duration of an Introductory Offer.

To make this easier and ensure accuracy, we recommend using Variables for these values that are package-specific.

For example, to describe a trial that offers "1 week free", you should use the {{ product.offer_period_with_unit }} variable to insert 1 week to ensure the string is accurate for any product you use, even if you make changes to the product or its introductory offer in the future.

We support the following variables:

VariableWeekly ExampleMonthly Example2 Month Example3 Month Example6 Month ExampleAnnual ExampleLifetime Example
product.price$2.99$9.99$17.99$24.99$39.99$69.99$119.99
product.price_per_period$2.99/week$9.99/month$17.99/2 months$24.99/3 months$39.99/6 months$69.99/year$119.99
product.price_per_period_abbreviated$2.99/wk$9.99/mo$17.99/2mo$24.99/3mo$39.99/6mo$69.99/yr$119.99
product.price_per_day$0.43$0.33$0.30$0.28$0.22$0.19$119.99
product.price_per_week$2.99$2.50$2.25$1.92$1.54$1.35$119.99
product.price_per_month$11.96$9.99$9.00$8.33$6.67$5.83$119.99
product.price_per_year$155.48$119.88$107.94$99.96$79.98$69.99$119.99
product.periodweekmonth2 months3 months6 monthsannuallifetime
product.period_abbreviatedwkmo2mo3mo6moyrlifetime
product.periodlyweeklymonthly2 months3 months6 monthsannuallylifetime
product.period_in_days7306090180365nan
product.period_in_weeks148131352nan
product.period_in_months0123612nan
product.period_in_years000001nan
product.period_with_unit1 week1 month2 months3 months6 months1 yearlifetime
product.currency_codeUSDUSDUSDUSDUSDUSDUSD
product.currency_symbol$$$$$$$
product.offer_price$1.99$1.99$1.99$1.99$1.99$1.99nan
product.offer_price_per_day$0.07$0.07$0.07$0.07$0.07$0.07nan
product.offer_price_per_week$0.50$0.50$0.50$0.50$0.50$0.50nan
product.offer_price_per_month$1.99$1.99$1.99$1.99$1.99$1.99nan
product.offer_price_per_year$23.88$23.88$23.88$23.88$23.88$23.88nan
product.offer_periodweekweekweekweekweekweeknan
product.offer_period_abbreviatedwkwkwkwkwkwknan
product.offer_period_in_days777777nan
product.offer_period_in_weeks111111nan
product.offer_period_in_months000000nan
product.offer_period_in_years000000nan
product.offer_period_with_unit1 week1 week1 week1 week1 week1 weeknan
product.offer_end_dateDecember 31, 2024December 31, 2024December 31, 2024December 31, 2024December 31, 2024December 31, 2024nan
product.secondary_offer_price$2.99$2.99$2.99$2.99$2.99$2.99nan
product.secondary_offer_periodweekweekweekweekweekweeknan
product.secondary_offer_period_abbreviatedwkwkwkwkwkwknan
product.relative_discount19%19%19%19%19%19%19%
product.store_product_namePro AccessPro AccessPro AccessPro AccessPro AccessPro AccessPro Access
⚠️Variable preview values

The paywall preview is generated using our example values for each package listed above, and therefore will differ from the actual values for the product's you choose to present on your paywall.

To see a more accurate preview, we recommend running your application on your physical device or in the simulator, as this will present details based on the actual information for the products you're displaying on that device.