|
| 1 | +--- |
| 2 | +title: UserLeap |
| 3 | +rewrite: true |
| 4 | +--- |
| 5 | + |
| 6 | +[UserLeap](https://userleap.com/?utm_source=segmentio&utm_medium=docs&utm_campaign=partners) is a microsurvey platform that continuously identifies opportunities to build better experiences. Gain clarity into customer needs and grow faster. |
| 7 | + |
| 8 | +This destination is maintained by UserLeap. For any issues with the destination, contact [email protected]. |
| 9 | + |
| 10 | +## Getting Started |
| 11 | + |
| 12 | +{% include content/connection-modes.md %} |
| 13 | + |
| 14 | +1. From the Destinations catalog page in the Segment App, click **Add Destination**. |
| 15 | +2. Search for "UserLeap" in the Destinations Catalog, and select the UserLeap destination. |
| 16 | +3. Choose which Source should send data to the UserLeap destination. |
| 17 | +4. Go to the [UserLeap dashboard](https://app.userleap.com/settings/installation), find and copy the **API key**. |
| 18 | +5. Enter the UserLeap API Key that you copied in the UserLeap destination settings in Segment. |
| 19 | + |
| 20 | +**Note**: Only Email Surveys and Link Surveys are supported through Segment's Userleap integration. To utilize In-Product Surveys, you must install UserLeap's SDK. |
| 21 | + |
| 22 | +## Identify |
| 23 | +If you aren't familiar with the Segment Spec, take a look at the [Identify method documentation](https://segment.com/docs/connections/spec/identify/) to learn about what it does. An example call would look like: |
| 24 | + |
| 25 | +```js |
| 26 | +analytics.identify('userId123', { |
| 27 | + firstName: 'Laura', |
| 28 | + lastName: 'Gibbon' |
| 29 | +}) |
| 30 | +``` |
| 31 | +Identify your users in UserLeap with the Identify method. Segment`Traits` map to UserLeap `Attributes`. |
| 32 | + |
| 33 | +**Important:** You can only create new users with Identify calls. |
| 34 | + |
| 35 | +## Track |
| 36 | +If you aren't familiar with the Segment Spec, take a look at the [Track method documentation](https://segment.com/docs/connections/spec/track/) to learn about what it does. An example call would look like: |
| 37 | +```js |
| 38 | +analytics.track('Clicked Button'); |
| 39 | +``` |
| 40 | +Use Track calls to track events and use them as filtering criteria for your Surveys. |
| 41 | + |
| 42 | +**Important:** Add Triggered Events mapped to your Segment Track event names in your UserLeap [Events dashboard](https://app.userleap.com/events) before sending them through Segment. |
| 43 | + |
| 44 | +## Page |
| 45 | +If you aren't familiar with the Segment Spec, take a look at the [Page method documentation](https://segment.com/docs/connections/spec/page/) to learn about what it does. An example call would look like: |
| 46 | +```js |
| 47 | +analytics.page() |
| 48 | +``` |
| 49 | +Segment sends Page calls to UserLeap as a `pageview` which you can use as filtering criteria for your surveys. |
| 50 | + |
| 51 | +**Important:** Add Page URLs mapped to your Segment Page call's `properties.url` field in your UserLeap [Events dashboard](https://app.userleap.com/events) before sending them through Segment. |
| 52 | + |
| 53 | + |
| 54 | +## Alias |
| 55 | +If you aren't familiar with the Segment Spec, take a look at the [Alias method documentation](https://segment.com/docs/connections/spec/alias/) to learn about what it does. An example call would look like: |
| 56 | +```js |
| 57 | +analytics.alias('newUserId'); |
| 58 | +``` |
0 commit comments