Segment is a customer data platform (CDP) which helps customers collect, clean, and control their customer data.
Linking a campaign to Segment
If you use Segment, you can link it to an AB Tasty campaign by opening the Advanced options step of your campaign’s settings.
To enable Segment integration for every new campaign by default, go to your account’s Integration settings in Settings > Integrations > Web Analytics tools, and toggle it on.
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
- Variation Name
How to use ABTasty’s events in Segment
Usually, Segment is used to broadcast AB Tasty events to Destinations such as analytics tools in order to be able to filter the dashboard on AB Test Campaigns and Variations. For more information on Segment’s Destination, check this documentation.