Creating an Engine API (Mobile App) Campaign

Create a new Campaign in the Campaign Builder by selecting NewA/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.

Note: You can also select Experiments, Personalization, or other custom sets. In addition, you can enable Campaigns for Engine API using the Enable for Engine API check box in the Advanced Settings area to make this Campaign available to the Engine API.

The following image shows the General section of the New Campaign page in the A/B Campaign Builder.

Creating an Engine API Campaign - Mobile App Sales Item

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.

Creating an Engine API Campaign - Mobile App Sales Item II

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.

Creating an Engine API Campaign - Metrics

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.

Creating an Engine API Campaign - Add to Cart

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.