What is server-side A/B testing?
Why and when choose server-side rather than client-side?
In the case of server-side A/B testing, the A/B test is rendered directly on the web server. It allows making more complex tests, with less impact on page load time and no flickering. Server-side testing is intended for IT, product and development teams: necessity to code the variation back-end and to push a code release. It therefore requires more flexibility and organisation in the process of creating experiments.
How to create and launch a server-side A/B test?
On the side menu of the back-office, click on “New project” (or “New test” on the A/B test Dashboard).
A pop-in is displayed on which you can choose between:
- Classic A/B test;
- Multivariate test (MVT);
- Server-side A/B test;
- Code-based A/B test.
Select “Server-side A/B test”.
We offer two types of test:
- 100% server-side;
- hybrid (both client and server).
Enter the mandatory fields and click on “Create”.
The graphic editor launches in a new tab.
When the server-side option is selected, the graphical editor offers only certain actions. The others must be implemented directly in the code of your website.
Add, edit, rename or delete a variation
Add, rename, delete
You are still able to add, rename or delete a variation from the graphic editor.
The edition of a variation is not allowed via the graphic editor. A pop-in is displayed to warn you.
Indeed, as you are on a server-side test, the editing options are not available: modifications must be coded directly on your server.
On the Finalize menu on the right, only the “Traffic allocation” and “Tracking and goals” steps are available.
Server-side tests are carried out “naturally” by the simple fact of coding the test implementation at the right place in your source code (so targeting is done naturally).
Distribute your traffic between the variations of your test, choose one or more reporting tools and one or more goals.
Then you can click on “Launch” to publish your server-side A/B test. Instead of the “Test summary” pop-in displayed in a classic A/B test, a pop-in informs you how to implement your server-side A/B test, indicating the IDs of:
- the test;
- each variation created;
- each goal associated.
All you have to do is integrate these IDs into the source code of your website. You can follow the guidelines available here.
How to manage your server-side A/B tests?
Find them in the A/B Dashboard
When a server-side A/B test has been created, its card is added in the A/B Dashboard, with the tag “Server-side”. You can use the filter tool to find all of your server-side tests.
Edit, duplicate or delete them
- You can edit a draft, online, deviated or paused server-side A/B test. In the A/B Dashboard, just click on the pencil icon on its card.
- You can duplicate any of your server-side A/B tests.
- You can delete a draft or stopped server-side A/B test.
Change their status
You can edit the status of a server-side A/B test via the test manager pop-in.
On the graphic editor, in the burger menu at the top left, click on “Open other tests”. The management pop-in appears.
How to access and analyze the results of your server-side A/B test?
In a 100% server-side A/B test, the analysis can only be done in Kameleoon. It excludes third party analytics solutions. If you want to send the results to Google Analytics for example, you need to create a hybrid test and follow this process.
As with all other types of tests, the results page of a server-side A/B test is accessible from the test card on the A/B Dashboard.
You cannot change the status of the test from this page and the targeting tab is not available in the right side menu.
What is server-side A/B testing? Kameleoon A/B testing in server-side mode is possible thanks to the availability of our SDKs…