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

# milestone_reached Event

> Track when an account reaches a milestone

Fires when an account reaches a milestone.

## Example

```javascript theme={null}
window._upstack('track', 'milestone_reached', {
  // Standard parameters
  accountId: 'acct_abc123',
  milestoneId: 'first_report',
  milestoneName: 'First report created',

  // User data
  email: 'jane@example.com',
  phone: '+15551234567',
  firstName: 'Jane',
  lastName: 'Smith',

  // Custom data
  milestoneValue: 100,
  milestoneCategory: 'usage'
});
```

## Standard parameters

| Name | Type | Required | Example value | Description |
| - | - | - | - | - |
| [`accountId`](https://docs.upstackdata.com/event-tracking/event-taxonomy/properties/saas#account-and-user) | `string` | Yes | `acct_abc123` | Your account or organization ID. |
| [`milestoneId`](https://docs.upstackdata.com/event-tracking/event-taxonomy/properties/saas#engagement) | `string` | Yes | `first_report` | Your milestone ID. |
| [`milestoneName`](https://docs.upstackdata.com/event-tracking/event-taxonomy/properties/saas#engagement) | `string` | No | `First report created` | Milestone display name. |

## 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` | Yes\* | `Jane` | First name. |
| [`lastName`](https://docs.upstackdata.com/event-tracking/event-taxonomy/properties/name) | `string` | Yes\* | `Smith` | Last name. |
| [`addresses`](https://docs.upstackdata.com/event-tracking/event-taxonomy/properties/address) | `Array<Address>` | No | [See address parameters](https://docs.upstackdata.com/event-tracking/event-taxonomy/properties/address.md) | Shipping and billing addresses. |

\* Required if you have 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 |
| - | - | - | - |
| `milestoneValue` | `number` | `100` | The number reached. |
| `milestoneCategory` | `string` | `usage` | The milestone group. |


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