Skip to main content

A/B Testing

Faslet can conduct A/B testing experiments on size-me and try-on. We can define different experiments and their variants, and the system will randomly assign users to different variants. The system will then call a callback function when the experiments are ready, passing the active experiments as an array of strings. This allows your team to analyze the results of the experiments and make data-driven decisions.

Implementation

As from our documentation on the window._faslet object, the callback is called with the following parameters:

interface Window {
_faslet?: {
onExperimentsReady?: (
activeExperiments: string[]
) => unknown; // Will be invoked when experiments are loaded
}
}

The activeExperiments parameter is an array of strings, each string representing an active experiment variant.

Help

In case of any questions, please don’t hesitate to contact us on support@faslet.me