JavaScript
Properties
When to Fire
- After account deletion confirmation
- After workspace removal completes
- After data retention period expires
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Track when an account is permanently deleted from your SaaS application.
window._upstack('track', 'account_deleted', {
accountId: 'acct_abc123',
accountName: 'Acme Corporation',
cancelReason: 'no_longer_needed',
cancelFeedback: 'Switching to a different solution',
mrr: 9900
});
| Property | Type | Required | Description |
|---|---|---|---|
| accountId | string | Yes | Deleted account identifier |
| accountName | string | No | Account name |
| cancelReason | string | No | Reason code for deletion |
| cancelFeedback | string | No | User-provided feedback |
| mrr | number | No | Lost MRR in cents |
Was this page helpful?