In my previous blog Part 1, I have explained what is A/B testing and why we need A/B testing. Now I will discuss about different ways of A/B testing. Mainly there are two ways of A/B testing Client side and Server side.
Client Side A/B testing:
Relatively quick and easy to deploy. It actually works only on the browser where you will inject javascript code to the browser to modify your UI/UX. The client-side approach is by far the most common solution employed in the market today. In this approach, all tests and experiences are rendered from the client-side browser, using Javascript. There are few.
Advantages of client-side A/B testing:
- Easy to deploy.
- Easy to work around.
- No backend limitations.
- Even non-technical people can work by the help of visual editor.
- Only need basic javascript, HTML and CSS to develop a complex test.
- No risk to conflict with your production code.
Disadvantage of client-side A/B testing:
- Only targeted on browser.
- Some times control flicker can arise.
- Limited to the page functionality not to the app functionality.
- Not able to work on business logic.
- Sometimes page takes time to load.
- Few browser can block third party A/B testing tools to inject script.
Server-side A/B testing:
Server-side A/B testing is a form of experimentation where the variations of a test are rendered directly on the web server, before it is delivered to the client. So you need to deploy you variations code to the server.
Advantages of server-side A/B testing:
- Write the same programming language which is using in the server.
- Get more customising option in you app functionality.
- No control flicker as code is coming from the server itself.
- Work on any business logic inside your application.
Disadvantage of server-side A/B testing:
- Time consuming and harder development process compare to client-side.
- Every time needed production deployment to host the test.
- Built into your web application tech stack.
There are many tools in the market to work on A/B testing. We will discuss about some A/B testing tools and their architecture in our future blog . Happy Coding !!!!!
Top comments (0)