Hello, I'm having an issue with the growthBookTrac...
# ask-questions
s
Hello, I'm having an issue with the growthBookTrackingCallBack not getting called (in Flutter). This callback is supposed to get triggered whenever the user enters an experiment via the 'feature().on' method, correct? Or is there another way to let the user enter into an experiment?
f
Yes, that is correct
What rules do you have on the feature?
s
Just a very basic 50-50 split
The feature().on call also gets triggered without issues (although it always returns the default value, which made me think that I'd have to activate the experiment somehow)
f
Are you setting the id attribute?
s
no, is that supposed to be in the attributes array?
Alright, that was it!
Thanks for the help, the event got triggered and I'm in the 2nd variant
f
Nice- yes, the attributes you have in the GrowthBook UI need to match what you pass to the SDK
👍 1
s
I think it would be very helpful to have a tutorial on YouTube on how the whole system connects on both sides
There is a lot of content about Growthbook itself, but not about the ins and outs of the SDKs, even if it was just in JS, a dev can easily understand it and use the knowledge for the other SDKs