DEV Community

eitanwaxman
eitanwaxman

Posted on

Magic Button πŸ§™β€β™‚οΈ

This button may look like any plain old button but actually, it's magic.

Or at least sort of.

If you refresh the page this button may change.

Why?
This button logs clicks and runs tests based on a predefined sample size for optimization.

In other words, it does automatic A/B testing to provide the button that will convert the most.

It still has a limited range of tests and the integration method is a little quirky but I think this is a viable prototype for a very useful embeddable.

You can see the full documentation on my GitHub.

Looking forward to your feedback!

Top comments (0)