Segment connector

Messages sent to Segment can be pushed to Serenytics. They will be stored in the internal Redshift datawarehouse of your account.

So far, only track, page, identify and screen calls in Segment can be enabled in Serenytics.

Step 1: Enable Segment in Serenytics

In the "Data" menu, click on the button "New data source" in the top-right corner.

Create a datasource

Then, in the tab "Web Services & API", click on "Segment". This redirects you to the Segment website where you can choose which Segment source will be connected to Serenytics:

Create a datasource

Choose the Source you want to connect to Serenytics and click on "Allow".

This will redirect you to the Serenytics page of a new datasource folder named "Segment integration":

Create a datasource

This folder contains four datasources:

  • Segment_Pages will contain all you page messages from Segment
  • Segment_Tracks will contain all you track messages from Segment
  • Segment_Identifys will contain all you identify messages from Segment
  • Segment_Screens will contain all you screen messages from Segment

At the very begining, if you open one of these datasource, an error message will warn you that it is empty (i.e. it has not received any message as there can be a one minute delay between a message is received in Segment and its availability in Serenytics):

Configure

Step 2: Use your Segment data in Serenytics

After a few minutes, your Serenytics datasource should have received calls from Segment. Click on the refresh button and the data preview will show the received rows:

Configure

Note that Serenytics adds two fields when data is received:

  • serenytics_timestamp: the datetime when the data was received in Serenytics
  • serenytics_uuid: a unique identifier of the message added by Serenytics

Hint: if you want to have some statistics about one column, click on the histogram icon just below its name.

Your Segment data is now available in Serenytics. You can start creating dashboards on this data or use our ETL to aggregate it and store the results in other datasource.

Model evolution

If your messages contain a new field (i.e. a field that didn't exist in previous messages), a new column for this field will be automatically added to the corresponding storage in Serenytics. All previous rows (i.e. previous messages) will have this field set to NULL.