Hi I see the UI can add multiple experiments for o...
# announcements
e
Hi I see the UI can add multiple experiments for one feature on feature setting page. But growthbook constructor trackingCallback: (experiment, result) only picks up the first experiment and its experiment data. How can one feature see multiple experiment data and results?
f
The trackingCallback only fires once per unique tracking key. So if you specify different tracking keys for the experiment rules in the UI it should fire twice
e
Hi I added a different tracking key for the additional experiment on the feature but the growthbook's trackingCallback still only calls the first experiment. I see the signature "trackingCallback? (experiment: Experiment<any>, result: Result<any>) => void; " it seems the parameter only for one experiment?
f
oh, I think I misunderstood your original question. When figuring out the value of a feature, we step through each rule and the first one that matches gets used. So once a user gets put into an experiment, they skip all of the rest of the rules
we only fire a tracking callback for the one experiment rule that was used to assign the value.
e
Jeremy, Thank you. Is it possible to have measure experiments based on different metrics for a feature ?
f
yes, you can add as many metrics as you want when analyzing experiment results
🙌 1