# LiveLike Cloud Mode (Actions) Destination

## Destination Info

* Accepts [Page](/docs/segment/connections/spec/page), [Screen](/docs/segment/connections/spec/screen), [Track](/docs/segment/connections/spec/track) calls.
* Refer to it as **LiveLike** 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.
* This destination is **Beta.**

[LiveLike](https://livelike.com/) is a technology company dedicated to empowering digital experiences that enable deeper fan engagement, increased retention rates, and new monetization opportunities.

> \[!NOTE]
>
> The events transferred from Segment to your LiveLike application will appear under the [Actions](https://docs.livelike.com/docs/reward-actions) section.

## Getting started

1. From the Segment web app dashboard, navigate to Connections > Catalog.
2. Under the Destinations tab, search for "LiveLike Cloud Mode (Actions)", and select the destination.
3. Click Configure "LiveLike Cloud Mode (Actions).
4. Select the source that will send data to "LiveLike Cloud Mode (Actions), click **Next** to enter the name of your destination, and click Save.
5. On the **Settings** tab, under **Basic Settings**, add the following Connection Settings:
   * [**Producer Token**](https://docs.livelike.com/docs/retrieving-important-keys#retrieving-api-access-token): Created in the LiveLike Producer Suite.
   * [**Client ID**](https://docs.livelike.com/docs/retrieving-important-keys#retrieving-client-id): The app identifier used to reference specific Application in requests made to the LiveLike API.
6. To customize the actions mapping, follow the Destinations Actions documentation steps on [Customizing mappings](/docs/segment/connections/destinations/actions/#customize-mappings). Mappings in Segment allow you to control the events that are sent to LiveLike.
7. Enable the destination using the toggle switch.

## Destination Settings

| Field          | Description                          | Required | Type     |
| -------------- | ------------------------------------ | -------- | -------- |
| Client ID      | Your LiveLike Application Client ID. | Yes      | string   |
| Producer Token | Your LiveLike Producer token.        | Yes      | password |

## Available Presets

LiveLike has the following presets

| Preset Name        | Trigger               | Default Action |
| ------------------ | --------------------- | -------------- |
| Page Calls         | Event type = "page"   | Track Event    |
| Track User Actions | Event type = "track"  | Track Event    |
| Screen Calls       | Event type = "screen" | Track Event    |

## Available Actions

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

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

* [Track Event](#track-event-17)
* [Sync to User Group](#sync-to-user-group)

### Track Event

Send an event to LiveLike.

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

| Field                    | Description                                                                                                                                                                                                                                                                                                   | Required | Type   |
| ------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- | ------ |
| Event Name               | The name of the event being performed. For example, \`User Registration\` could be an event\_name referring the event that is being sent to LiveLike.                                                                                                                                                         | Yes      | STRING |
| Event Type               | The type of event (track/screen/page)                                                                                                                                                                                                                                                                         | Yes      | STRING |
| User ID                  | A unique identifier for a user.                                                                                                                                                                                                                                                                               | No       | STRING |
| LiveLike User Profile ID | The unique LiveLike user identifier.                                                                                                                                                                                                                                                                          | No       | STRING |
| Custom ID                | In case you are not able to store \`livelike\_profile\_id\`, LiveLike provides a way to create your own access tokens which helps us to map your user\_id to a unique \`livelike\_profile\_id\`. Please refer \[LiveLike Docs]\(https://docs.livelike.com/docs/client-generated-access-tokens) for more info. | No       | STRING |
| Timestamp                | The date and time when the event occurred in ISO 8601 format. Defaults to current time if not provided. For example, \`2019-09-30T15:59:44.933696Z\`.                                                                                                                                                         | Yes      | STRING |
| Event Properties         | Properties of the event.                                                                                                                                                                                                                                                                                      | No       | OBJECT |

### Sync to User Group

Sync Segment user data to a user group in LiveLike. Can be used to sync Engage Audience data to LiveLike User Groups.

Sync to User Group is a **Cloud** action. The default Trigger is `type = "identify"`

| Field                  | Description                                                                                                                                                      | Required | Type    |
| ---------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- | ------- |
| Segment Audience ID    | The unique identifier for the Segment Audience.                                                                                                                  | Yes      | STRING  |
| Segment Audience Name  | The name of the Segment Audience.                                                                                                                                | Yes      | STRING  |
| Action                 | Set to true to add the user to the User Group, set to false to remove the user from the User Group. If connecting to an Engage Audience, leave this field empty. | No       | BOOLEAN |
| Timestamp              | The timestamp of the event.                                                                                                                                      | Yes      | STRING  |
| Additional user traits | Used for trait values to send to Livelike.                                                                                                                       | No       | OBJECT  |
| User ID                | A unique identifier for a user.                                                                                                                                  | No       | STRING  |
| Enable Batching        | Enable batching for this action. If enabled, the action will process records in batches.                                                                         | No       | BOOLEAN |
| Batch Size             | The number of records to process in each batch. Default is 100.                                                                                                  | No       | NUMBER  |
