Random code generator | XM Community
Skip to main content
I am hosting my survey through MTurk and I would like to create a random code for each person who completes the survey. Is there a way to do that?
Yeah! Qualtrics has a random number generator, but it can't be relied on to not give repeats (you might give two people the same random number). One thing I would do is use a Javascript library like short-unique-id https://www.npmjs.com/package/short-unique-id. If you need help implementing that, let me know!
This survey is in Qualtrics and redirected, so the random code would be in my Qualtrics survey.
Awesome, this is great Michael, thank you. I am going to play with is and see if I can figure it out. If not, I will love help. I will let you know either way!

Leave a Reply