statsig-sidecar-v2-beta
v2.5.0
Published
Statsig helps run simple web experiments by using a no-code visual editor.
Downloads
523
Keywords
Readme
Statsig Sidecar
Statsig sidecar helps marketing teams build and run experiments without needing to write or modify code.
You can register a pre-init experiment callback through window.statsigSidecarConfig:
window.statsigSidecarConfig = {
onExperimentEvaluation: function (event) {
// event.name === "experiment_evaluation"
// event.experiment is the Statsig experiment instance
},
};Unlike window.postExperimentCallback, onExperimentEvaluation fires once per Sidecar experiment evaluation, including experiments activated later through prerun scripts via StatsigSidecar.activateExperiment(...).
