Pricing
Your paywalls and your plans. Open Convert › Pricing. It has two tabs: Paywalls and Plans & prices.
A paywall in MRRocket is the copy of an upgrade screen: its headline, text and button, for one placement in your app or on your pricing page. MRRocket sends that copy to your app through the tracking code and A/B tests it. Your app draws the paywall itself: the layout, the prices, the buy button and the purchase through the App Store, Google Play, RevenueCat, Adapty or Stripe.
Paywalls#
A gallery: each paywall drawn as a thumbnail (both variants while a test runs), with its product and placement, status (Live, Testing or Draft) and the running test. New paywall creates a draft. A paywall's real numbers are its test's read in Tests.
Show the copy in your app#
Each placement has three text ids: paywall.<placement>.headline, paywall.<placement>.body and paywall.<placement>.cta. The placement's key is its name in snake case: Onboarding end is onboarding_end, Pricing page is pricing_page. A test's Setup card lists the ids it changes.
In a React Native or Expo app (React Native and Expo, tracking code 0.8.0 or newer) read each text with useText and draw it yourself:
import { useText } from "@mrrocket/sdk/react-native";
export function UpgradeScreen() {
const headline = useText("paywall.onboarding_end.headline", "Unlock every style");
const body = useText("paywall.onboarding_end.body", "All styles, no watermark, cancel anytime.");
const cta = useText("paywall.onboarding_end.cta", "Start free trial");
// Your layout, your prices, your buy button.
}Your own words are the fallback: they show until the paywall is published, and on a first start before the config arrives. useText records the person's exposure to a running test, once per screen.
On the web wrap the text in <Text id="paywall.pricing_page.headline">Your words</Text> from @mrrocket/sdk/next, or mark the element with data-ck-text="paywall.pricing_page.headline" when you use the script tag.
Edit and publish#
Edit the copy#
Set the Headline, Text and Button of each variant.
Publish#
Publish sends the first variant's copy to your app in the SDK config (
GET /api/sdk/config). Users get it the next time the app reads the config, without an app update. The product must send events with the tracking code first. Edits after publishing wait for the next Publish.Test a variant#
Add variant, write other copy, then Start test. The test runs in Tests with the variants' traffic split, and each person keeps their variant. Ship this variant ends the test and sends the winner's copy to everyone.
The plans on a paywall, its highlighted plan and Opens on this tracked event describe a one-screen paywall for its picture, for you and for the agent. They do not reach the app: your app shows its own products and prices (StoreKit, Google Play Billing, RevenueCat offerings or Adapty paywalls) and opens the paywall from its own code. A paywall with pages is different: the SDK shows its plans (see below).
Paywalls with pages#
A paywall can have several pages that the tracking code (0.14.0 or newer) shows one after another, for example 1 what you get, 2 what customers say, 3 the plans. Open a variant's Edit and press Show as pages: its headline, text and button become three pages. Each page has a kind (Benefits, Social proof or Plans), a title, an optional text, its benefits or quotes and its button; move them up or down, add up to five or go Back to one screen.
Above each variant's picture the pages are steps: click one, or press ← and →, and every variant shows that page, so you compare them side by side. Under the steps is how many people reached each page in the last 28 days ("4,120 → 2,884 → 2,307 · 56% reach the last page"), so you see where they drop off.
Your app opens it and buys the plan; MRRocket never takes a payment:
import { usePaywall } from "@mrrocket/sdk/react-native";
import Purchases from "react-native-purchases";
const paywall = usePaywall();
await paywall.open("onboarding_end", {
plans: storePlans, // optional: your store's local prices, by the same ids
onPurchase: async (plan) => {
const { customerInfo } = await Purchases.purchasePackage(packages[plan.id]);
return !!customerInfo.entitlements.active.pro;
},
});On the web it is usePaywall() from @mrrocket/sdk/next or mrrocket.paywall.open("pricing_page", { onPurchase }) with the script tag, where onPurchase starts your Stripe Checkout. Each plan's id is what you buy: the store product or the Stripe price MRRocket has for the plan. Returning false from onPurchase (the person cancelled the store sheet) keeps the paywall open; throwing shows "The purchase did not go through".
A test between variants with pages gives each person their variant's pages. A purchase through the paywall counts as the test's Paid conversion, and so does the store's own report of it.
How a paywall test counts#
A person counts for the variant they saw first while the test ran (paused stretches left out). They convert when they reach the goal after that, before the test ends, and only once. A paywall test's goal is Paid conversion, which counts:
- your app's own events whose names start with
purchase,subscription,subscribeorpaid, such astrack("purchase") - the store's purchases, when RevenueCat or Adapty is connected as a revenue source with its webhook on: a paid subscription start, a trial that turns paid and a one-time purchase. MRRocket records each as a
$purchaseevent of the app's user.
A trial start ($trial_started) counts for a trial goal, not for Paid conversion. If your app sends its own purchase event and the store reports the same purchase, the person still converts once. Renewals, cancellations, refunds and sandbox purchases do not count; they stay in Revenue.
Use one user id#
The store reports the purchase with its own user id. It counts for the person the tracking code saw when your app gives the store the same id it gives identify():
import { useMRRocket } from "@mrrocket/sdk/react-native";
import Purchases from "react-native-purchases";
import { adapty } from "react-native-adapty";
const { identify } = useMRRocket();
// When the user signs in:
identify(user.id);
await Purchases.logIn(user.id); // RevenueCat: the appUserID
await adapty.identify(user.id); // Adapty: the customer_user_idCall identify() before the paywall shows if you can. In the default anonymous mode, exposures from before sign-in join the person only when identify() comes the same day.
When the ids do not match, the test's Setup card says so: how many store purchases since the test started have a user id the app never gave identify(), and what to pass to RevenueCat or Adapty.
Plans & prices#
Each plan with its interval, price, trial, paying subscribers and their share. Plans are your prices as your revenue sources report them: Stripe prices, RevenueCat products and the products Adapty's events name. MRRocket reads them and never creates or changes a price. Create or change one in Stripe, App Store Connect, Google Play Console, RevenueCat or Adapty; it shows here after the next sync (for Adapty, with its next event).