Randomly splits leads between two funnel branches for A/B testing, sending a configurable percentage down the test branch and the rest down the normal branch. Represented as a "testSplit" node in a funnel definition. On entry, a random number between 0 and 100 is compared against testPercentage: if it falls within that percentage, the lead proceeds to testNextNodeId, otherwise to nextNodeId.
Group: Journeys
Implements: GoalAction
Properties
| Property | Returns | Description |
|---|---|---|
| nextNodeId | String | The id of the funnel node a lead proceeds to when it is not selected for the test branch. |
| nodeId | String | The unique id of this node within its funnel. |
| testNextNodeId | String | The id of the funnel node a lead proceeds to when it is selected for the test branch. |
| testPercentage | double | The percentage of leads, from 0 to 100, sent down the test branch rather than the normal branch. |
| title | String | The display title for this node, shown in the funnel editor. |
| x | int | The horizontal position of this node on the funnel editor canvas. |
| y | int | The vertical position of this node on the funnel editor canvas. |
Methods
getTitle()
Returns: String
The display title for this node, shown in the funnel editor.
getNodeId()
Returns: String
The unique id of this node within its funnel.
getNextNodeId()
Returns: String
The id of the funnel node a lead proceeds to when it is not selected for the test branch.
getTestNextNodeId()
Returns: String
The id of the funnel node a lead proceeds to when it is selected for the test branch.
getTestPercentage()
Returns: double
The percentage of leads, from 0 to 100, sent down the test branch rather than the normal branch.
getX()
Returns: int
The horizontal position of this node on the funnel editor canvas.
getY()
Returns: int
The vertical position of this node on the funnel editor canvas.