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 lower plan
window._upstack('track', 'subscription_downgraded', { // Standard parameters accountId: 'acct_abc123', subscriptionId: 'sub_def456', planId: 'plan_basic_monthly', planName: 'Basic Plan', mrr: 4900, mrrDelta: -5000, // User data email: 'jane@example.com', phone: '+15551234567', firstName: 'Jane', lastName: 'Smith', // Custom data previousPlanId: 'plan_pro_monthly', downgradeReason: 'too_expensive' });
accountId
string
acct_abc123
subscriptionId
sub_def456
planId
plan_basic_monthly
planName
Basic Plan
mrr
number
4900
mrrDelta
-5000
email
jane@example.com
phone
+15551234567
firstName
Jane
lastName
Smith
addresses
Array<Address>
previousPlanId
plan_pro_monthly
downgradeReason
too_expensive
customer.subscription.updated
Was this page helpful?