JavaScript
Properties
When to Fire
- When user hasn’t logged in for defined period (e.g., 30 days)
- When automated inactivity check triggers
- When engagement score drops below threshold
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Track when a user becomes inactive after a period of no engagement.
window._upstack('track', 'user_inactive', {
userId: 'usr_xyz789',
accountId: 'acct_abc123',
userEmail: 'user@acme.com',
lastActiveDate: '2026-01-15T10:30:00.000Z',
inactiveDays: 30
});
| Property | Type | Required | Description |
|---|---|---|---|
| userId | string | Yes | User identifier |
| accountId | string | Yes | Account identifier |
| userEmail | string | No | User email address |
| lastActiveDate | string | No | ISO 8601 last activity date |
| inactiveDays | number | No | Days since last activity |
Was this page helpful?