I have a client who is programming the majority of their survey on Qualtrics, with the lone exception being a MaxDiff exercise that is programmed on Sawtooth. The MaxDiff portion is in the middle of the survey so respondents are passed to Sawtooth from Qualtrics for the MaxDiff portion, then redirects back to Qualtrics once that exercise has been completed. While not the most efficient programming, this set-up is dictated by several external factors outside my control (i.e., this cannot all be programmed on Qualtrics, nor all on Sawtooth).
In order to pass respondents back to their original data response set on Qualtrics, they need to be passed back to a unique URL. Right now this unique URL is being passed through under one variable name "redirectURL" as that is how it's passed to me. When I pull this field into the terminate link redirect (by [% redirectURL %] or [% EncodeForUrl(redirectURL) %]), it prefaces that pass-in field value with "https://hostingproject.sawtoothsoftware.com/cgi-bin/
" which means the redirect doesn't work.
I then tried to break the unique link down to a base link, make the appended variable the pass-in fields, then redirect to the base link with piped in pass-in fields but that doesn't work either because the two variables that would need be to pass-in fields have underscores in the name (Q_DL, Q_CHL).
Is there a workaround for making the terminate link not append any characters before the full redirectURL pass-in code? Alternatively, is there a workaround to allow underscores in a pass-in field?