Hello everyone, I implemented A/B testing using a feature flag with a boolean type:
false
for the old UI and
true
for the new UI. On the user's initial visit, the UI should be displayed randomly as either the old or new version. I also need to implement a switch on the UI so users can toggle between the old and new UI as they wish. Is this possible with GrowthBook using any built-in functions or methods
f
fresh-football-47124
01/28/2025, 6:02 AM
It is possible
fresh-football-47124
01/28/2025, 6:03 AM
our SDK has the randomization part
fresh-football-47124
01/28/2025, 6:03 AM
if you do an experiment
fresh-football-47124
01/28/2025, 6:03 AM
if they switch, cases, you'll not want to include them in the results
fresh-football-47124
01/28/2025, 6:05 AM
The easiest way to have a user opt-in is to set a forced rule, based on an attribute- and then have the user setting change the value of that attribute.