Introduction

Segment is a Customer Data Infrastructure (CDI) service provider, that provides a service that simplifies collecting and using data from the users of your digital properties (websites, apps, etc). With Segment, you can collect, transform, send, and archive your first-party customer data.

CleverTap has built an integration with Segment where we provide

  1. Integrated SDK
  2. API integration
  3. Export to Segment

API integration

Passing your Segment data into CleverTap can be achieved by the API integration.
Details about this integration are provided here

🚧

Transformation of User and Event Properties when using Segment HTTP API

Segment transforms user property and event property names when passing data to partners like CleverTap in the following scenario.

  1. Send data to Segment from your servers using the Segments HTTP API, if this data is.
  2. Send data to CleverTap using the Server Side CleverTap destination
  3. In this case, all event and user property names will be converted from 'sentence case' to 'snake_case'
    Example :
    Data passed from sever -> Segment
  • "Industry Of Traits":" Hello World"
    Data passed from Segment -> CleverTap
  • "industry_of_traits": "Hello World"

If the same data is being passed from multiple destinations to CleverTap, this will lead to the creation of 2 keys for every event and user property. We recommend using CleverTap's own API's to ensure data integrity.
More information on the CleverTap API's here

Export to Segment

CleverTap also provides a way in which you can export your data into your Segment account
Below are the steps to achieve it

1. Connect your Segment Account

To be able to send data from CleverTap into Segment, you will need to provide the credentials of your Segment account. This can be done by going into Settings -> Partner Data Exports -> Segment

2428

Enter the Segment write key in the field provided and save the credentials

2. Initiate export

You can initiate an export from CleverTap into Segment by going into Campaigns -> Create Campaign -> Partner Channels -> Segment

2264

You can create either a Past Behavior Segment export or an Action export.

You can use all the capabilities of the campaign like scheduling it for later, recurring, etc. to leverage the power of sending you CleverTap data into Segment