Inquisit to Qualtrics SubjectID Duplicate


Inquisit to Qualtrics SubjectID Duplicate

Author
Message
canlabstudies
canlabstudies
Associate Member
Associate Member (288 reputation)Associate Member (288 reputation)Associate Member (288 reputation)Associate Member (288 reputation)Associate Member (288 reputation)Associate Member (288 reputation)Associate Member (288 reputation)Associate Member (288 reputation)Associate Member (288 reputation)

Group: Forum Members
Posts: 15, Visits: 115
Hi everyone, 
I am trying to link a Qualtrics study and an Inquisit task (on Millisecond) together. First qualtrics, then inquisit and then back to qualtrics.
However, while going to from inquisit to qualtrics, the "subjectid" duplicates itself.
I put "?subjectid=${e://Field/subjectid}" at the end of the link to go to inquisit.
And I put "?subjectid=<%script.subjectid%>" at the end of the link to go to qualtrics.
It used to work perfectly but now if I used "test" as the subjectid in this case, duplication happens in the name while going from Inquisit to Qualtrics. In the column for subjectid in the csv from data distribution in qualtrics, the cell is "test,test", and the new qualtrics link ends with "?subjectid=test&subjectid=test". But there is no duplication of subjectid in the inquisit files.
Has anyone encountered this?
Thanks!


Tags
Dave
Dave
Supreme Being
Supreme Being (428K reputation)Supreme Being (428K reputation)Supreme Being (428K reputation)Supreme Being (428K reputation)Supreme Being (428K reputation)Supreme Being (428K reputation)Supreme Being (428K reputation)Supreme Being (428K reputation)Supreme Being (428K reputation)

Group: Administrators
Posts: 8.9K, Visits: 38K
canlabstudies - Thursday, July 6, 2017
Hi everyone, 
I am trying to link a Qualtrics study and an Inquisit task (on Millisecond) together. First qualtrics, then inquisit and then back to qualtrics.
However, while going to from inquisit to qualtrics, the "subjectid" duplicates itself.
I put "?subjectid=${e://Field/subjectid}" at the end of the link to go to inquisit.
And I put "?subjectid=<%script.subjectid%>" at the end of the link to go to qualtrics.
It used to work perfectly but now if I used "test" as the subjectid in this case, duplication happens in the name while going from Inquisit to Qualtrics. In the column for subjectid in the csv from data distribution in qualtrics, the cell is "test,test", and the new qualtrics link ends with "?subjectid=test&subjectid=test". But there is no duplication of subjectid in the inquisit files.
Has anyone encountered this?
Thanks!


> And I put "?subjectid=<%script.subjectid%>" at the end of the link to go to qualtrics.

This should be unnecessary and is probably what leads to the duplication. Your Inquisit Web launch page will automatically preserve any query parameters that are passed *in* to the page and will automatically append them to any outgoing URL specified in your web experiment's settings. If you simply remove the

?subjectid=<%script.subjectid%>

par from the link you specified, it should work just fine / without any duplication.

Edited
Last Year by Dave
canlabstudies
canlabstudies
Associate Member
Associate Member (288 reputation)Associate Member (288 reputation)Associate Member (288 reputation)Associate Member (288 reputation)Associate Member (288 reputation)Associate Member (288 reputation)Associate Member (288 reputation)Associate Member (288 reputation)Associate Member (288 reputation)

Group: Forum Members
Posts: 15, Visits: 115
Dave - Thursday, July 6, 2017
canlabstudies - Thursday, July 6, 2017
Hi everyone, 
I am trying to link a Qualtrics study and an Inquisit task (on Millisecond) together. First qualtrics, then inquisit and then back to qualtrics.
However, while going to from inquisit to qualtrics, the "subjectid" duplicates itself.
I put "?subjectid=${e://Field/subjectid}" at the end of the link to go to inquisit.
And I put "?subjectid=<%script.subjectid%>" at the end of the link to go to qualtrics.
It used to work perfectly but now if I used "test" as the subjectid in this case, duplication happens in the name while going from Inquisit to Qualtrics. In the column for subjectid in the csv from data distribution in qualtrics, the cell is "test,test", and the new qualtrics link ends with "?subjectid=test&subjectid=test". But there is no duplication of subjectid in the inquisit files.
Has anyone encountered this?
Thanks!


> And I put "?subjectid=<%script.subjectid%>" at the end of the link to go to qualtrics.

This should be unnecessary and is probably what leads to the duplication. The your Inquisit Web launch page will automatically preserve any query parameters that are passed *in* to the page and will automatically append them to any outgoing URL specified in your web experiment's settings. If you simple remove the

?subjectid=<%script.subjectid%>

from the link you specified, it should work just fine / without any duplication.

Thanks for your response! It worked! I really appreciate your help!

juju
juju
Partner Member
Partner Member (980 reputation)Partner Member (980 reputation)Partner Member (980 reputation)Partner Member (980 reputation)Partner Member (980 reputation)Partner Member (980 reputation)Partner Member (980 reputation)Partner Member (980 reputation)Partner Member (980 reputation)

Group: Forum Members
Posts: 22, Visits: 93
Dave - Thursday, July 6, 2017
canlabstudies - Thursday, July 6, 2017
Hi everyone, 
I am trying to link a Qualtrics study and an Inquisit task (on Millisecond) together. First qualtrics, then inquisit and then back to qualtrics.
However, while going to from inquisit to qualtrics, the "subjectid" duplicates itself.
I put "?subjectid=${e://Field/subjectid}" at the end of the link to go to inquisit.
And I put "?subjectid=<%script.subjectid%>" at the end of the link to go to qualtrics.
It used to work perfectly but now if I used "test" as the subjectid in this case, duplication happens in the name while going from Inquisit to Qualtrics. In the column for subjectid in the csv from data distribution in qualtrics, the cell is "test,test", and the new qualtrics link ends with "?subjectid=test&subjectid=test". But there is no duplication of subjectid in the inquisit files.
Has anyone encountered this?
Thanks!


> And I put "?subjectid=<%script.subjectid%>" at the end of the link to go to qualtrics.

This should be unnecessary and is probably what leads to the duplication. Your Inquisit Web launch page will automatically preserve any query parameters that are passed *in* to the page and will automatically append them to any outgoing URL specified in your web experiment's settings. If you simply remove the

?subjectid=<%script.subjectid%>

par from the link you specified, it should work just fine / without any duplication.

I have ad additional question related to this point. I managed to link an Inquisit script to a Qualtrics using both subjectid and groupid but then when redirecting from Qualtrics to Inquisit with both subjectid and groupid set to URL parameter it does not work telling me "Failed to get subject id. The url has no parameter named 'groupid'."
However, in the link generated from Qualtrics I clearly have this info at the end of the link: ".web?subjectid=555&?groupid=1".
Has anyone tried successfully with both subjectid and groupid?



Dave
Dave
Supreme Being
Supreme Being (428K reputation)Supreme Being (428K reputation)Supreme Being (428K reputation)Supreme Being (428K reputation)Supreme Being (428K reputation)Supreme Being (428K reputation)Supreme Being (428K reputation)Supreme Being (428K reputation)Supreme Being (428K reputation)

Group: Administrators
Posts: 8.9K, Visits: 38K
juju - Tuesday, March 13, 2018
Dave - Thursday, July 6, 2017
canlabstudies - Thursday, July 6, 2017
Hi everyone, 
I am trying to link a Qualtrics study and an Inquisit task (on Millisecond) together. First qualtrics, then inquisit and then back to qualtrics.
However, while going to from inquisit to qualtrics, the "subjectid" duplicates itself.
I put "?subjectid=${e://Field/subjectid}" at the end of the link to go to inquisit.
And I put "?subjectid=<%script.subjectid%>" at the end of the link to go to qualtrics.
It used to work perfectly but now if I used "test" as the subjectid in this case, duplication happens in the name while going from Inquisit to Qualtrics. In the column for subjectid in the csv from data distribution in qualtrics, the cell is "test,test", and the new qualtrics link ends with "?subjectid=test&subjectid=test". But there is no duplication of subjectid in the inquisit files.
Has anyone encountered this?
Thanks!


> And I put "?subjectid=<%script.subjectid%>" at the end of the link to go to qualtrics.

This should be unnecessary and is probably what leads to the duplication. Your Inquisit Web launch page will automatically preserve any query parameters that are passed *in* to the page and will automatically append them to any outgoing URL specified in your web experiment's settings. If you simply remove the

?subjectid=<%script.subjectid%>

par from the link you specified, it should work just fine / without any duplication.

I have ad additional question related to this point. I managed to link an Inquisit script to a Qualtrics using both subjectid and groupid but then when redirecting from Qualtrics to Inquisit with both subjectid and groupid set to URL parameter it does not work telling me "Failed to get subject id. The url has no parameter named 'groupid'."
However, in the link generated from Qualtrics I clearly have this info at the end of the link: ".web?subjectid=555&?groupid=1".
Has anyone tried successfully with both subjectid and groupid?



> ".web?subjectid=555&?groupid=1".

If that is the link you generate in Qualtrics, it is misspecified. Query parameters in URLs work this way:
- The _first_ query parameter is indicated by a question mark (?). The question mark basically means "now here be query parameters."
- Any _additional_ query parameter is indicated by an ampersand (&Wink.
- Additional question marks in the URL should generally be avoided.

In other words, with

> ".web?subjectid=555&?groupid=1".

there is in fact no query parameter called "groupid" -- the parameter in that URL is technically called "?groupid".

Change the link you assemble on the Qualtrics-side to read like this

> ".web?subjectid=555&groupid=1".

and things will work just fine.

Edited
4 Months Ago by Dave
juju
juju
Partner Member
Partner Member (980 reputation)Partner Member (980 reputation)Partner Member (980 reputation)Partner Member (980 reputation)Partner Member (980 reputation)Partner Member (980 reputation)Partner Member (980 reputation)Partner Member (980 reputation)Partner Member (980 reputation)

Group: Forum Members
Posts: 22, Visits: 93
Dave - Tuesday, March 13, 2018
juju - Tuesday, March 13, 2018
Dave - Thursday, July 6, 2017
canlabstudies - Thursday, July 6, 2017
Hi everyone, 
I am trying to link a Qualtrics study and an Inquisit task (on Millisecond) together. First qualtrics, then inquisit and then back to qualtrics.
However, while going to from inquisit to qualtrics, the "subjectid" duplicates itself.
I put "?subjectid=${e://Field/subjectid}" at the end of the link to go to inquisit.
And I put "?subjectid=<%script.subjectid%>" at the end of the link to go to qualtrics.
It used to work perfectly but now if I used "test" as the subjectid in this case, duplication happens in the name while going from Inquisit to Qualtrics. In the column for subjectid in the csv from data distribution in qualtrics, the cell is "test,test", and the new qualtrics link ends with "?subjectid=test&subjectid=test". But there is no duplication of subjectid in the inquisit files.
Has anyone encountered this?
Thanks!


> And I put "?subjectid=<%script.subjectid%>" at the end of the link to go to qualtrics.

This should be unnecessary and is probably what leads to the duplication. Your Inquisit Web launch page will automatically preserve any query parameters that are passed *in* to the page and will automatically append them to any outgoing URL specified in your web experiment's settings. If you simply remove the

?subjectid=<%script.subjectid%>

par from the link you specified, it should work just fine / without any duplication.

I have ad additional question related to this point. I managed to link an Inquisit script to a Qualtrics using both subjectid and groupid but then when redirecting from Qualtrics to Inquisit with both subjectid and groupid set to URL parameter it does not work telling me "Failed to get subject id. The url has no parameter named 'groupid'."
However, in the link generated from Qualtrics I clearly have this info at the end of the link: ".web?subjectid=555&?groupid=1".
Has anyone tried successfully with both subjectid and groupid?



> ".web?subjectid=555&?groupid=1".

If that is the link you generate in Qualtrics, it is misspecified. Query parameters in URLs work this way:
- The _first_ query parameter is indicated by a question mark (?). The question mark basically means "now here be query parameters."
- Any _additional_ query parameter is indicated by an ampersand (&Wink.
- Additional question marks in the URL should generally be avoided.

In other words, with

> ".web?subjectid=555&?groupid=1".

there is in fact no query parameter called "groupid" -- the parameter in that URL is technically called "?groupid".

Change the link you assemble on the Qualtrics-side ought to read like this:

> ".web?subjectid=555&groupid=1".

and things will work just fine.

Yep, it works! (so obvious now that I see it ;-)
Thanks

GO


Reading This Topic


Login
Existing Account
Email Address:


Password:


Social Logins

Select a Forum....






Millisecond Forums


Search