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.
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:
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":
This folder contains four datasources:
Segment_Pageswill contain all you
pagemessages from Segment
Segment_Trackswill contain all you
trackmessages from Segment
Segment_Identifyswill contain all you
identifymessages from Segment
Segment_Screenswill contain all you
screenmessages 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):
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:
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.
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.