This message was deleted.
# ask-questions
w
This message was deleted.
r
Hi Mario, we'll take a look and get back to you as soon as we can on this.
f
I think thats our example code- and that works
GrowthBook is built to be quick, and you can add attributes after the fact - but flickering may still be a problem
esp if you put GA in the footer
c
I don't know why Google Analytics is affecting the page with flickering. 1. I'm initiating GB with attributes like the user's ID and other attributes I want to trigger on. 2. My experiments begin, causing changes to the page. 3. After Google Analytics is loaded, I send an event with the same user ID I sent to GB, along with the ID and variant of the experiment.
Am I correct? In this scenario, everything should work without a flickering effect. GrowthBook sets up the experiment based on attributes and the userId I initialized, and after Google Analytics is loaded, I simply send events for data analysis with the same userId
f
yes, that can work, though I’m not sure how it would work with the delayed trackingCallback
you may have to queue up those events yourself
139 Views