Randomised Multiple Redirects


Author
Message
Research316
Research316
Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)
Group: Forum Members
Posts: 13, Visits: 50
After the test is completed is there a way to redirect to one of two websites and can this be randomised so that one participant goes to one and the next participant goes to the other
Tags
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 104K
Yes, you can set the URL to redirect to in your Inquisit *script* via the defaults.finishpage property.

Research316
Research316
Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)
Group: Forum Members
Posts: 13, Visits: 50
Thanks
Research316
Research316
Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)
Group: Forum Members
Posts: 13, Visits: 50
Thanks for your reply Dave, I know how to do it for a singular url but can two be in putted to coinside with the block randomisation. I basically want one group to be redirected to one site and the other group to another   
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 104K
Yes, of course. Suppose you have two experimental groups, then you simply do

<expt>
/ onexptbegin = [defaults.finishpage="http://www.google.com"]
/ subjects = (1 of 2)
...
</expt>

<expt>
/ onexptbegin = [defaults.finishpage="http://www.bing.com"]
/ subjects = (2 of 2)
...
</expt>

Edited 10 Years Ago by Dave
Research316
Research316
Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)
Group: Forum Members
Posts: 13, Visits: 50
Thanks Dave,

I want it at the end of the IAT so I take it I should use onexptend = ..........

Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 104K
It doesn't make a difference here whether you use /onexptbegin or /onexptend. You already know the experimental group *at the beginning of the experiment* and hence you can set the applicable finish page at that point.

Research316
Research316
Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)
Group: Forum Members
Posts: 13, Visits: 50
Hi just a quick question on this topic, does the redirect only work with the web scripts or will it also work using the desktop version?
Research316
Research316
Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)
Group: Forum Members
Posts: 13, Visits: 50
I also get this error - Expression 'defaults.finishpage' is invalid. Expression contains an unknown element or property name?

Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 104K
> Hi just a quick question on this topic, does the redirect only work with the web scripts or will it also work using the desktop
> version?                               

Redirection only applies to the web version.

> I also get this error - Expression 'defaults.finishpage' is invalid. Expression contains an unknown element or property name?

This would either indicate you are using a different / outdated Inquisit version (e.g. Inquisit 3 instead of 4) or some other mistake in the respective code.

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search