orange-train-515
10/27/2021, 8:28 AM<?php
$experiment = new Growthbook\Experiment(
"special-offers-test",
["Control", "Variation 1"]
);
$result = $user->experiment($experiment);
echo $result->value; // "Control" or "Variation 1"
The code itself doesn't reflect the configuration I chose (traffic split, traffic allocation).
Is there something I should add to this default PHP code?
I use interface on growthbook.io with PHP client library installed on my end.
Thanks!future-teacher-7046
weights
setting and for allocation you use the coverage
setting.orange-train-515
10/27/2021, 12:53 PM