Is there a way to have the trackingCallback trigge...
# ask-questions
c
Is there a way to have the trackingCallback trigger when previewing a visual experiment? I’d like to test that’s working correctly
r
Hi David, when you refer to previewing a visual experiment, do you mean that you want to see for yourself what it looks like before turning on the experiment for your users? Did you create the experiment using the Visual Editor or in the GrowthBook dashboard?
c
Created via the visual editor - I’m able to preview how it looks, but the trackingCallback function doesn’t seem to run
r
Hi David, this is still on my radar. I'm getting caught up from the holiday weekend in the US and will reply as soon as I can.
🙌 1
Hi David, the trackingCallback isn't fired by design since we 'short-circuit' the SDK's experiment rendering flow for previews. I'm not sure there's a way to do this currently, other than to run the experiment and see it happen live.
c
Got it - that’s what I ended up doing. Thanks!
👍 1