Skip to main content
Fires when a user becomes inactive after a period of no engagement. Use this event to trigger re-engagement campaigns and identify at-risk accounts.

JavaScript

window._upstack('track', 'user_inactive', {
  userId: 'usr_xyz789',
  accountId: 'acct_abc123',
  userEmail: 'user@acme.com',
  lastActiveDate: '2026-01-15T10:30:00.000Z',
  inactiveDays: 30
});

Properties

PropertyTypeRequiredDescription
userIdstringYesUser identifier
accountIdstringYesAccount identifier
userEmailstringNoUser email address
lastActiveDatestringNoISO 8601 last activity date
inactiveDaysnumberNoDays since last activity

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