we want to add some A/B tests to our new website. Because it's not only changing a button color from green to red, using tools like optimizely isn't the right approach imo. Furthermore we should do this server-side. Unfortunately the AB testing package from Jens Segers (https://github.com/jenssegers/laravel-ab) isn't compatible with Laravel 5.4
So my question is: Do you guys have any alternative? Or maybe another better approach? How are you doing complex A/B testing?
@bart A/B testing is a pretty complicated when calculating statistics in order to provide valuable data about what is the winner in an A/B test. this is why there are specialized tools to handle this kind of stuff. I think it would help if you could point out what are you trying to test that can't be accomplished by an existing tool.
Exactly, that's why we searched for a package. In the end we created our own you can find here: https://github.com/bart/ab
We are not able to use providers like Optimizely and Google A/B because we don't just want to change one button but instead about 70% of the page including logical stuff (which needs changes in our core Vue components). For sure, there maybe is some way to handle it with those tools but in the end in my opinion this will take more effort than coding it into the project itself. For us this was the best solution.
Hi guys. The library by Bart might be really helpful. Also, I want to share the other great solution for A/B testing with Laravel which is compatible with 5.4 - ABRouter.
The main difference is UI for creating an experiment. I have made it for my own purposes and successfully used it in my projects.
UI for creating an experiment or changing the percent/turn off is the must.
ABRouter Laravel client: https://github.com/abrouter/laravel-abtest
There you can also find the usage example. After the set up you don't need to do anything, except the creating "if" for running the experiment.
Additionally, we plan to release built-in statistics soon. Currently available for free and without any limits.