Skip to main content
Fires when a subscription record is created in your billing system. This may precede first payment for trials.

JavaScript

window._upstack('track', 'subscription_created', {
  subscriptionId: 'sub_def456',
  accountId: 'acct_abc123',
  planId: 'plan_pro_monthly',
  planName: 'Pro Plan',
  billingInterval: 'month'
});

Properties

PropertyTypeRequiredDescription
subscriptionIdstringYesSubscription identifier
accountIdstringYesAccount identifier
planIdstringYesPlan identifier
planNamestringNoPlan display name
billingIntervalstringNoday, week, month, or year

When to Fire

  • When subscription object is created in Stripe
  • May precede first payment (for trials)
  • After checkout session completes

Stripe Webhook

Maps to customer.subscription.created.