user586581687a
user586581687a

Reputation: 133

How to set Embedded Data in qualtrics with Javascript

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}" );

});

Upvotes: 8

Views: 7977

Answers (1)

Cayde 6
Cayde 6

Reputation: 607

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!

Upvotes: 13

Related Questions