Segment is a customer data platform (CDP) that 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, access your account’s Integration settings in Settings > Integrations > Web Analytics tools. Then toggle it ON.



How to Check That the Integration Is Working


Before testing the integration, please make sure you have created aSourceby 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.

Was this article helpful?