I'd like to collect the URL for the page the iFrame appears on, however. Is this possible?
My current idea: can I populate a hidden question/answer with JavaScript?
Best answer by TomG
View originalBest answer by TomG
View originalI've done my best to follow these instructions...added parentUrl to the ED list:
and then added the suggested JS to one of the questions:
Qualtrics.SurveyEngine.addOnReady(function(){
var parentUrl = (parent != window) ? document.referrer : "";
Qualtrics.SurveyEngine.setEmbeddedData("parentUrl", parentUrl);
});
and I can see the results in the "Reporting" tool -but sometimes it's only the root of the URL. 2nd one is an actual customer, 1st one is me going to same URL trying to test it. WHY is this?
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.