Skip to content

Commit 5d0b13b

Browse files
Paul YooPaul Yoo
authored andcommitted
index.md
1 parent 3deb48a commit 5d0b13b

File tree

1 file changed

+46
-0
lines changed
  • src/connections/destinations/catalog/crisp

1 file changed

+46
-0
lines changed
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
---
2+
title: Crisp Destination
3+
rewrite: true
4+
---
5+
[Crisp](https://crisp.chat/?utm_source=segmentio&utm_medium=docs&utm_campaign=partners) is an all-in-one solution to communicate with your customers using text-messaging.
6+
7+
This destination is maintained by Crisp. For any issues with the destination, [contact the Crisp Support team](mailto:[email protected]).
8+
9+
## Getting Started
10+
11+
{% include content/connection-modes.md %}
12+
13+
1. Go to the [Crisp Plugins page](app.crisp.chat).
14+
2. Search for the "Segment" plugin, click **Connect to Segment**.
15+
3. The Segment App opens in a new window. Log in to authenticate the connection from Crisp.
16+
4. Select the Workspace and Source to connect with Crisp.
17+
18+
## Identify
19+
20+
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:
21+
22+
```js
23+
analytics.identify('userId123', {
24+
name: 'John Doe',
25+
26+
phone: '012346789',
27+
avatar: 'https://pbs.twimg.com/profile_images/834424630630817795/TfyS4uXb_400x400.jpg'
28+
});
29+
```
30+
Send Identify calls to create or update a User profile. The `email` trait is required to create new Users.
31+
32+
## Track
33+
34+
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:
35+
36+
```js
37+
analytics.track('Completed Purchase', {
38+
revenue: 42.99,
39+
shippingMethod: '2-day',
40+
category: 'Conversion'
41+
});
42+
```
43+
> warning ""
44+
> Be sure you send an Identify call for any user who will trigger Track calls. If Crisp receives a Track call for an unknown `userId`, the call is dropped.
45+
46+
Crisp adds Track events to the User's profile events stream.

0 commit comments

Comments
 (0)