How to set Embedded Data in qualtrics with Javascript
Asked Answered
L

1

8

I can't seem to find the answer on how to set embedded data with javascript in Qualtrics.

Here is what I have:

    Qualtrics.SurveyEngine.addOnload(function()
{
     Qualtrics.SurveyEngine.setEmbeddedData( 'TimeStamp', "${date://CurrentTime/MS}" );

});
Lifer answered 1/3, 2016 at 19:58 Comment(0)
B
13

You need to add it to your survey flow.enter image description here

Your syntax appears to be correct, so if you do this, you should be good to go!

Boabdil answered 1/3, 2016 at 20:1 Comment(1)
A caveat should be mentioned. You cannot set the value of an Embedded Data and call it using piped text within the same question. Maybe there was something I missed but I could not make it work.Medarda

© 2022 - 2024 — McMap. All rights reserved.