Hi, I’m still testing GB and now I’ve come across ...
# ask-questions
b
Hi, I’m still testing GB and now I’ve come across the following: I need to get variation_id before the trackingCallback is executed, is there a way to do this with the react SKD?
f
Interesting - yes, it’s possible… not sure you should do it…
can you explain more about the use case?
b
Hi @fresh-football-47124, I’m trying to show a variant before executing the callback, since I need to save the result based on an action after the user sees the experiment, I see in devtools that it shows that it shows the assigned variant, but I can’t find the way to access it with the react sdk
f
could you just save it from the tracking callback?
you can put whatever you like in that
you can also use
gb.evalFeature("my-feature");
to get more details about what was chosen for the user
b
Copy code
could you just save it from the tracking callback?
yes, It is an option that I am evaluating, but I wanted to see if there is any other way to get it before the callback is fired
Copy code
you can also use gb.evalFeature("my-feature");  to get more details about what was chosen for the user
I tried this, but the callback is fired