https://www.growthbook.io/ logo
d

dazzling-quill-18166

07/26/2022, 2:49 PM
Hello everybody! I am trying to integrate growthbook experiments. So far I am fetching proper data from growthbook, but it seems that something might be wrong with my approach. I created simple experiment with default variations
Control
and
Variation 1
in my case I am just switching between GREEN and RED box. In experiment configuration I gave 100% traffic and
0/100 split
in favor of
Variation 1
. Unfortunately I am still receiving output for variation
Control
instead of only
Variation 1
. If there is anybody who would like to have a look at my dummy repo feel free to check it out https://github.com/krzysztofpodmokly/growthbook (Add your
apiKey
in
index.js
line 36). Repo created with
nextJS
basic template,
npm run dev
to run it. Once
devTools
are opened you can manipulate
userId
in
Application
tab. Thank you in advance!
f

future-teacher-7046

07/26/2022, 2:52 PM
Hi Krzysztof, if you are getting the control, it's most likely because you are not being included in the experiment and falling back to the default value for the feature.
Oh, looking at your code, I see you're running an inline experiment. The only way to control variation weights from the GrowthBook UI is to use feature flags instead.
Those sliders for the analysis only control how we report results and have no effect on the SDKs.
3 Views