JavaScript
Properties
When to Fire
- After first successful payment
- When Stripe subscription status changes from
trialingtoactive - After payment method is charged successfully
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Track when a trial converts to a paid subscription.
window._upstack('track', 'trial_converted', {
accountId: 'acct_abc123',
subscriptionId: 'sub_def456',
planId: 'plan_pro_monthly',
planName: 'Pro Plan',
mrr: 9900,
billingInterval: 'month'
});
| Property | Type | Required | Description |
|---|---|---|---|
| accountId | string | Yes | Account identifier |
| subscriptionId | string | Yes | New subscription ID |
| planId | string | Yes | Converted plan identifier |
| planName | string | No | Plan display name |
| mrr | number | No | Monthly recurring revenue in cents |
| billingInterval | string | No | month or year |
trialing to activemrr to measure trial-to-paid conversion value and calculate average revenue per converted trial.Was this page helpful?