跳转到正文

创建 iOS 订阅推介优惠

GitHub

入门优惠可让符合条件的用户享受免费试用或折扣价,从而降低入门门槛并提高订阅转化率。

入门优惠是扩大用户群最有效的工具之一。它允许用户:

  • 无风险试用高级功能
  • 在承诺前体验价值
  • 以更低的价格开始
  • 建立对产品品质的信心

iOS 支持三种类型的推介优惠:

用户可以在指定时间内免费使用。试用结束后,若未取消订阅,将按标准价格计费。

示例:

  • 免费 7 天
  • 免费 14 天
  • 免费 1 个月

适用场景:

  • 高价值订阅
  • 功能丰富的 App
  • 培养用户习惯

客户支付一次性折扣价,覆盖整个优惠期。

示例:

  • 2 个月 $1.99(之后 $9.99/月)
  • 3 个月 $9.99(之后 $19.99/月)

适用场景:

  • 承诺信号
  • 现金流需求
  • 测试价格敏感度

客户购买多个计费周期可享受优惠价。

示例:

  • 前 3 个月 $1.99/月(之后 $9.99/月)
  • 前 6 个月 $4.99/月(之后 $14.99/月)

适用场景:

  • 渐进式承诺
  • 长期价值展示
  • 降低感知风险

用户只有在满足以下条件时,才能享受入门优惠:

  • 此前未获得过该产品的入门优惠
  • 未获得过同一订阅组中任何产品的入门优惠
  • 此前未拥有该产品的有效订阅

您必须先 创建一个自动续订订阅 才能添加入门优惠。

  1. 导航至订阅

    在 App Store Connect 中,前往您的应用的 盈利 > 订阅 部分,并选择要添加优惠的订阅。

  2. 添加订阅价格

    点击 + “订阅价格”旁边的图标,以打开定价弹窗。

  3. 创建入门优惠

    选择 “创建入门优惠” 从选项中选择。

    创建入门优惠

  4. 配置国家和开始日期

    国家和地区:选择优惠可用的地区

    • 选择所有国家以获得最大覆盖范围
    • 或限制在特定市场进行测试

    开始日期:优惠何时生效

    • 可以立即生效,也可以安排在将来
    • 便于与营销活动协调

    结束日期(可选):优惠到期时间

    • 留空表示长期有效
    • 设置限时促销日期
  5. 选择优惠类型

    请从以下三种优惠类型中选择一种:

    免费 (免费试用)

    • 选择时长 (天、周、月)
    • 示例:7 天、2 周、1 个月

    预付费

    • 设置单次付款价格
    • 设置该付款覆盖的时长
    • 示例:2 个月 $1.99

    随用随付

    • 设置每个周期的折扣价格
    • 设置周期数量
    • 示例:3 个月内每月 $2.99
  6. 审核并确认

    审核显示以下内容的摘要:

    • 优惠类型和时长
    • 定价详情
    • introductory 期后的常规价格
    • 可用日期和国家/地区
  7. 保存

    点击 保存 以创建推介优惠。该优惠创建后即可在沙盒模式下测试。

Type: Free
Duration: 7 days
Then: $9.99/month

用户旅程:

  • 第 1-7 天:免费使用
  • 第 8 天:首次扣费 $9.99
  • 继续按月扣费
Type: Pay Up Front
Price: $4.99
Duration: 3 months
Then: $9.99/month

用户旅程:

  • 第 1 天:扣费 $4.99
  • 90 天使用权限
  • 第 91 天:扣费 $9.99/月
Type: Pay As You Go
Price: $2.99/month
Periods: 6 months
Then: $9.99/month

用户旅程:

  • 第 1-6 个月:$2.99/月
  • 第 7 个月起:$9.99/月

native-purchases 插件会自动处理入门优惠的展示和资格判断:

import { NativePurchases, PURCHASE_TYPE } from '@capgo/native-purchases';
// Fetch products with intro offer information
const { 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);
}

清晰的价值主张:

Try Premium Free for 7 Days
Then $9.99/month. Cancel anytime.

强调节省:

Start at Just $1.99
Get 3 months of Premium for only $1.99
Then $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:门槛极低,适合测试
  • 5 折:感知价值高
  • 首月免费:常见且熟悉的模式
  • 试用期结束前: 提醒用户即将扣费
  • 强调价值: 展示使用统计、成就
  • 便捷取消: 通过透明流程建立信任

使用 sandbox 测试验证行为:

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 offer
const transaction = await NativePurchases.purchaseProduct({
productIdentifier: 'premium_monthly',
productType: PURCHASE_TYPE.SUBS,
});
console.log('Intro purchase transaction:', transaction.transactionId);
// Wait for accelerated renewal
setTimeout(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
  • 每个订阅组每位用户限享一次推介优惠(终身)
  • 仅适用于新订阅用户
  • 取消订阅后无法再次使用
  • 不适用于订阅升级/交叉升级
  • introductoryPrice 显示推介优惠详情
  • eligibility 该方法检查用户是否符合资格
  • 购买时自动应用
  • 无需特殊的购买方式
  • 每个订阅同一时间只能有一个推介优惠生效
  • 无法与其他折扣类型叠加使用
  • 无法更改资格规则
  • 资格检查由 Apple 控制

推介优惠未显示:

  • 检查该优惠是否已在 App Store Connect 中激活
  • 确认用户之前未使用过推介优惠
  • 确保用户未订阅该订阅组中的任何内容
  • 使用新的沙盒账号测试

资格检查失败:

  • 等待 App Store 同步(可能需要 2-3 小时)
  • 验证产品 ID 是否正确
  • 检查订阅组配置
  • 使用全新的测试账号在沙盒中测试

价格显示错误:

  • 检查区域定价设置
  • 验证货币转换
  • 确保优惠日期有效
  • 刷新产品信息

Sandbox 测试问题:

  • 使用加速时长(3 分钟 = 1 周)
  • 每次测试请创建新的测试账号
  • 等待试用期自然结束
  • 检查续订次数(Sandbox 最多 6 次)
  • 入门优惠接受率
  • 试用转付费转化率
  • 试用期内取消率
  • 首次付费后的留存率
  • 营收影响
  • 免费试用 vs. 付费入门优惠
  • 试用时长变化
  • 折扣比例
  • 单次付费 vs. 周期性折扣
// Track offer performance
analytics.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 conversion
NativePurchases.addListener('transactionUpdated', (transaction) => {
if (transaction.productIdentifier === product.identifier && transaction.isActive) {
analytics.track('trial_converted', {
transactionId: transaction.transactionId,
productId: transaction.productIdentifier,
});
}
});
  • 配置沙盒测试 来测试你的入门优惠
  • 为召回活动设置促销优惠
  • 接入订阅分析
  • 创建定向营销活动

欲了解更多详情,请参阅 Apple 官方关于入门优惠的文档.

继续阅读:创建 iOS 订阅推介优惠

“从创建 iOS 订阅入门优惠继续”部分

如果你正在使用 创建 iOS 订阅推介优惠 要规划付款和购买,请将其与 使用 @capgo/native-purchases 关于“使用 @capgo/native-purchases”中的原生能力, Capgo 定价 关于 Capgo 定价中的产品工作流, 支付系统 了解支付系统的实现细节, @capgo/native-purchases 有关 @capgo/native-purchases 中的实现细节,以及 快速入门 有关 Getting Started 中的实现细节,请参阅