Documentation
Feedback
Guides
API Reference

Guides
Getting Started

Integration Guides




Payments

Orders

Fulfillment

VTEX inStore

UI Customization

Message Center

Pricing

Promotions

Infrastructure

Conversational Commerce

Search

VTEX Session

Master Datav2 Guides
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.

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

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

{ "properties": { ... }, "v-triggers": [ { "name": "scenario-1", "weight": 40, ... }, { "name": "scenario-2", "weight": 30, ... }, { "name": "scenario-3", "weight": 20, ... }, { "name": "scenario-4", "weight": 10, ... } ] }
Contributors
1
Photo of the contributor
+ 1 contributors
Was this helpful?
Yes
No
Suggest edits (Github)
Creating relationships between data entities using API
Sending emails with triggers in Master Data v2
Contributors
1
Photo of the contributor
+ 1 contributors
On this page