创建iOS订阅引导性优惠
复制一个包含安装步骤和此插件的完整Markdown指南的设置提示
简介
无风险试用您的高级功能
- 在承诺之前体验价值
- 简介优惠允许您为合格用户提供免费试用或折扣简介定价,以减少进入障碍并增加订阅转换。
- 从较低的价格点开始
- 建立对产品的信心
优惠类型
优惠类型iOS 支持三种类型的引导性优惠:
1. 免费试用
免费试用客户在指定时间内获得免费试用。试用期结束后,如果客户没有取消,他们将按标准价格收费。
示例:
- 7 天免费
- 14 天免费
- 1 个月免费
最适合:
- 高价值订阅
- 功能丰富的应用
- 培养用户习惯
2. 预付费
标题:2. 预付费客户支付一个折扣价格,这个价格涵盖了引导期。
示例:
- $1.99 2个月(然后 $9.99/月)
- $9.99 3个月(然后 $19.99/月)
最适合:
- 承诺信号
- 流动资金需求
- 测试价格敏感性
3.按需付费
标题:3.按需付费客户在多个计费周期内支付降低的价格。
示例:
- $1.99/月3个月(然后$9.99/月)
- $4.99/月6个月(然后$14.99/月)
适合:
- 逐渐的承诺
- 长期价值展示
- 降低的风险感知
适用条件要求
标题:适用条件要求用户只有在以下情况下才能接收到介绍性优惠:
- 用户没有之前接收过该产品的介绍性优惠
- 用户没有在同一订阅组中接收过任何产品的介绍性优惠
- 用户没有订阅该产品
前提条件
标题:前提条件您必须首先 创建自动续费订阅 在添加引导式优惠之前
创建引导式优惠
标题:创建引导式优惠-
导航至订阅
在 App Store Connect 中,前往您的应用的 “Monetize > Subscriptions” 部分并选择要添加优惠的订阅。
-
添加订阅价格
点击 + “订阅价格”旁边的图标,打开价格模态窗口。
-
创建引导式优惠
选择 从选项中选择“创建引导性优惠” 从选项中选择“创建引导性优惠”。

-
配置国家和开始日期
国家和地区: 选择优惠将可用的地区
- 选择所有国家以实现最大覆盖
- 或限制到特定市场进行测试
开始日期: 优惠何时可用
- 可以立即或预定未来时间
- 与营销活动协调有用
有效期 (可选): 当优惠过期时
- 留空表示持续有效
- 设置有限期限的促销活动
-
选择优惠类型
选择以下三种优惠类型:
免费 (免费试用)
- 选择持续时间 (天, 周, 月)
- 示例: 7 天, 2 周, 1 个月
一次性付款
- 设置单次付款价格
- 设置付款覆盖的时长
- 示例:$1.99/2个月
按需付款
- 设置每期折扣价格
- 设置期数
- 示例:$2.99/月/3个月
-
查看并确认
查看显示的摘要:
- 优惠类型和时长
- 定价细节
- 优惠期后正常价格
- 可用性日期和国家
-
保存
点击 保存 立即创建引导式优惠
优惠配置示例
优惠配置示例示例 1:标准免费试用
示例 1:标准免费试用Type: FreeDuration: 7 daysThen: $9.99/month用户旅程:
- 第 1-7 天:免费访问
- 第 8 天:首次充电 $9.99
- 月度收费继续
示例 2:预付折扣期
标题:示例 2:预付折扣期Type: Pay Up FrontPrice: $4.99Duration: 3 monthsThen: $9.99/month用户旅程:
- 第 1 天:收费 $4.99
- 90 天访问
- 第 91 天:每月收费 $9.99
示例 3:逐渐介绍
标题:示例 3:逐渐介绍Type: Pay As You GoPrice: $2.99/monthPeriods: 6 monthsThen: $9.99/month用户旅程:
- 第1-6个月:每月$2.99
- 第7个月及以后:每月$9.99
在您的应用程序中使用
标题:在您的应用程序中使用原生购买插件自动处理引导性优惠的呈现和资格:
import { NativePurchases, PURCHASE_TYPE } from '@capgo/native-purchases';
// Fetch products with intro offer informationconst { products } = await NativePurchases.getProducts({ productIdentifiers: ['com.yourapp.premium_monthly'], productType: PURCHASE_TYPE.SUBS,});
const product = products[0];
// Display intro offer details (StoreKit sends localized metadata)if (product.introductoryPrice) { console.log('Intro price:', product.introductoryPriceString); console.log('Intro period:', product.introductoryPricePeriod); console.log('Intro cycles:', product.introductoryPriceCycles); console.log('Regular price:', product.priceString);} else { console.log('No intro offer configured');}
// Purchase (StoreKit automatically applies intro pricing if eligible)try { const transaction = await NativePurchases.purchaseProduct({ productIdentifier: 'com.yourapp.premium_monthly', productType: PURCHASE_TYPE.SUBS, });
console.log('Subscription active, receipt length:', transaction.receipt?.length); await validateReceiptOnServer(transaction.receipt);} catch (error) { console.error('Purchase failed:', error);}向用户显示引导性优惠
标题:向用户显示引导性优惠UI最佳实践
标题:UI最佳实践清晰的价值提议:
Try Premium Free for 7 DaysThen $9.99/month. Cancel anytime.强调节省:
Start at Just $1.99Get 3 months of Premium for only $1.99Then $9.99/month透明的沟通:
Your Free Trial• Access all premium features• No charge for 7 days• $9.99/month after trial• Cancel anytime, even during trial示例实现
标题:示例实现function formatIntroOffer(product: any): string { if (!product.introductoryPrice) { return `${product.priceString} per ${product.subscriptionPeriod}`; }
const intro = product.introductoryPrice; const regular = product.priceString;
if (intro.price === 0) { // Free trial return `Try free for ${intro.periodString}, then ${regular}`; } else if (intro.cycles === 1) { // Pay up front return `${intro.priceString} for ${intro.periodString}, then ${regular}`; } else { // Enterprise return `${intro.priceString} for ${intro.cycles} ${intro.periodString}s, then ${regular}`; }}营销最佳实践
标题:营销最佳实践试用长度策略
标题:试用长度策略- 3-7天:快速决策应用、游戏
- 7-14天:大多数应用的标准
- 14-30天:复杂工具、专业应用
- 30+天:高价值B2B或企业
定价心理学
定价心理学- $0.99-$1.99:测试时的极低门槛
- 50%折扣: 强大感知价值
- 首月免费: 常见、熟悉的模式
: 通信时机
通信时机- : 提醒用户即将收费: 展示使用统计、成就
- : 方便取消: 以透明的流程建立信任
- 测试引导式优惠__CAPGO_KEEP_0__
__CAPGO_KEEP_0__
测试引导式优惠使用沙盒测试验证行为:
import { NativePurchases, PURCHASE_TYPE } from '@capgo/native-purchases';
// In sandbox mode, accelerated subscription durations apply:// - 3 days free trial = 3 minutes// - 1 week free trial = 3 minutes// - 1 month free trial = 5 minutes
const { products } = await NativePurchases.getProducts({ productIdentifiers: ['premium_monthly'], productType: PURCHASE_TYPE.SUBS,});
// Purchase with intro offerconst transaction = await NativePurchases.purchaseProduct({ productIdentifier: 'premium_monthly', productType: PURCHASE_TYPE.SUBS,});
console.log('Intro purchase transaction:', transaction.transactionId);
// Wait for accelerated renewalsetTimeout(async () => { const { purchases } = await NativePurchases.getPurchases({ productType: PURCHASE_TYPE.SUBS, }); const premium = purchases.find((purchase) => purchase.productIdentifier === 'premium_monthly'); console.log('After trial state:', premium?.subscriptionState);}, 180000); // 3 minutes for weekly trial重要说明
测试引导式优惠- 仅适用于新订阅者
- 取消后不能再使用
- 不适用于订阅升级/交叉升级
- StoreKit __CAPGO_KEEP_0__
introductoryPrice显示介绍性优惠eligibility方法检查用户是否符合条件- 自动在购买时应用
- 不需要特殊购买方法
- 每个订阅只能激活一个介绍性优惠
- 不能与其他折扣类型合并
- 不能改变资格规则
- 苹果控制资格检查
故障排除
Troubleshooting推广优惠未显示:
- 检查 App Store Connect 中的推广优惠是否已激活
- 确认用户未使用过推广优惠
- 确保用户未订阅该组中的任何内容
- 使用新沙盒账户进行测试
推广优惠资格检查失败:
- 等待 App Store 同步(可能需要 2-3 小时)
- 确认产品 ID 是否正确
- 检查订阅组配置
- 在沙盒中使用新测试账户进行测试
显示的价格不正确:
- 检查区域定价设置
- 验证货币转换
- 确保优惠活动日期是最新的
- 刷新产品信息
沙盒测试问题:
- 使用加速时长(3分钟=1周)
- 为每次测试创建新测试账户
- 等待试用期自然结束
- 检查续订次数(沙盒中最大6次)
分析和优化
分析和优化跟踪这些指标
Section titled “跟踪这些指标”- 试用期接受率
- 试用期转为付费的转换率
- 试用期取消率
- 首次收费后留存率
- 收入影响
A/B测试点子
Section titled “A/B测试点子”- 免费试用期与付费试用期
- 试用期长度变异
- 折扣百分比
- 一次性付款与定期折扣
优化策略
优化策略// Track offer performanceanalytics.track('intro_offer_displayed', { product_id: product.identifier, offer_type: product.introductoryPriceType, offer_duration: product.introductoryPricePeriod});
analytics.track('intro_offer_accepted', { product_id: product.identifier});
// Monitor conversionNativePurchases.addListener('transactionUpdated', (transaction) => { if (transaction.productIdentifier === product.identifier && transaction.isActive) { analytics.track('trial_converted', { transactionId: transaction.transactionId, productId: transaction.productIdentifier, }); }});下一步
下一步- 配置沙盒测试 测试您的引导性优惠
- 设置回收营销活动的促销优惠
- 实施订阅分析
- 创建目标营销活动
更多资源
更多资源For more details, refer to the 苹果官方文档关于引导式优惠.
继续从创建iOS订阅介绍性优惠
Section titled “继续从创建iOS订阅介绍性优惠”如果您正在使用 创建 iOS 订阅引导优惠 与其连接 使用@capgo/native-purchases 为使用@capgo/native-purchases的原生能力 Capgo 价格 为Capgo Pricing中的产品工作流 支付系统 为支付系统的实现细节 @capgo/原生购买 为@capgo/native-purchases的实现细节 开始 为开始的实现细节