Redirect after thank you message | XM Community
Skip to main content

How can I show a thank you message after survey and after 1,5 second redirect to a java script (url)???

 

Hey @sofita you can try this:

In your last block/question where you say: thank you. You can add javascript

Enter this code:
Qualtrics.SurveyEngine.addOnload(function() {

    setTimeout(function() {

        window.location.href = "YOUR_URL_HERE";

    }, 1500); // 1500 milliseconds = 1.5 seconds

});

Change YOUR_URL_HERE to your own URL.

Test it by sending your survey to yourself.
The perview didn't work for me, but the real survey did.

 I hope it will work for you


@sofita - The script @RickB provided needs to be added to the end of survey message inside a <script> tag. If you put it in a survey question, the survey response won’t be recorded.


I´ll try! thank you!!


Leave a Reply