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

# schedule Event

> Track when a visitor schedules an appointment

Fires when a visitor schedules an appointment.

## Example

```javascript theme={null}
window._upstack('track', 'schedule', {
  // Standard parameters
  value: 75.00,
  currency: 'USD',

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

  // Custom data
  appointmentType: 'consultation',
  locationName: 'Austin store'
});
```

## Standard parameters

| Name | Type | Required | Example value | Description |
| - | - | - | - | - |
| [`value`](https://docs.upstackdata.com/event-tracking/event-taxonomy/properties/value) | `number` | No | `75.00` | What this conversion is worth to you. |
| [`currency`](https://docs.upstackdata.com/event-tracking/event-taxonomy/properties/currency) | `string` | Yes\* | `USD` | ISO 4217 currency code. |

\* Required if you send `value`.

## 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 |
| - | - | - | - |
| `appointmentType` | `string` | `consultation` | The kind of appointment. |
| `locationName` | `string` | `Austin store` | Where the appointment takes place. |

## Related events

* [`book_call`](https://docs.upstackdata.com/event-tracking/event-taxonomy/standard-events/book-call) — A visitor books a call.
* [`lead`](https://docs.upstackdata.com/event-tracking/event-taxonomy/standard-events/lead) — A visitor submits a lead form.


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