Using Split with Segment
What are Split and Segment?
Segment is a popular Customer Data Portal (CDP), software and APIs to collect, clean, and control their customers’ data. Split is the premier feature delivery platform, providing feature flags and experimentation as a service to engineers and product managers.
Why integrate? Segment is often used to capture what users see when they visit a site, where they clicked, and how long it took them to see a page. That information enables Split to setup A/B testing and alerts, giving the entire organization an impact-driven approach to features.
Pre-requisites
This video assumes you have familiarity with HTML and Javascript. While you don’t need to be an expert, it will help in understanding several steps.
In addition, you should have a login to Segment and a login to Split. Be ready to pass parameters from Split to Segment.
Getting Started
Create a basic HTML page
Introduce a Split
Control the page’s background color with a split you create.
Install the Segment SDK
This is Javascript on the HTML page. Verify that Segment and Split will share a user identifier key. Track an event to Segment.
Configure the Segment Integration
From Split, follow the steps to create a Segment integration.
Check Segment’s debug log
If any events are arriving in Segment, you know your track calls are working.
Create a Live Tail of Events in Split
When the integration has been properly configured, you will see event traffic from Segment.
Create a Split Metric
This is the backbone of Split A/B testing and alerting. Show alert policy.
Looking at Results
While it takes almost a thousand users for Split to reach statistical significance, you can reduce the statistical settings to allow it to happen faster. Look at sample test results.
Thank You
Thanks for watching this video about the Split and Segment integration.
Written with StackEdit.
Leave a comment