This message was deleted.
# announcements
w
This message was deleted.
f
Hi Mridul 1. That is one of the ways you can run experiments with GrowthBook. 2. The other main way is to use a feature flag with an experiment rule to launch the experiment. This gives you control of the experiment running, targeting, splitting, etc, to a UI which requires no code changes 3. You get the same variation every time as we use deterministic hashing, but the variation you’re served is not saved by us. We do trigger the trackingCallback for users in an experiment, where you will log this event for future analysis
s
Hi Graham, If i need to do analysis, instead of using callback can i directly send events on what value if got using .getValue() ? If yes, in what scenario callback really helps ?
@fresh-football-47124
f
I’m not sure i understand
the callback is useful when you have an experiment controlled via the GrowthBook feature flags UI
if you want to define your experiments manually, we have inline experiments for that
if you want to do it even more manually, you don’t need to use our SDK at all, and can just use us for the experiment results
s
Hey Graham I meant..the callback is called after the experiment is completed and then we send the events inside the callback function. We can achieve same without using callback right ? By just sending events after
Copy code
GrowthBook growthBook = new GrowthBook(context);

        Integer value = growthBook.getFeatureValue("discount", 1);
after this we can just send event with the value we got here !!
141 Views