How to Redirect to the End of a Qualtrics Survey After Completing a Shiny App? | XM Community
Skip to main content

Hi everyone,

I'm working on a project where I redirect participants from a Qualtrics survey to a Shiny web app for additional data collection. After participants complete the Shiny survey, I want to redirect them directly to the end of the Qualtrics survey for completion, bypassing all previous questions.

What I've Tried:

  • Implemented Embedded Data (returnTo=EndSurvey) and applied branch logic in the Survey Flow.

Current Issue:

  • The redirect keeps taking participants to the first question instead of the end of the survey.
  • I want to ensure the survey ends and submits the response automatically when redirected from the Shiny app.

What I'm Looking For:

  • Is there a way to force complete a survey via a URL parameter?
  • Should I be using a termination block or another approach in the survey flow?

Any insights or suggestions would be highly appreciated! Thank you in advance! 😊


I have also attached my survey flow below

 

The short answer to your question...

To route out and back to where you left off you need to use Save & Continue and you must redirect back to the original survey url. You need to use ajax attached to a Text/Graphic question to check respondent status, an external database to track respondents status, and a few web scripts: the server side ajax script to check status,  a script that records respondent id and survey url and redirects to shiny app, a script that records shiny app completion and redirects back to the survey.


Thank you I will try this


Leave a Reply