|
| 1 | + |
| 2 | +--- |
| 3 | +title: Userpilot Web (Actions) Destination |
| 4 | +id: 6480b4eeab29eca5415089d4 |
| 5 | +beta: true |
| 6 | +--- |
| 7 | + |
| 8 | +{% include content/plan-grid.md name="actions" %} |
| 9 | + |
| 10 | +Userpilot helps product teams deliver personalized in-app experiences to increase growth metrics at every stage of the user journey. When you integrate Userpilot with Segment, you can send your Segment events to Userpilot, which allows you to create more personalized experiences for your users. |
| 11 | + |
| 12 | + |
| 13 | +This destination is maintained by Userpilot. For any issues with the destination, [contact Userpilot's Support team ](mailto:[email protected]){ :target=" _blank"}. |
| 14 | + |
| 15 | +{% include content/ajs-upgrade.md %} |
| 16 | + |
| 17 | + |
| 18 | +## Getting started |
| 19 | + |
| 20 | +1. From the Segment web app, click **Catalog**, then click **Destinations**. |
| 21 | +2. Find the Destinations Actions item in the left navigation, and click it. |
| 22 | +3. Click **Configure Userpilot Web (Actions)**. |
| 23 | +4. Select an existing Source to connect to Userpilot Web (Actions). |
| 24 | +5. Find your Userpilot App Token in the [installation dashboard](https://run.userpilot.io/installation){:target="_blank"}. |
| 25 | + |
| 26 | + |
| 27 | +## Page |
| 28 | +If you're not familiar with the Segment Specs, take a look to understand what the [Page method](/docs/connections/spec/page/) does. An example call would look like: |
| 29 | + |
| 30 | +```js |
| 31 | +analytics.page() |
| 32 | +``` |
| 33 | + |
| 34 | +Calling the `page` from `analytics.js` triggers the `userpilot.reload` method that will check for any current running experiences on that page and fetch any new experiences that satisfy the specifed page settings. |
| 35 | + |
| 36 | +## Identify |
| 37 | + |
| 38 | +If you're not familiar with the Segment Specs, take a look to understand what the [Identify method](/docs/connections/spec/identify/) does. An example call would look like: |
| 39 | + |
| 40 | +```js |
| 41 | +analytics.identify('userId123', { |
| 42 | + |
| 43 | +}); |
| 44 | +``` |
| 45 | + |
| 46 | +Calling `identify` from `analytics.js` will trigger the `userpilot.identify`. Segment recommends passing as much data as possible to get the most out of Userpilot. |
| 47 | + |
| 48 | +Data passed in an Identify call can be organized under different categories. |
| 49 | +* Properties about the user such as `plan` or `userRole` to help targeting a specifc segment |
| 50 | +* Properties to personalize the content of the Userpilot experiences, such as `name` or `company` |
| 51 | +* Properties to target users based on their lifecycle, such as `createdAt`, which allows you to target newly created accounts or accounts that have yet to achieve a certain feature in the user lifecyle |
| 52 | + |
| 53 | + |
| 54 | +## Track |
| 55 | + |
| 56 | +If you're not familiar with the Segment Specs, take a look to understand what the [Track method](/docs/connections/spec/track/) does. An example call would look like: |
| 57 | + |
| 58 | +```js |
| 59 | +analytics.track('Clicked Login Button') |
| 60 | +``` |
| 61 | + |
| 62 | +Calling `track` from `analytics.js` will trigger `userpilot.track`. This sends event data to Userpilot where it can be used for content triggering. |
0 commit comments