When you’re running your own A/B test, it’s important that the Algonomy system knows what treatment a user is in. Setting the A/B treatment allows the Algonomy code to stay the same across both treatments. It also gives Algonomy, 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.” Algonomy needs to know what treatment will be showing Personalization Cloud recs. We configure the non-Personalization Cloud display side to not return or display Personalization Cloud 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.