# Hubble (Actions) Destination

## Destination Info

* Accepts [Page](/docs/segment/connections/spec/page), [Alias](/docs/segment/connections/spec/alias), [Group](/docs/segment/connections/spec/group), [Identify](/docs/segment/connections/spec/identify), [Track](/docs/segment/connections/spec/track) calls.
* Refer to it as **Hubble (actions)**, **Hubble (Actions)** in the [Integrations object.](/docs/segment/guides/filtering-data/#filtering-with-the-integrations-object)
* This destination is not compatible with [Destination Insert Functions.](/docs/segment/connections/functions/insert-functions/)
* This integration is **partner owned.** Please reach out to the partner's support for any issues.
* This destination is **Beta.**

[Hubble](https://hubble.team/?utm_source=segmentio\&utm_medium=docs\&utm_campaign=partners) is a unified user research tool that allows product and UX teams to collect continuous user feedback across all stages of product development through unmoderated tests, participant recruiting, and powerful in-product surveys.

Hubble maintains this destination. For any issues with the destination, view [Hubble's documentation](https://hubble.team/documentation) or contact [Hubble Support](mailto:dev@hubble.team).

> \[!TIP]
>
> Actions-based destinations may require features found in [Analytics.js 2.0](/docs/segment/connections/sources/catalog/libraries/website/javascript/). If the destination has Web actions and is connected to a javascript source, [upgrade your Analytics.js](/docs/segment/connections/sources/catalog/libraries/website/javascript/upgrade-to-ajs2/) source to ensure compatibility.

## Getting started

1. From the Segment web app, click **Catalog**, then click **Destinations**.
2. Search for "Hubble (Actions)" in the catalog.
3. Choose a source you would like to connect this destination to.
4. Find your Hubble ID in [Hubble App](https://app.hubble.team/home) by navigating to **Account Settings > Integrations > Segment**.
5. Enter your Hubble ID into the **id** field in the Segment web app.

## Destination Settings

| Field | Description                                           | Required | Type   |
| ----- | ----------------------------------------------------- | -------- | ------ |
| id    | Unique identifier for your team (given in Hubble app) | Yes      | string |

## Available Presets

Hubble (Actions) has the following presets

| Preset Name   | Trigger                 | Default Action |
| ------------- | ----------------------- | -------------- |
| Track event   | Event type = "track"    | Track          |
| Identify user | Event type = "identify" | Identify       |

## Available Actions

Build your own Mappings. Combine supported [triggers](/docs/segment/connections/destinations/actions/#components-of-a-destination-action) with the following Hubble-supported actions:

> \[!NOTE]
>
> Individual destination instances have support a maximum of 50 mappings.

* [Track](#track-2)
* [Identify](#identify-3)

### Track

Track events to trigger Hubble surveys

Track is a **Web** action. The default Trigger is `type = "track"`

| Field            | Description                                                | Required | Type   |
| ---------------- | ---------------------------------------------------------- | -------- | ------ |
| Event            | Event to be tracked                                        | Yes      | STRING |
| Event Attributes | Object containing the attributes (properties) of the event | No       | OBJECT |
| User ID          | Unique identifer of the user                               | No       | STRING |
| Anonymous ID     | Anonymous identifier of the user                           | No       | STRING |

### Identify

Set identifiers and attributes for a user

Identify is a **Web** action. The default Trigger is `type = "identify"`

| Field                    | Description                                    | Required | Type   |
| ------------------------ | ---------------------------------------------- | -------- | ------ |
| User ID                  | Unique identifer of the user                   | No       | STRING |
| Anonymous ID             | Anonymous identifier of the user               | No       | STRING |
| User Attributes (Traits) | User traits used to enrich user identification | No       | OBJECT |

## Settings

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

| Field | Description                                           | Required | Type   |
| ----- | ----------------------------------------------------- | -------- | ------ |
| id    | Unique identifier for your team (given in Hubble app) | Yes      | string |
