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

# signup_completed Event

> Track when a visitor finishes signing up

Fires when a visitor finishes signing up.

## Example

```javascript theme={null}
window._upstack('track', 'signup_completed', {
  // Standard parameters
  accountId: 'acct_abc123',
  userId: 'user_789',
  planId: 'plan_pro_monthly',
  planName: 'Pro Plan',

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

  // Custom data
  signupMethod: 'google',
  referralCode: 'FRIEND20'
});
```

## 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. |
| [`userId`](https://docs.upstackdata.com/event-tracking/event-taxonomy/properties/saas#account-and-user) | `string` | Yes | `user_789` | Your ID for this user. |
| [`planId`](https://docs.upstackdata.com/event-tracking/event-taxonomy/properties/saas#subscription-and-revenue) | `string` | No | `plan_pro_monthly` | Your plan ID. |
| [`planName`](https://docs.upstackdata.com/event-tracking/event-taxonomy/properties/saas#subscription-and-revenue) | `string` | No | `Pro Plan` | Plan 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 |
| - | - | - | - |
| `signupMethod` | `string` | `google` | How the person signed up. |
| `referralCode` | `string` | `FRIEND20` | The referral code used. |


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