This message was deleted.
# ask-questions
w
This message was deleted.
f
Hi Ian, sorry for the delay - you have to call getAttributes() then append on anything else you need - setAttributes() over writes existing ones
GrowthBook does not do any saving of attributes by default
its fairly easy to add code to remember which side of the experiment were exposed to if re-assigning is not practical
👍 1
p
@fresh-football-47124 I think an improvement might to add a feature that lets you tell these attributes to persist across page views.
growthbook.persistAttributes = true
or
growthbook.saveAttributesToCookies()
If you're running an experiment that relies on attributes only available on another page, you have to do this so I would assume it's a pretty common use case.
Sorry I should've put this in #feedback channel. Thanks for your help though!
f
you can also open a github issue for this
p
sure! Will do
230 Views