> ## 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.

# user_invited Event

> Track when a user is invited to join an account.

Fires when a user is invited to join an account. Use this event to measure team growth and invitation conversion rates.

## JavaScript

```javascript theme={null}
window._upstack('track', 'user_invited', {
  accountId: 'acct_abc123',
  inviteeEmail: 'newmember@acme.com',
  inviteeRole: 'member',
  invitedByUserId: 'usr_xyz789'
});
```

## Properties

| Property        | Type   | Required | Description           |
| --------------- | ------ | -------- | --------------------- |
| accountId       | string | Yes      | Account identifier    |
| inviteeEmail    | string | No       | Invitee email address |
| inviteeRole     | string | No       | Assigned role         |
| invitedByUserId | string | No       | Inviter's user ID     |

## When to Fire

* When team invite is sent
* When collaboration request is initiated
* After invite email is dispatched
