When you’re running your own A/B test, it’s important that the RichRelevance system knows what treatment a user is in. Setting the A/B treatment allows the RichRelevance code to stay the same across both treatments. It also gives RichRelevance the ability to verify proper split, verify users are not swapping treatments, and monitor the test as it progresses.
The treatment is typically set to “a” or “b.” RichRelevance needs to know what treatment will be showing RichRelevance recs. We configure the non-RichRelevance display side to not return or display RichRelevance recs.
How To Make This Code Work For You
- Create the integration code on each of the pages on your site, following the HTML integration and JSON integration guides.
- Add this function to your integration code:
setMVTForcedTreatment() in the Primary Code Block.
External A/B treatments are not supported via API.