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 ends
window._upstack('track', 'subscription_churned', { // Standard parameters accountId: 'acct_abc123', subscriptionId: 'sub_def456', planId: 'plan_pro_monthly', mrr: 9900, ltv: 118800, cancelReason: 'too_expensive', // User data email: 'jane@example.com', phone: '+15551234567', firstName: 'Jane', lastName: 'Smith', // Custom data subscriptionMonths: 12, churnType: 'voluntary' });
accountId
string
acct_abc123
subscriptionId
sub_def456
planId
plan_pro_monthly
mrr
number
9900
ltv
118800
cancelReason
too_expensive
email
jane@example.com
phone
+15551234567
firstName
Jane
lastName
Smith
addresses
Array<Address>
subscriptionMonths
12
churnType
voluntary
involuntary
customer.subscription.deleted
Was this page helpful?