Hi! I have a pretty annoying issue (nothing to do ...
# announcements
b
Hi! I have a pretty annoying issue (nothing to do with GrowthBook) but could do with some advice. We want to run tests with an anonymous identifier on our homepage. Initially the plan was to use the pseudo id from Google Analytics. This works great if the user has the _ga cookie in their browser already because we set the attribute in GrowthBook on load and then the SDK does the rest. The problem comes when we have a user that doesn’t have the _ga cookie yet (new user to the site). I try to set the attributes on GrowthBook straight away but the cookie isn’t there until about a second after the page loads. I could wait for the cookie but then the experiment would flicker for new users on the homepage. Has anyone had to deal with a similar thing before and were there any solutions besides having the flicker or generating our own anonymous id for all users!
f
this is a problem with new users
you can set your own identifier to prevent this, and log it to GA or your data warehouse.
b
Thank you!!