Skip to main content
Fires when a customer cancels an add-on feature or service. Use this event to understand add-on churn and feature value.

JavaScript

window._upstack('track', 'addon_cancelled', {
  accountId: 'acct_abc123',
  subscriptionId: 'sub_def456',
  addonId: 'addon_advanced_analytics',
  addonName: 'Advanced Analytics',
  price: 4900,
  currency: 'USD',
  cancelReason: 'not_using'
});

Properties

PropertyTypeRequiredDescription
accountIdstringYesAccount identifier
addonIdstringYesAdd-on identifier
subscriptionIdstringNoSubscription identifier
addonNamestringNoHuman-readable add-on name
pricenumberNoLost add-on revenue in cents
currencystringNoISO 4217 currency code
cancelReasonstringNoReason for cancellation

When to Fire

  • When add-on is removed from subscription
  • When add-on cancellation is requested
  • When Stripe subscription item is removed