|
1 | 1 | ---
|
2 |
| -title: 'Cliff Destination' |
3 |
| -hidden: true |
4 |
| -beta: true |
5 |
| ---- |
| 2 | +title: Cliff Destination |
| 3 | +rewrite: true |
| 4 | +--- |
| 5 | +[Cliff](https://cliff.ai/?utm_source=segmentio&utm_medium=docs&utm_campaign=partners) monitors all your metrics in real time, detects unexpected changes (such as a sudden spike or dip), and notifies you immediately. It also shows you the root cause behind the unexpected change. |
| 6 | + |
| 7 | +This destination is maintained by Cliff.ai. For any issues with the destination, [contact the Cliff Support team ](mailto:[email protected]). |
| 8 | + |
| 9 | +## Getting Started |
| 10 | + |
| 11 | +{% include content/connection-modes.md %} |
| 12 | + |
| 13 | +1. Go to the [Cliff Integrations library](https://app.cliff.ai/apps/anomaly-detection/integrations/inbound). |
| 14 | +2. Find "Segment" in the list of available integrations and click **Start**. |
| 15 | +3. Name your integration and click **Authorise Segment**. |
| 16 | +4. Select your Workspace and Source and click **Allow**. |
| 17 | +5. [Create a Data Stream on Cliff](https://app.cliff.ai/apps/anomaly-detection/data-streams/create-streams). Choose which Segment events and dimensions to start monitoring. Enter the name of the event and click the blue **+** button. Repeat to add dimensions. Click **Continue**. |
| 18 | +  |
| 19 | + **Note**: Cliff ingests _only_ the events you select in this screen. |
| 20 | +6. Select how often Cliff should batch the data that Segment sends. |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | +## Track |
| 25 | + |
| 26 | +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: |
| 27 | + |
| 28 | +```js |
| 29 | +analytics.track('Login Button Clicked') |
| 30 | +``` |
| 31 | + |
| 32 | +Segment sends Track calls to Cliff as a `track` event. |
| 33 | + |
| 34 | +## Page |
| 35 | + |
| 36 | +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: |
| 37 | + |
| 38 | +```js |
| 39 | +analytics.page() |
| 40 | +``` |
| 41 | + |
| 42 | +Segment sends Page calls to Cliff as a `pageview`. |
| 43 | + |
| 44 | +## Screen |
| 45 | + |
| 46 | +If you aren't familiar with the Segment Spec, take a look at the [Screen method documentation](https://segment.com/docs/connections/spec/screen/) to learn about what it does. An example call would look like: |
| 47 | + |
| 48 | +```objc |
| 49 | +[[SEGAnalytics sharedAnalytics] screen:@"Home"]; |
| 50 | +``` |
| 51 | +
|
| 52 | +Segment sends Screen calls to Cliff as a `screenview`. |
| 53 | +
|
| 54 | +## Identify |
| 55 | +
|
| 56 | +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: |
| 57 | +
|
| 58 | +```js |
| 59 | +analytics.identify('userId123', { |
| 60 | + |
| 61 | +}); |
| 62 | +``` |
| 63 | + |
| 64 | +Segment sends Identify calls to Cliff as an `identify` event. |
| 65 | + |
| 66 | +## Group |
| 67 | + |
| 68 | +If you aren't familiar with the Segment Spec, take a look at the [Group method documentation](https://segment.com/docs/connections/spec/group/) to learn about what it does. An example call would look like: |
| 69 | + |
| 70 | +```js |
| 71 | +analytics.group("0e8c78ea9d97a7b8185e8632", { |
| 72 | + name: "Initech", |
| 73 | + industry: "Technology", |
| 74 | + employees: 329, |
| 75 | + plan: "enterprise", |
| 76 | + "total billed": 830 |
| 77 | +}); |
| 78 | +``` |
| 79 | + |
| 80 | +Segment sends Group calls to Cliff as a `group` event. |
0 commit comments