Start free
Docs › Stores

Web funnels

A web funnel is a short quiz or onboarding on a web page, ending in your paywall and Stripe Checkout. People come from an ad, an email or your site, answer a few questions, pay on the web, then open the app — the purchase is already on their account.

Payments go to your own Stripe account. Set up Web checkout (Stripe) first and add at least one web product.

Build one

  1. Project → Web funnels → New funnel and pick a starter: fitness quiz, language quiz, sleep quiz, AI assistant, or just a paywall.
  2. Change the steps: Question (one or several answers, with an emoji), Info (a picture and a short text), Email (optional or required). The paywall is always the last step.
  3. On the paywall step choose a design — one of your paywalls, or the simple one in the funnel's colours — and tick the web products it sells. Prices come live from Stripe, in the price's currency.
  4. Under After paying add the app name, the App Store and Google Play links, and the link that opens your app (yourapp:// or a universal link).
  5. Save, check the preview, then set the status to live.

The page lives at https://pay.appwind.ai/f/<project>/<funnel>. A title can repeat an earlier answer: Your {goal} plan is ready.

Getting buyers into the app

After paying, the thank-you page shows an 8-letter code and, on phones, an Open the app button: your open-app link with appwind_code=CODE added. The code is also emailed when the buyer gave an email.

In the app, pass the link or the code to the SDK. The web purchase moves to the current user (sign them in first if your app has accounts), entitlements turn on, and a TRANSFER event goes to your webhooks.

// iOS — in your onOpenURL / universal-link handler
.onOpenURL { url in Task { try? await Purchases.shared.redeemWebPurchase(url: url) } }
// or from a “Redeem a code” field
try await Purchases.shared.redeemWebPurchase(code: "K7QX4M2P")
// Android — from the deep-link intent
lifecycleScope.launch { intent.data?.let { Purchases.shared.redeemWebPurchase(it) } }

Flutter: Purchases.redeemWebPurchase(code). React Native: Purchases.redeemWebPurchase(code). Web: purchases.redeemWebPurchase(code).

A code works once. Used again from the same account it does nothing; from another account it's refused — move the purchase from Customers if a buyer really changed accounts.

Results

Web funnels → Results shows visitors per step (each visitor once per step), checkouts started, buyers, first-payment revenue in USD and how many buyers opened the app. Add ?utm_source=meta (or tiktok, google, email…) to each ad's link to compare sources.

Answers are saved on the customer as attributes named quiz_<step>, so targeting rules, integrations and exports can use them.

Store rules

Selling digital access on the web and unlocking it in the app is allowed by both stores, but each store limits how the app itself may point people to web prices, and the rules differ by country. Keep in-app purchase in the app, and check the current App Store and Google Play guidelines before linking to a funnel from inside the app.