# SegMetrics Destination

## Destination Info

* Accepts [Page](/docs/segment/connections/spec/page), [Identify](/docs/segment/connections/spec/identify), [Track](/docs/segment/connections/spec/track) calls.
* Refer to it as **SegMetrics** in the [Integrations object.](/docs/segment/guides/filtering-data/#filtering-with-the-integrations-object)
* This integration is **partner owned.** Please reach out to the partner's support for any issues.

### Components

* [Server](/docs/segment/connections/destinations/catalog/segmetrics/)

## Connection Modes

[Learn more about connection modes.](/docs/segment/connections/destinations/#connection-modes)

### Device-Mode

* web: no
* mobile: no
* server: no

### Cloud-Mode

* web: yes
* mobile: yes
* server: yes

[SegMetrics](https://segmetrics.io/?utm_source=segmentio\&utm_medium=docs\&utm_campaign=partners) is a lead and revenue attribution tool for marketers. It combines cross-platform behavioral data from the marketing tools you already use to create a holistical customer journey of your entire marketing funnel.

This destination is maintained by SegMetrics. For any issues with the destination, [contact the SegMetrics Support team](mailto:support@segmetrics.io).

## Getting Started

1. Go to your [Integrations tab](https://app.segmetrics.io/a/integration) in SegMetrics, and click **Connect** for the Segment Integration.
2. Go to your [Account Settings](https://app.segmetrics.io/a/account/edit) and copy your SegMetrics `Account Id` and `API Key`.
3. From the Destinations catalog page in the Segment App, click **Add Destination**.
4. Search for "SegMetrics" in the Destinations Catalog and select the SegMetrics Destination.
5. Enter the `Account Key` and `API Key` in the SegMetrics destination settings in Segment.

> \[!NOTE]
>
> Data is available in your dashboard depending on your [SegMetrics plan](https://segmetrics.io/pricing/).

## Page

If you aren't familiar with the Segment Spec, take a look at the [Page method documentation](/docs/segment/connections/spec/page/) to learn about what it does. An example call would look like:

```js
analytics.page()
```

Segment sends `page` calls to SegMetrics as `view` events, which are available in the analytics dashboard as a `click` event.

## Track

If you aren't familiar with the Segment Spec, take a look at the [Track method documentation](/docs/segment/connections/spec/track/) to learn about what it does. An example call would look like:

```js
analytics.track("User Registered", {
  plan: "Pro Annual",
  accountType: "Facebook"
});
```

Segment sends `track` calls to SegMetrics as `view` events, which are available in the analytics dashboard as a `click` event.

## Identify

If you aren't familiar with the Segment Spec, take a look at the [Identify method documentation](/docs/segment/connections/spec/identify/) to learn about what it does. An example call would look like:

```js
analytics.identify('userId123', {
  email: 'john.doe@example.com'
});
```

Segment sends `identify` calls to SegMetrics as `identify` events.

An email address is **required** by SegMetrics to connect a contact to your existing contacts in your CRM.

When you identify a new contact, the user's visitor tracking is connected to contacts in your CRM that share the same email address.

## Engage

You can send computed traits and audiences generated using [Engage](/docs/segment/engage) to this destination as a **user property**. To learn more about Engage, schedule a [demo](https://segment.com/contact/demo).

For user-property destinations, an [identify](/docs/segment/connections/spec/identify/) call is sent to the destination for each user being added and removed. The property name is the snake\_cased version of the audience name, with a true/false value to indicate membership. For example, when a user first completes an order in the last 30 days, Engage sends an Identify call with the property `order_completed_last_30days: true`. When the user no longer satisfies this condition (for example, it's been more than 30 days since their last order), Engage sets that value to `false`.

When you first create an audience, Engage sends an Identify call for every user in that audience. Later audience syncs only send updates for users whose membership has changed since the last sync.

> \[!NOTE]
>
> Real-time audience syncs to SegMetrics  may take six or more hours for the initial sync to complete. Upon completion, a sync frequency of two to three hours is expected.

## Settings

Segment lets you change these destination settings from the Segment app without having to touch any code.

| Field                 | Description                                                                                             | Required | Type   |
| --------------------- | ------------------------------------------------------------------------------------------------------- | -------- | ------ |
| API Key               | Your API key is available by going to \[Integration > Segment] under the gear icon in the main menu.    | Yes      | string |
| SegMetrics Account ID | Your Account ID is available by going to \[Integration > Segment] under the gear icon in the main menu. | Yes      | string |
