i4w_splittest
This shortcode provides a mechanism to conduct content split testing based on a round-robin 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.
[ELSE_splittest] conditional branching is NOT supported.
Shortcode nesting is NOT supported.
Parameters
Section titled “Parameters”| Parameter | Description | Default | Required |
|---|---|---|---|
| name | The name of the split test, case insensitive. | None | Yes |
| case | The case within a split test, must be an integer between 1 and “max_cases”. | 1 | Yes |
| max_cases | Determines the maximum number of split test cases. When the maximum is reached, the next visitor is assigned case “1”. | None | Yes |
Example
Section titled “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]