Segment is a customer data platform (CDP) that helps customers collect, clean, and control their customer data.
How to Set up the Integration
- Access Integrations > Integration Hub.
- Search for and select Segment.
- Click Setup connector.
- Give a name to your connector so you can easily retrieve it.
- [Optional] Check the box to automatically add the connector to your future campaigns.
- Click Save and create connector.
If you have checked the box, the connector will be automatically added to the Advanced step of your future campaigns. However, it is not applied retroactively to previously created campaigns.
If you left the box unchecked (default behavior), your connector won't be added automatically. You can still decide to send campaign data to your connector by selecting it from the Advanced options step of your campaign. More information on how to link a campaign is here.
You can also modify this behavior from the Integration hub, by editing your connector configuration (check or uncheck box).
Heads up ⚡
You must update the AB Tasty tag to make your changes live.
How to Check that the Integration is working
Before testing the integration, please make sure you have created a Source by installing the Segment tracker on your website (instructions here).
To test this integration, open the Debugger view of the Source and browse any page of your website on which an AB Tasty campaign is running (this campaign must have the Segment integration toggled on, as shown above).
In this view, you can see all the events received by the Source, and you can inspect any event by clicking on it.
If the integration is working, you will see a Track event named AB Tasty, which contains the following properties:
- Test Name
- TestID
- Variation Name
- VariationID
How to Use ABTasty’s Events in Segment
Segment is usually used to broadcast AB Tasty events to Destinations such as analytics tools so that they can filter AB Test Campaigns and Variations on the Dashboard. For further information on Segment’s Destination, check this documentation.