Crisp provides a Segment.IO integration, that is included in all our Unlimited plan. The Segment integration lets you sync all your data from third-party sources to Crisp using Segment.

Segment integration is available from the Crisp Unlimited plan

Connect to your Crisp Dashboard

Go to app.crisp.chat
Go to the plugins section
Search the plugin “Segment”
Click “Connect to Segment” to auto-configure Crisp with segment
Crisp should be then able to send data to Segment

Creating a contact on Crisp using Segment

To create a contact on Crisp using segment you need to use the Identify method. Here is an example:

analytics.identify('userId123', {
name: 'John Doe',
email: 'john.doe@segment.com',
phone: '012346789',
avatar: 'https://pbs.twimg.com/profile_images/834424630630817795/TfyS4uXb_400x400.jpg'
});


When you call identify, the name, email, avatar, and phone traits included in the call will be set to the current user in Crisp.

You can then see your contact using the Contact section on Crisp

A user was created with the data provided from Segment

Note that the email Trait is mandatory to create a Crisp contact.

Tracking events on a Crisp contact using segment

To track events on a Crisp contact you need to use the Track method from the Segment SDK. An example call would look like:

analytics.track('Completed Purchase', {
revenue: 42.99,
shippingMethod: '2-day',
category: 'Conversion'
});


This method is very similar to Event method from the Crisp JS SDK (https://help.crisp.chat/en/article/how-can-i-push-user-events-pxu9vm/)

You can see the Track events in the event section on Crisp
Was this article helpful?
Cancel
Thank you!