Virtual Happy Hour this month, Jun 28, we'll be getting a sneak preview at our soon to launch SaaS CMS!

Try our conversational search powered by Generative AI!

A/B testing addon integration



I am integrating A/B testing addon in our setup and faced several issue. Please advise if you know solution:

1) Is it possible to detect on-going test on current page if test runs for content area block only. (IMarketingTestingWebRepository.GetActiveTestForContent returns result only if block ContentRef is specified). 

2) Client KPI javascript exposes several functions to global namespace with common names (setTestData, search, convert). It may create some conflicts with other scripts and libraries on pages. And just a bad practice btw. Can EPiServer rewrite it correctly, or can we modify template by ourself?


Jun 15, 2018 16:24

For the answer to 1 you may be able to use the GetTestDataFromCookies method of ITestDataCookieHelper as will return all current active tests?

I wrote some visitor groups which can be use to determine if an A/B test is running:

Jun 19, 2018 23:01

Hi David

Thank you for suggestion, but I used another your idea:

Because I need to identify visitors goups as well.

Jun 22, 2018 9:49
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.