Product

Discount codes

A viewer can type SARAH10 at the paywall even when they opened the app without the tracking link. With Tap App Link that customer belongs to Sarah.

Attribution and discounts from one code

  1. Attribute. applyCode() attaches the customer to the creator who owns that code, even if trackInstall() missed the click.
  2. Present the deal. getOffer() returns the billing offering id so you show the offering that creator is tied to.
await TapAppLink.applyCode("SARAH10");
const offer = TapAppLink.getOffer();

How to set one up

  1. Create or open a creator.
  2. On Discounts, add a code (Pro and Scale). Paste the billing offering, placement, or paywall id your paywall already uses.
  3. In RevenueCat (or Adapty / Superwall / Qonversion), create the matching offering so billingOfferId is a real identifier.
  4. After trackInstall() or applyCode(), present that offering.

SDK surface

MethodWhat it does
getOffer()Last offer from a match or redeem: creator name, promo code, billingOfferId.
applyCode(code)POST /redeemCode. Attributes the current customer to that creator and refreshes getOffer().

Agent walkthrough: Setup with an agent.