i4w_splittest

Usage:

This shortcode provides a mechanism to conduct content split testing based on a round-robbin cycle.

Each new visitor is associated with a distinct split test and this association remains valid throughout the visitor’s session (sticky). As such, content split testing can be carried out over a series of pages and posts.

Multiple, distinct split tests can be conducted for each user.

This shortcode does NOT supports conditional branching with [ELSE_splittest].

Shortcode nesting is NOT supported.

Parameters:

name The name of the split test, case insensitive.
Required: yes.
case The case within a split test, must be an integer between 1 and “max_cases”.
Required: yes, defaults to 1.
max_cases Determines the maximum number of split test cases. When the maximum is reached, the next visitor is assigned case “1”.
Required: yes.

Example:

[i4w_splittest name='MySplitTest' case='1' max_cases='3']
 Display content for visitors assigned to case "1" of split test "MySplitTest".
 Content can be text, HTML, other shortcodes, order forms and web forms.
[/i4w_splittest]

[i4w_splittest name='MySplitTest' case='2' max_cases='3']
  Display content for visitors assigned to case "2" of split test "MySplitTest".
  Content can be text, HTML, other shortcodes, order forms and web forms.
[/i4w_splittest]

[i4w_splittest name='MySplitTest' case='3' max_cases='3']
  Display content for visitors assigned to case "3" of split test "MySplitTest".
  Content can be text, HTML, other shortcodes, order forms and web forms.
[/i4w_splittest]

API:

There is no API function equivalent for this shortcode.