Hi everyone, while I tested the 2 versions of the ...
# ask-questions
l
Hi everyone, while I tested the 2 versions of the experiment with this function growthbook.setAttributes({ id: TRY RANDOM NUMBERS, }) random users and everything works well. After I deployed the website all the 20 users I tried get the default value of the feature (only true in my case), while my experiment is 50%-50%. That's why I'm not sure if everything works correct at deployed site and if the experiment is enabled, because my Growthbook dashboard doesn't collects data yet (the experiment started before one week, and my website has traffic). Any idea what's going wrong? Thank you!
f
what is your event tracker?
l
GA4
f
with GTM?
l
Yes
f
you likely have to add the custom event to GTM to enable it to be passed to GA4
we added a lot of documentation around this
l
sorry, I set up growthbook with ga4 and big query https://docs.growthbook.io/guide/GA4-google-analytics
Should I also do it with gtm?
f
you'll want to make sure you're seeing experiment viewed events in GA4
no, you don't have to
l
so should i check the doc you provide me or something else?
f
check in GA4 itself
do you see any events that match what you set in the trackingCallback? (if you didn't use our no-code script)
l
thank you very much, I think I found the problem
f
ok