polite-hairdresser-7151008/18/2023, 3:38 PM
method in order to implement basic targeting rules. It seems that when I call
for a given user, the set attributes do not persist in the next page view. For example, I have a test that I want to only run in the US. When a user lands on the homepage I call
. The issue I'm seeing however is on the next page (say the user clicked on an article), attributes is now empty again. I was under the impression that these attributes would be saved in cookies or local storage and persist across the user's experience. Is this not the case? What is the recommended way of handling this.
polite-hairdresser-7151008/21/2023, 4:54 PM
growthbook.persistAttributes = true
polite-hairdresser-7151008/21/2023, 5:00 PM