Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Contact support
Track when a subscription moves to a higher plan
window._upstack('track', 'subscription_upgraded', { // Standard parameters accountId: 'acct_abc123', subscriptionId: 'sub_def456', planId: 'plan_pro_monthly', value: 99.00, currency: 'USD', planName: 'Pro Plan', mrr: 9900, mrrDelta: 5000, // User data email: 'jane@example.com', phone: '+15551234567', firstName: 'Jane', lastName: 'Smith', // Custom data previousPlanId: 'plan_basic_monthly', upgradeReason: 'seat_limit' });
accountId
string
acct_abc123
subscriptionId
sub_def456
planId
plan_pro_monthly
value
number
99.00
currency
USD
planName
Pro Plan
mrr
9900
mrrDelta
5000
email
jane@example.com
phone
+15551234567
firstName
Jane
lastName
Smith
addresses
Array<Address>
previousPlanId
plan_basic_monthly
upgradeReason
seat_limit
customer.subscription.updated
Was this page helpful?