Hi, I have a survey that users are intended to access over a course of several months before submitting it. I want to track within the survey the date/time certain pages in the survey were viewed. I tried this Java script on an item, and also added a “DateMod1” embedded variable to the top of the survey:
Qualtrics.SurveyEngine.addOnLoad(function()
{/*Place your JavaScript here to run when the page is fully displayed*/
var curDate = "${date://CurrentDate/m%2Fd%2FY}";
Qualtrics.SurveyEngine.setEmbeddedData('DateMod1', curDate);
});
The embedded variable stays blank though even after passing that item/page. How do I fix this?