A/B testing addon integration

Vote:
 

Hi 

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?

Regards

#194211
Jun 15, 2018 16:24
Vote:
 

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: https://www.david-tec.com/2018/01/visitor-group-criterion-for-ab-testing-available-for-episerver-11/

#194373
Jun 19, 2018 23:01
Vote:
 

Hi David

Thank you for suggestion, but I used another your idea: https://github.com/davidknipe/VisitorGroupUsage/blob/master/VisitorGroupUsage/Impl/VisitorGroupUsageImpl.cs

Because I need to identify visitors goups as well.

#194484
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.