worried-planet-2191
02/14/2022, 2:34 AMfuture-teacher-7046
future-teacher-7046
icy-terabyte-95368
02/14/2022, 2:39 AMicy-terabyte-95368
02/14/2022, 2:39 AMfuture-teacher-7046
id for logged in user id (set to empty string for anonymous) and anonId with a cookie id or similar that is passed for all users, logged in and anonymous.future-teacher-7046
icy-terabyte-95368
02/14/2022, 2:44 AMfuture-teacher-7046
future-teacher-7046
icy-terabyte-95368
02/14/2022, 3:00 AMfuture-teacher-7046
icy-terabyte-95368
02/14/2022, 3:23 AMicy-terabyte-95368
02/14/2022, 3:24 AMfuture-teacher-7046
icy-terabyte-95368
02/14/2022, 3:38 AMfuture-teacher-7046
growthbook.setRenderer(() => {
// re-render your app here
})
Then when the user switches accounts, you would just call setAttributes with the new account infoicy-terabyte-95368
02/14/2022, 4:31 AM