Manual A/B tests integration

In order to have A/B tests working on a page of your website you need to follow a few steps. Assuming you have a working FHR Insights (tracking) integration and have correctly published an A/B test through the Merchandising Studio, you need to do the following:

  • Retrieve all of the currently running A/B tests.

pageRetrieve running A/B tests
  • Filter out the A/B tests that are not active on the page you are interested in.

pageFilter out irrelevant A/B tests
  • Assign a variant for each of the running A/B tests active on the page to the given user.

pageAssign variants to user
  • Request the variant of the page from FHR, by using the information from the previous step.

pageRequest variant for page

Last updated