Skip to content

Promo offers and offer codes in paywalls #1054

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 3 additions & 10 deletions docs/tools/paywalls/creating-paywalls/customer-states.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,11 @@ To configure your paywall for dark mode:
You can also click the sun/moon icon to switch between light and dark mode as you're working with each property.
:::

## Intro offer eligibility
## Offer eligibility

All text fields can be configured to have unique strings based on whether the customer viewing the paywall is or is not eligible for an introductory offer.
All text fields can be configured to have unique strings based on whether the customer viewing the paywall is or is not eligible for an introductory offer or promotional offer (App Store only)

To configure a custom string for a text component based on intro offer eligibility:

1. Click on the text component in the Layers panel you'd like to configure
2. Click the `+` icon next to `Text field for an introductory offer` to expand that property and enter a custom string

:::tip Play Store Offers
On the Play Store, customers may be presented multiple offers to begin their subscription. If that's the case for your app, use the `Play Store only: Text field for multiple introductory offers` property to configure a custom string for those customers, and consider using the secondary offer variables to reference the correct price and duration of the second offer if needed.
:::
To learn more about how to configure your paywall to support offers, [click here](/tools/paywalls/creating-paywalls/supporting-offers).

## Selected state of packages

Expand Down
69 changes: 69 additions & 0 deletions docs/tools/paywalls/creating-paywalls/supporting-offers.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
---
title: Supporting offers
slug: supporting-offers
hidden: false
---

If you're providing offers to your customers such as introductory offers, offer codes, or promotional offers; you can configure your paywall to support them.

## Introductory offers

When a product on the App Store or Play Store has an introductory offer attached to it, it'll be automatically offered to customers who are eligible for it when they attempt a purchase. To ensure the content of your paywall also correctly reflects that offer and highlghits its benefits, all text fields can be configured to have unique strings based on their eligibility for the introductory offer on the selected package.

To configure a custom string for a text component based on intro offer eligibility:

1. Click on the text component in the Layers panel you'd like to configure
2. Click the `+` icon next to `Text field for an introductory offer` to expand that property and enter a custom string

:::tip Play Store Offers
On the Play Store, customers may be presented multiple offers to begin their subscription. If that's the case for your app, use the `Play Store only: Text field for multiple introductory offers` property to configure a custom string for those customers, and consider using the secondary offer variables to reference the correct price and duration of the second offer if needed.
:::

## Offer codes (App Store only)

If you're providing offer codes to your customers, you can configure your paywall to support them by adding a button component to your paywall that is set to navigate to the offer code redemption sheet.

![Offer code](/docs_images/paywalls/paywalls-offer-code.png)

When a customer taps on an offer code redemption button, iOS's native offer code redemption sheet will be presented for them to enter and accept the offer. To learn more about how to configure offer codes, [click here](https://www.revenuecat.com/docs/subscription-guidance/subscription-offers/ios-subscription-offers#offer-codes).

## Promotional offers (App Store only)

### Adding a promotional offer

If you're providing promotional offers to your customers on the App Store, you can configure your paywall to support them by adding the promotional offer identifier to each package component.

On each package component, there is an `App Store only: Promotional offer identifier` property that can be set to the identifier of the promotional offer you'd like to support. This maps to the **Promotional Offer Identifier** field in App Store Connect when you create a promtional offer.

![Promotional offer](/docs_images/paywalls/paywalls-promotional-offer.png)

To learn more about how to create promotional offers, [click here](https://www.revenuecat.com/docs/subscription-guidance/subscription-offers/ios-subscription-offers#promotional-offers).

:::warning Play Store offers
Play Store offers are not yet supported on Paywalls, but are on our roadmap for future support.
:::

### How eligibility is determined

Any customer you display a paywall with a promotional offer to will be eligible for that offer if they've made a prior purchase before. This eligibility is determined by Apple's promotional offer system.

:::tip Use Targeting to customize paywall delivery
To control which customers see that offer, then, consider using Targeting; where you can modify which paywall is shown to different customer audiences by Custom Attributes, different paywall Placements, and more. [Learn more](/tools/targeting).
:::

### Customizing content based on promotional offer eligibility

When the promotional offer identifier is set on a package, we'll check if the customer seeing that paywall is eligible for the promotional offer. If they are, we'll show the promotional offer text fields for each text component where they're configured, so that you can use a unique string to describe the price & offer.

:::tip Offer variables
When a customer is eligible for a promotional offer, the variables prefixed with `offer_` will represent the details of that offer, and should be used in the promotional offer text fields to describe the offer. Those same variables should be used in the introductory offer text field as well.

If the customer is eligible for a promotional offer, that offer will take precedence over the introductory offer.
:::







1 change: 1 addition & 0 deletions sidebars.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ const paywallsCategory = Category({
Page({ slug: "web-purchase-button" }),
Page({ slug: "variables" }),
Page({ slug: "localization" }),
Page({ slug: "supporting-offers" }),
Page({ slug: "customer-states" }),
Page({ slug: "app-review" }),
],
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.