Tags
This section provides details about the Price Tags available in the Screen & Paywall Builder
What are tag used for?
Purchasely has a tagging system to fetch information about the price and duration of subscriptions and one-time purchases, as well as the Introductory Offer (for user acquisition) and Promotional Offer (winback/retention) prices and durations.
Thanks to these tags, you don't have to hard code price for each and every stores in your screens and paywalls.
Using these tags will also ease to make your paywall compliant with the App Store Guidelines.
You should be transparent about the plan price in your Paywalls. If you have any introductory offer or promotional offer, you should mention how much the user will pay after the offer ended.
Where can you use tags?
Tags can be used in any label on a Screen. You can add them by simply clicking on the {{TAGS}} inside the text field.
You can also directly type them in plain text. To do so, put the name of the tag between 2 pairs of curly brackets. Eg: {{PRICE}}
What are the options when using tags?
You can use 2 types of tags.
-
Tags with no parameters refer to the Plan directly mapped with the parent element (eg: the picker to which the text belongs or the purchase button) or to the default Plan configured for this Screen. To use this kind of tags, simply click on the blue button inside the widget.
=> This way, if you change the Plan associated with the button / picker (or run an Price A/B test), you won't need to update the tag.
-
Tags with parameters are mapped with a specific Plan. They appear with the reference of the Plan selected between brackets. If you want to use them, simply select the desired Plan in the widget.
They can be used to reference another Plan in a picker or button than the one which it is mapped with, or to associate a Plan which is not the default one.

The strikethrough price is a reference to another Plan than the one associated with the picker
Why does the preview display a$XX.XXinstead of the actual price?In some cases, tags cannot be displayed properly in the preview of the Console. They are replaced by XX.XX
The reason is that the Purchasely Console is not directly interfaced with the App stores. Therefore, it can only know the price of a SKUs in each territory once a transaction has been processed or observed by the Platform.
As soon as it is the case, the XX.XX will be replace by the actual price in the appropriate currency. Eg: $9.99
Be reassured however, the SDK fetches the information directly from the App stores, and therefore always displays the correct price, in the appropriate currency (the one from the user's App store territory).
Types of tags
General tags:
These tags are most common tags that used in all the paywalls. Purchasely checks if your paywall has either the PRICE tag or AMOUNT/DURATION or AMOUNT/PERIOD tag in the purchase buttons.
Tag | Usage | Example |
|---|---|---|
| Displays the plan price with the period. | For a renewing plan: For consumables / non-consumables : |
| Displays the plan price. | For a renewing plan: The output will be: For consumables / non-consumables : The output will be: |
| Displays the period of the plan. | For a renewing plan: The output will be: |
| Displays the duration of the plan. | For a renewing plan:
|
Duration tags
These tags help you display the subscription duration in days, weeks , months and etc.
Name | Usage | Example |
|---|---|---|
| Displays the subscription duration in days. | For a renewing plan:
|
| Displays the subscription duration in weeks. | For a renewing plan:
|
| Displays the subscription duration in months. | For a renewing plan:
|
| Displays the subscription duration in quarters. | For a renewing plan: The output will be: |
| Displays the subscription duration in years. | For a renewing plan: The output will be: |
Subscription cost per duration tags
These tags helps you to display subscription cost per day, week or month and etc. They are convenient to compare together several plans with different periodicities.
E.g.: compare the monthly price of a yearly subscription with a monthly subscription.
Name | Usage | Example |
|---|---|---|
| Displays the cost of a plan per day. | For a renewing plan:
|
| Displays the cost of a plan per week. | For a renewing plan: The output will be: |
| Displays the cost of a plan per month. | For a renewing plan:
|
| Displays the cost of a plan per quarter. | For a renewing plan: The output will be: |
| Displays the cost of a plan per year. | For a renewing plan:
|
| Displays the cost of the Introductory Offer or Promotional Offer of a Plan per day. | For a renewing plan:
|
| Displays the cost of the Introductory Offer or Promotional Offer of a Plan per week. | For a renewing plan: The output will be: |
| Displays the cost of the Introductory Offer or Promotional Offer of a Plan per month. | For a renewing plan:
|
| Displays the cost of the Introductory Offer or Promotional Offer of a Plan per quarter. | For a renewing plan: The output will be: |
| Displays the cost of the Introductory Offer or Promotional Offer of a Plan per year. | For a renewing plan:
|
Price & Percentage comparison tags
These tags comes handy for your to calculate percentage difference and the price difference between 2 different plans and show them automatically in the respective currency.
Name | Usage | Example |
|---|---|---|
| Displays the percentage difference between the plan in the purchase button and the plan chosen. | With:
|
| Displays the discount percentage between the actual plan in the purchase button and the plan chosen. | With:
|
| Displays the raise of price in percentage between the actual plan in the purchase button and the plan chosen. | With:
|
| Displays the price difference between the plan in the purchase button and the plan chosen. | With:
|
Offer tags
These tags can be used to display the price and duration of the both introductory/new user acquisition offers and Winback/retention offers you have created in the stores and declared in the Purchasely console.
Tag | Usage | Example |
|---|---|---|
| Displays the winback offer price. | For a winback offer :
|
| Displays the winback offer amount. | For a winback offer :
|
| Displays the winback offer period. | For an extension of a free trial:
|
| Displays the winback offer duration. | For a winback:
|
| Displays the price difference between the discounted offer and the regular price of the plan for the higher duration. | With:
|
| Displays the discount percentage between the discounted offer and the regular price of the plan. | With:
|
Countdown tag
These set of tags are very useful to create dynamic countdowns. You can integrate them in any label of your Screen. 3 different types of Timers are offered:
Timers are not only a simple tag but rather a set of tags composed of different sub-tags (TIMER(MONTHS), TIMER(DAYS), TIMER(MINUTES), TIMER(SECONDS)) that can be manipulated independently.
Depending on the format you associate to the Tag, they will appear in the text field with the following format:
They are actually a composition of several tags. In the case above:
- one for hours
- one for minutes
- one for seconds
By default, the tags are separated by colon (":"). You can replace the colons by any string you want directly in the text field:
For more information and capabilities about Countdowns. have a look at the Countdown component
Updated 10 days ago