Community Groups are officially here!
We've released Groups, a new feature that enables us to connect community members of similar industries and interests in a shared, private space. You can check out all of the details here, including information about who can join, how to join, and what Groups are currently offered. Please leave your feedback through this Community Groups Feedback Survey.

Embedded data defined in Javascript doesn't show up in responses

maruiu
maruiu Community Member Qubie ✭

Hello,

In my survey, I define embedded data in JavaScript. I use the following type of script:

Qualtrics.SurveyEngine.setEmbeddedData("EmbeddedDataFieldName", jsVar);

However, none of the embedded data fields are visible in the responses - not event the one embedded data field which is defined in Javascript, but then used in the survey flow (I have reasons to define it there, and it is not possible to define it in the survey flow instead, given what I want it to do).

What can I do about this? Older suggestions mention ticking "Use legacy ViewResults format" when experting in csv, but this seems outdated.

https://www.qualtrics.com/community/discussion/5839/javascript-populated-question-data-not-appearing-in-responses

https://www.qualtrics.com/community/discussion/15061/help-with-exporting-embedded-javascript-data

Tagged:

Best Answer

  • maruiu
    maruiu Community Member Qubie ✭
    Accepted Answer

    I figured out a solution. It may not be the most efficient one, but it works.

    If an embedded data field set in JavaScript is called "variable" and it's defined in Block 1, go to the Survey Flow and define a new embedded data field after Block 1, say "variable1", and set it equal to ${e://Field/variable}.