Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

As we saw in Different tasks for different user groups in Chapter 7, you we may have separate tests set up for separate user groups. You We can then use several methods from Chapter 9 - Recruiting participants to direct each participant to the right test.

But what if you we have several tests that all target the same users? This is actually quite common, because we often want to test 2 or 3 alternative trees against each other to see which ideas work best.

There are two basic ways of splitting your our participants randomly among tests – using mutually exclusive links and using code.

...

The simplest way to split participants randomly is to set up your the tests as a list of links, then construct some arbitrary way of getting participant to pick different links.

...

A more elegant way to split participants randomly is to use a bit of JavaScript code. You We present a single link to all participants, but when the link is clicked, it triggers some JavaScript that picks a random number (e.g. 1, 2, or 3 if you’re we’re running 3 tests), then directs the user to the corresponding test address automatically.

...

Here is an vanilla web page with the code included. Feel free to customise this as you see fitneeded:

  •  web page with embedded Javascript function

...

This works well in an explanation page on your the website (that your the web ad would direct to), but it may not work reliably in email invitations because some email clients might disallow may block JavaScript in incoming messages. ~check this

As a workaround, you we could make your the email invitation go to a web page on your our site that shows a “One moment please…” message, does the random-test-by-code selection, then automatically redirects to the corresponding test address.

...