Documentation
Feedback
Guides
API Reference

Guides
Master Data
Triggers
A/B testing Master Data v2 trigger actions

The Master Data v2 trigger configuration has an optional property called weight.

It is a field that accepts integers between zero and 100. This number is a percentage value of distribution between triggers.

This allows you to perform comparative experiments with different actions for the same Master Data trigger.

This feature works only if you have at least two actions with value in the weight property.

Example 1: A/B Test between two triggers with 50% of the load.


_15
{
_15
"properties": { ... },
_15
"v-triggers": [
_15
{
_15
"name": "scenario-1",
_15
"weight": 50,
_15
...
_15
},
_15
{
_15
"name": "scenario-2",
_15
"weight": 50,
_15
...
_15
}
_15
]
_15
}

Example 2: A/B Test between four triggers with different weights.


_25
{
_25
"properties": { ... },
_25
"v-triggers": [
_25
{
_25
"name": "scenario-1",
_25
"weight": 40,
_25
...
_25
},
_25
{
_25
"name": "scenario-2",
_25
"weight": 30,
_25
...
_25
},
_25
{
_25
"name": "scenario-3",
_25
"weight": 20,
_25
...
_25
},
_25
{
_25
"name": "scenario-4",
_25
"weight": 10,
_25
...
_25
}
_25
]
_25
}

Contributors
1
Photo of the contributor
Was this helpful?
Yes
No
Suggest Edits (GitHub)
Contributors
1
Photo of the contributor
On this page