Skip to main content
Fires when a recurring subscription payment is processed (not the initial purchase). Use this event for retention and LTV analysis.

JavaScript

window._upstack('track', 'subscription_recurring_purchase', {
  subscriptionId: 'sub_def456',
  accountId: 'acct_abc123',
  planId: 'plan_pro_monthly',
  planName: 'Pro Plan',
  value: 9900,
  currency: 'USD',
  billingInterval: 'month',
  renewalNumber: 6
});

Properties

PropertyTypeRequiredDescription
subscriptionIdstringYesSubscription identifier
accountIdstringYesAccount identifier
planIdstringNoPlan identifier
planNamestringNoPlan display name
valuenumberNoPayment amount in cents
currencystringNoISO 4217 currency code
billingIntervalstringNomonth or year
renewalNumbernumberNoWhich renewal this is (2nd, 3rd, etc.)

When to Fire

  • Each recurring billing cycle
  • When Stripe invoice.paid fires for an existing subscription
  • Monthly/annual renewal charge succeeds

Stripe Webhook

Maps to invoice.paid for existing subscriptions (not the first invoice).