Example
window._upstack('track', 'account_deleted', {
// Standard parameters
accountId: 'acct_abc123',
accountName: 'Example Co',
cancelReason: 'too_expensive',
cancelFeedback: 'Over budget this year',
mrr: 9900,
// User data
email: 'jane@example.com',
phone: '+15551234567',
firstName: 'Jane',
lastName: 'Smith',
// Custom data
deletedBy: 'owner',
dataExportRequested: true
});
Standard parameters
| Name | Type | Required | Example value | Description |
|---|---|---|---|---|
accountId | string | Yes | acct_abc123 | Your account or organization ID. |
accountName | string | No | Example Co | Account or organization name. |
cancelReason | string | No | too_expensive | Why they cancelled. |
cancelFeedback | string | No | Over budget this year | Feedback they gave when cancelling. |
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 |
|---|---|---|---|
deletedBy | string | owner | Who deleted the account. |
dataExportRequested | boolean | true | Whether they asked for a data export. |