Performs a redirect to another website.
Key | Required? | Description |
type | Required | “redirect” |
willReturn | Optional | Keeps the session open after the redirect, allowing the participant to continue at a later time. The default is true. |
url | Optional | The URL to redirect to. If query parameters were passed when starting the experiment, they will be available using the ${NAME} syntax. Note that query parameters need to be explicitly allowed in the experiment settings. |
The following example shows a redirect to the Mind-Trace website:
{ type: “redirect”, url: “https://www.mind-trace.com” }