How do I use the first question to a longer survey in an intercept, then direct to remaining Q's? | XM Community
Solved

How do I use the first question to a longer survey in an intercept, then direct to remaining Q's?

  • 25 July 2018
  • 6 replies
  • 22 views

Userlevel 1
I want to use the first question to a longer survey in an intercept, then have it direct them to the remaining survey in a new browser window if they opt in. How do I do this and have them start at the correct point without having to start the survey at the beginning?
icon

Best answer by mattyb513 25 July 2018, 21:30

View original

6 replies

Userlevel 6
Badge +6
I think the typical way of doing this is actually having two surveys, the passing the answer to the first question to the second survey.

You can pass it in two ways - the simplest is to use a query string containing their answer. For example, maybe you are asking "Did you find what you are looking for?", "Yes", "No".

It would then redirect to either:

https://s.qualtrics.com/jfe/SV_7gads8a0sgd8?firstAnswer=Yes

OR

https://s.qualtrics.com/jfe/SV_7gads8a0sgd8?firstAnswer=No

Then, you would use Embedded Data in the Survey Flow to pick up that answer in your survey and use it for logic.

------------

The other way of doing this would be to use the Q_PopulateResponse query string and format their answer in JSON. This is more brittle and difficult, but the idea is that you would have the exact same question in the 2nd survey as the first question, and when they opened it their answer would be pre-filled. For help with that I would use @TomG's post: https://www.qualtrics.com/community/discussion/406/generating-test-responses-with-q-populateresponse
Userlevel 1
Thanks for the response! Would the first option still work if their answer to the question in the intercept determined the branch logic for the remaining survey? Or would have to create a separate survey for each of the possible answers to the intercept question?
Userlevel 6
Badge +6
It could all be in one survey! At a basic level, your survey flow would look like this:

!

I'm not sure why it says `bytes` after each of the answers, it must be some Qualtrics bug happening right now but it won't affect your actual flow.
Userlevel 1
Awesome! Thanks!
Userlevel 5
Badge +15
Hi @erin_duncan1212 ,
You could also use one of the embedded data fields(SiteIntercept embedded data) and check for the value being empty; which would state that the respondent is not redirected from the Site Intercept.
Userlevel 5
Badge +15
List of embedded data variables that you can send back from the site intercept to the main survey and check for being empty. source

!

You can check the condition in the survey flow start. and show the respective block.

!

Let me know if this works 🙂

Leave a Reply