How Does A User Access Their Own Record Across Sessions?
I'm not 100% sure how to ask this, but what I want to know is - what ensures that a user will always connect to their record across multiple course sessions? If they close the course and return to it, will the course connect to their record, or will they generate a new record? Would resetting their browser cache/cookies cause them to generate a new record? Anyway to have them connect to their current record across multiple devices?
Thanks!
Reply
Posted on 3/6/2022
Please type your reply.
@support
Yes. If you can save and reuse the value of the token that was assigned to them (variable stencilusertoken), then they will be able to access their previous records instead of creating new entries.
Reply
Posted on 3/6/2022
@puntomov
@johnhambrcluelabssupport Could you give an example of how to save and reuse the value of the stenciltoken to access later to user data? How would we search it on Data Cloud and how to get the rest of the fields in a later session?
Reply
Posted on 3/6/2022
@support
#1: You can use anything from saving the token value as a cookie using a JavaScript trigger to saving it in the LMS and passing it to the module via a URL parameter.
#2: You don't search them. That's the whole point of using a token. If everyone could access everyone's information there would be no reason to use tokens in the first place.