Example
window._upstack('track', 'trial_extended', {
// Standard parameters
accountId: 'acct_abc123',
planId: 'plan_pro_monthly',
trialEndDate: '2026-11-22',
trialDaysRemaining: 10,
// User data
email: 'jane@example.com',
phone: '+15551234567',
firstName: 'Jane',
lastName: 'Smith',
// Custom data
extensionReason: 'sales_request',
extensionDays: 7
});
Standard parameters
| Name | Type | Required | Example value | Description |
|---|---|---|---|---|
accountId | string | Yes | acct_abc123 | Your account or organization ID. |
planId | string | Yes | plan_pro_monthly | Your plan ID. |
trialEndDate | string | Yes | 2026-11-22 | Trial end date, ISO 8601. |
trialDaysRemaining | number | No | 10 | Days left in the trial. |
User data
* Required if you have it.
Custom data
Examples for this event. See how custom data works.| Name | Type | Example value | Description |
|---|---|---|---|
extensionReason | string | sales_request | Why the trial was extended. |
extensionDays | number | 7 | How many days were added. |