Skip to main content

Implement an experiment

Use a language-specific Statsig SDK to implement the experiment in your application

To deploy your experiment, your application must pull the experiment configuration from Statsig and log the required events with Statsig.

config = statsig.getExperiment("change_get_a_demo_button_color")

...
statsig.logEvent("sign_up_completed")

Still Stuck?

Join our Slack community and chat with our Engineers and Data Scientists