Create a new Campaign in the Campaign Builder by selecting New, A/B Campaign.
Campaign Type
In the General section of the page, make this an Engine API Campaign by selecting Engine API from the Type drop-down. When you make this selection, SiteSpect automatically selects Engine API as the Set.
The following image shows the General section of the New Campaign page in the A/B Campaign Builder.
Variations and Their IDs
In the Variations section of the page, you see the Original Group and a Variation Group, which define a typical A/B test. When you save the Campaign, SiteSpect automatically assigns a unique ID to each Variation Group. These IDs determine what your application shows to your visitors. In other words, use the ID in your application code and wrap a change around it; the Engine API provides this ID when a visitor is assigned. You can use this ID to turn on the feature being tested.
The following image shows the Variations section of the New Campaign page in the A/B Campaign Builder after it has been saved. Notice the IDs in the red rectangle.
Metrics, KPIs, and IDs
The Campaign requires a Key Performance Indicator. In the Metrics section of the page, drag one of the Metrics to the Key Performance Indicator section of the page.
All Metrics have IDs that are used by your application to send visitor behavior data to the SiteSpect engines. The following image shows the Metric ID.
Click Preview to see the results of a GET call to each Variation Group. If your Campaign requires it, add more Variation Groups to create a split (A/B/n) test.