Hi all, is there any best practice on how to store some userdata into the users context that will persist during pageviews?
Background: we have an experiment (using the JS SDK on a website) which has a random part in it.
Example (just for the illustration, the real one is more complex and does make more sense):
Base Variant: show news-headline 1
Variant: show a randowm news-headline out of a set of x other news-headlines
Goal: check if news-headlines 1 is performing different then all of the other news-headlines
Problem: if a user is within the variant, we want to make sure that he is always seeing the same headline (which is a randomly choosen one on his first pageview).
Current solution: store the news-headline that the user has actually seen in an additional cookie, and set it into user context.
We are just wondering if there is another best practice as we don't want to have to many cookies. Our expection would be, that using gb.setAttributes would persist.
Thanks, Arne