Skip to content

New beta release

Pre-release
Pre-release
Compare
Choose a tag to compare
@jkw-statsig jkw-statsig released this 07 Oct 17:15
· 565 commits to main since this release
361dadf

This beta release adds the option to specify an experiment to be "sticky", i.e. once a user is in an experiment, they won't leave the experiment and their group will stay the same on the device until the experiment is concluded. It can be enabled with the new optional keepDeviceValue parameter:

const myExp = statsig.getExperiment('my_experiment', true); // 2nd param is the new param