Sure, let me explain to you how store function works on AppDrag.
First of all it is used to read and write to the local storage and to fallback on cookies if local storage isn't available on a device/browser.
The prototype is : store(key, value, onlyCookie);
To write to the local storage (with cookie fallback) :
store("name", "John Doe");
To get a value from the local storage (or cookie if it fell back) :
store("name"); // returns "John Doe";
To write a cookie :
store("name", "John Doe", true);
To Read a cookie (note that we use undefined because we want to get a value and don't want to write anything :
store("name", undefined, true); // returns "John Doe";