Example
window._upstack('track', 'subscription_reactivated', {
// Standard parameters
accountId: 'acct_abc123',
subscriptionId: 'sub_def456',
planId: 'plan_pro_monthly',
value: 99.00,
currency: 'USD',
planName: 'Pro Plan',
mrr: 9900,
// User data
email: 'jane@example.com',
phone: '+15551234567',
firstName: 'Jane',
lastName: 'Smith',
// Custom data
daysSinceChurn: 45,
winbackCampaign: 'fall_2026'
});
Standard parameters
| Name | Type | Required | Example value | Description |
|---|---|---|---|---|
accountId | string | Yes | acct_abc123 | Your account or organization ID. |
subscriptionId | string | Yes | sub_def456 | Your subscription ID. |
planId | string | Yes | plan_pro_monthly | Your plan ID. |
value | number | Yes | 99.00 | Monetary value of the event, in major units. |
currency | string | Yes | USD | ISO 4217 currency code. |
planName | string | No | Pro Plan | Plan display name. |
mrr | number | No | 9900 | Monthly recurring revenue, in cents. |
User data
* Required if you have it.
Custom data
Examples for this event. See how custom data works.| Name | Type | Example value | Description |
|---|---|---|---|
daysSinceChurn | number | 45 | Days since the subscription ended. |
winbackCampaign | string | fall_2026 | The campaign that brought them back. |