1. Home
  2. Docs
  3. Core concepts
  4. Protocol
  5. Redirect

Redirect

Performs a redirect to another website.

KeyRequired?Description
typeRequired“redirect”
willReturnOptionalKeeps the session open after the redirect, allowing the participant to continue at a later time. The default is true.
urlOptionalThe 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”
}