Cookie Variables

Hey, is there a way to use cookie variables or any other way of saving the data for a user when he exits the page? Please help.

you can use JS cookies, or username and google docs.

You'd have to write a little JavaScript code.

Anyone want to create a library to do this?

What types of data? Cookies will work until we develop cloud variables but this opens users up to other potential tracking.

Can't we make the cookie readable only by Snap!?

Hey, I made a Cookie Library that's really easy to use:

if anyone needs it, here it is.

1 Like

I think there's an error when a cookie var doesn't exist, and setting them to lists doesn't work.