Having Qualtrics record outputs of custom code as a reponse | XM Community
Skip to main content

Hi everyone,
As one of the questions in my survey, I have coded a 'game' for survey participants to play. The results of their play are returned as an array in the code. I am wondering if it is possible for Qualtrics to record this array as a question response data.
Does anyone have experience doing this or know how to do it?
It would be incredibly helpful. Many thanks.

flatten your data into a string and then store it as an embedded variable using

Qualtrics.SurveyEngine.setEmbeddedData("embedded variable name", data variable)
.
More details here.


Leave a Reply