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
Embedded data defined in Javascript doesn't show up in responses
Best answer by maruiu
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}.
Sign up
Already have an account? Login
Welcome! To join the Qualtrics Experience Community, log in with your existing Qualtrics credentials below.
Confirm your username, share a bit about yourself, Once your account has been approved by our admins then you're ready to explore and connect .
Free trial account? No problem. Log in with your trial credentials to join.
No free trial account? No problem! Register here
Already a member? Hi and welcome back! We're glad you're here 🙂
You will see the Qualtrics login page briefly before being taken to the Experience Community
Login with Qualtrics
Welcome! To join the Qualtrics Experience Community, log in with your existing Qualtrics credentials below.
Confirm your username, share a bit about yourself, Once your account has been approved by our admins then you're ready to explore and connect .
Free trial account? No problem. Log in with your trial credentials to join. No free trial account? No problem! Register here
Already a member? Hi and welcome back! We're glad you're here 🙂
You will see the Qualtrics login page briefly before being taken to the Experience Community
Login to the Community
Welcome! To join the Qualtrics Experience Community, log in with your existing Qualtrics credentials below.
Confirm your username, share a bit about yourself, Once your account has been approved by our admins then you're ready to explore and connect .
Free trial account? No problem. Log in with your trial credentials to join.
No free trial account? No problem! Register here
Already a member? Hi and welcome back! We're glad you're here 🙂
You will see the Qualtrics login page briefly before being taken to the Experience Community
Login with Qualtrics
Welcome! To join the Qualtrics Experience Community, log in with your existing Qualtrics credentials below.
Confirm your username, share a bit about yourself, Once your account has been approved by our admins then you're ready to explore and connect .
Free trial account? No problem. Log in with your trial credentials to join. No free trial account? No problem! Register here
Already a member? Hi and welcome back! We're glad you're here 🙂
You will see the Qualtrics login page briefly before being taken to the Experience Community
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
