{"action":"created","issue":{"url":"https://api.github.com/repos/seatgeek/sixpack-js/issues/8","labels_url":"https://api.github.com/repos/seatgeek/sixpack-js/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/seatgeek/sixpack-js/issues/8/comments","events_url":"https://api.github.com/repos/seatgeek/sixpack-js/issues/8/events","html_url":"https://github.com/seatgeek/sixpack-js/pull/8","id":106863587,"number":8,"title":"Add option “persist” to make client_id persistent.","user":{"login":"HeyHugo","id":1010517,"avatar_url":"https://avatars.githubusercontent.com/u/1010517?v=3","gravatar_id":"","url":"https://api.github.com/users/HeyHugo","html_url":"https://github.com/HeyHugo","followers_url":"https://api.github.com/users/HeyHugo/followers","following_url":"https://api.github.com/users/HeyHugo/following{/other_user}","gists_url":"https://api.github.com/users/HeyHugo/gists{/gist_id}","starred_url":"https://api.github.com/users/HeyHugo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HeyHugo/subscriptions","organizations_url":"https://api.github.com/users/HeyHugo/orgs","repos_url":"https://api.github.com/users/HeyHugo/repos","events_url":"https://api.github.com/users/HeyHugo/events{/privacy}","received_events_url":"https://api.github.com/users/HeyHugo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-16T21:03:58Z","updated_at":"2015-09-17T10:20:35Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/seatgeek/sixpack-js/pulls/8","html_url":"https://github.com/seatgeek/sixpack-js/pull/8","diff_url":"https://github.com/seatgeek/sixpack-js/pull/8.diff","patch_url":"https://github.com/seatgeek/sixpack-js/pull/8.patch"},"body":"When “persist” option string is set, client_id is stored in a cookie with this name. On any subsequent sessions the stored client_id is used as long as persist option is set.\r\n\r\nBy default persist = false.\r\n\r\nThis feature is useful if you want your users to get the same variation each time and only participate once."},"comment":{"url":"https://api.github.com/repos/seatgeek/sixpack-js/issues/comments/141037065","html_url":"https://github.com/seatgeek/sixpack-js/pull/8#issuecomment-141037065","issue_url":"https://api.github.com/repos/seatgeek/sixpack-js/issues/8","id":141037065,"user":{"login":"HeyHugo","id":1010517,"avatar_url":"https://avatars.githubusercontent.com/u/1010517?v=3","gravatar_id":"","url":"https://api.github.com/users/HeyHugo","html_url":"https://github.com/HeyHugo","followers_url":"https://api.github.com/users/HeyHugo/followers","following_url":"https://api.github.com/users/HeyHugo/following{/other_user}","gists_url":"https://api.github.com/users/HeyHugo/gists{/gist_id}","starred_url":"https://api.github.com/users/HeyHugo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HeyHugo/subscriptions","organizations_url":"https://api.github.com/users/HeyHugo/orgs","repos_url":"https://api.github.com/users/HeyHugo/repos","events_url":"https://api.github.com/users/HeyHugo/events{/privacy}","received_events_url":"https://api.github.com/users/HeyHugo/received_events","type":"User","site_admin":false},"created_at":"2015-09-17T10:20:34Z","updated_at":"2015-09-17T10:20:34Z","body":"What are your thoughts on this feature?\r\n\r\nI think this browser behaviour is the default on a/b-testing services such as optimizely and vwo.\r\nAnother solution would be to store the chosen variation in a cookie, then we could even skip doing a request to the server. Maybe this has some drawbacks I have not considered?"}}