I have no idea how to save online, but locally you can use LocalStorage.
Add a function called SaveData (or whatever you want). In the function, add an action from the LocalStorage plugin to Set "____" to Value. Repeat that for anything you want to save (note that you cannot save booleans I think). Call SaveData whenever you want to save. Personally I like at the end of every layout and whenever something such as a purchase occurs.
Then add another function, LoadData, then for every thing you saved, add LocalStorage -> Check Item Exists as an action.
Then outside of the functions, add LocalStorage -> On Item Exists -> Get Item
Then On Item Get -> Set _____ (whatever variable, array, etc you want to load) to LocalStorage.ItemValue
Hope this helps!