Heya, when you initiate an experiment on the client side with useExperiment does this act in isolation with any experiments configured in the backend. E.g. splits weightings etc...?
f
fresh-football-47124
02/18/2022, 1:19 AM
hi Moss, by isolation, do you mean will a user get put into experiment 1 on the client, and also experiment 2 on the backend?
fresh-football-47124
02/18/2022, 1:20 AM
if I'm understanding it correctly, they use the same experiment definitions (the json object) so are aware of eachother
f
future-teacher-7046
02/18/2022, 1:20 AM
If you run an inline experiment with the SDKs, it will use the exact parameters you pass in. If you change the weighting within the growthbook UI, it will have no effect.
If I also have an experiment config with the key of new_logo_test_v3 will it use the weightings of the configured test or just do a 50 50 on the test defined inline.
f
future-teacher-7046
02/18/2022, 4:39 AM
It will just use the default 50/50 split defined inline. If you want to use remote configuration to change weights from within the growthbook UI, you can do that with feature flags and the
useFeature
hook instead.
e
early-battery-30877
02/18/2022, 5:37 AM
Does the use feature flag result in the trackingCallback still getting fired. Was seeing that on the useExperiment call but not on the useFeature call.
f
fresh-football-47124
02/18/2022, 5:47 AM
if the flag has an experiment rule, it will fire the tracking callback