This message was deleted.
# ask-questions
w
This message was deleted.
f
I suggest using the ready event to update the attributes within GrowthBook. https://segment.com/docs/connections/sources/catalog/libraries/website/javascript/#ready
something like:
Copy code
analytics.ready(function() {
  growthbook.setAttributes({
    ...growthbook.getAttributes(),
    id: analytics.user().anonymousId();
  });
});
f
Fantastic, will give this a go. Thanks Graham!
142 Views