Reply To: Redirecting from Qualtrics to PCIbex and then back to SONA

PennController for IBEX Forums Support Redirecting from Qualtrics to PCIbex and then back to SONA Reply To: Redirecting from Qualtrics to PCIbex and then back to SONA

#5742
Jeremy
Keymaster

Hi Max,

Follow the instructions on this page but at step 3, from the screenshot, replace
YOURSCHOOL.sona-systems.com/webstudy_credit.aspx?experiment_id=XXX&credit_token=YYY&survey_code=${e://Field/id}
with
expt.pcibex.net/ibexexps/[MYNAME]/[MYEXPERIMENT]/experiment.html?survey_code=${e://Field/id}

Then, simply edit you last trial so it looks like this:

newTrial("endexp",
    newText("Your results have been saved, but you need to validate your participation below. This is a necessary step to grant you credits!").print(),
    newText("<a href='https://YOURSCHOOL.sona-systems.com/webstudy_credit.aspx?experiment_id=XXX&credit_token=YYY&survey_code="+GetURLParameter("survey_code")+"'>Click here to confirm my submission on SONA</a>.").print(),
    newButton("void").wait()
)

You should probably also edit your header like this:

Header(
  // void
)
.log( "ParticipantID" , GetURLParameter("survey_code") )

Let me know if this works

Jeremy