In this use case, we will walk through an experiment that explores how different delivery prices influence cart conversion rates. This setup can be used to test different pricing scenarios, for example:
- Increasing or decreasing delivery fees
- Offering varying prices compared to uniform prices
- Any scenario where you want to compare different prices
Learn how to:
- Set up the Checkout configuration
- Configure the experiment
- Update your Connection to use an Experiment
-
View the test results
Set up the Checkout configuration
First, you need to configure the Checkout configuration that you want to compare to your default Checkout. The easiest way to do this is by duplicating your default configuration and making changes to the part you want to test.
- In nShift Portal go to Checkout > Configurations and locate your default checkout.
- Click on the three dots menu and choose Duplicate.
- Update the Name of the configuration to differentiate it from the original configuration. The name is only for internal use and will be displayed in the Checkout’s configuration interface.
- Select the member account where the Checkout configuration should be saved.
- Select a template and a sender. All other settings will be prefilled with the data from the original configuration.
- Go to Delivery options and change the prices of the delivery options according to what you want to test. Choose one type of change per experiment, e.g.:
- Decrease the prices to test the effect of lower prices.
- Increase the prices to test the effect of higher prices.
- Vary the prices to compare to uniform prices in the default configuration or the other way around if the default configuration has varying prices.
- Click Save.
Note: If you are setting up a Checkout configuration from scratch, you can find instructions in this article: Create an nShift Checkout configuration
Configure the experiment
We are now ready to configure the experiment. This is a simple setup because we only want to split the traffic between our two configurations with different pricing.
- Go to Experiments in the top menu and click Create new experiment.
- Fill in Name and choose the Member account from the drop-down list (should be the same as used for your checkout configurations).
- Add a description to remember the purpose of the experiment.
- Enter the Start and Stop date of the experiment. The experiment will only run during this period. When the current date is before or after the experiment period, the configuration or group defined in the connection will be used.
- Click Add new condition and use the toggle switch to Disable condition.
- Add the two checkout configurations that should be compared and set the traffic share to 50% for each.
- Click Continue and Save. The experiment will run for the planned time.
- If you are using our API remember to update your connection to point to the experiment (read more here).
Image showing the entire experiment setup:
The Checkout widget examples
Configuration A: Default prices:
Configuration B: Lower prices:
Update your Connection to use an Experiment
If you are using the Checkout API, your requests contain a Connection ID to identify your Checkout configuration. To use an Experiment in your current integration, you simply point your connection to an Experiment. This is easily done in the user interface and requires no code changes.
- Go to Connections in the top menu.
- Click the three-dots menu next to the Connection used by your integration and choose Edit.
- Select the Experiment to be used from the Experiment drop-down list.
- Click Save. The Connection ID will now point to the Experiment instead.
View the test results
When the experiment is completed, you can download a metrics file to analyze the results.
- Go to Experiments in the top menu.
- Click the three-dot menu next to the experiment for which you want the results and choose Download Results.
- Click the Export button in the pop-up. The dates for the experiment are prefilled but you can adjust them if needed.
- A CSV file will be generated soon with the data collected during the time period.
You can also see key metrics under Segmentations > Results on the experiment configuration page.
Metrics data in the report
Below is an overview of the metrics included in the CSV file. Each line in the file represents a checkout session and its data.
- Member Account ID
- Request ID
- Connection ID
- Group ID
- Checkout ID
- Checkout Version
- Receiver Postal Code
- Receiver Country Code
- Language Code
- Currency Code
- Option ID
- Option Name
- Option Index
- Source System
- Carrier ID
- Carrier Product ID
- Created
- Selected
- Shipment Count
- Total Request Price
- Total Checkout Price
- Total Addons Price
- Total Full Price