> ## Documentation Index
> Fetch the complete documentation index at: https://docs.upstackdata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# signed_out Event

> Track when a user signs out

Fires when a user signs out.

## Example

```javascript theme={null}
window._upstack('track', 'signed_out', {
  // Standard parameters
  userId: 'user_789',
  accountId: 'acct_abc123',

  // User data
  email: 'jane@example.com',

  // Custom data
  sessionDuration: 1800,
  signOutReason: 'manual'
});
```

## Standard parameters

| Name | Type | Required | Example value | Description |
| - | - | - | - | - |
| [`userId`](https://docs.upstackdata.com/event-tracking/event-taxonomy/properties/saas#account-and-user) | `string` | Yes | `user_789` | Your ID for this user. |
| [`accountId`](https://docs.upstackdata.com/event-tracking/event-taxonomy/properties/saas#account-and-user) | `string` | No | `acct_abc123` | Your account or organization ID. |

## User data

| Name | Type | Required | Example value | Description |
| - | - | - | - | - |
| [`email`](https://docs.upstackdata.com/event-tracking/event-taxonomy/properties/email) | `string` | Yes\* | `jane@example.com` | Email address. |
| [`phone`](https://docs.upstackdata.com/event-tracking/event-taxonomy/properties/phone) | `string` | Yes\* | `+15551234567` | Phone number in E.164 format. |
| [`firstName`](https://docs.upstackdata.com/event-tracking/event-taxonomy/properties/name) | `string` | No | `Jane` | First name. |
| [`lastName`](https://docs.upstackdata.com/event-tracking/event-taxonomy/properties/name) | `string` | No | `Smith` | Last name. |

\* Required once you know it.

## Custom data

Examples for this event. See [how custom data works](https://docs.upstackdata.com/event-tracking/event-taxonomy/properties/custom-data.md).

| Name | Type | Example value | Description |
| - | - | - | - |
| `sessionDuration` | `number` | `1800` | Session length in seconds. |
| `signOutReason` | `string` | `manual` | Why the session ended, such as `manual` or `timeout`. |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.