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).
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/
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.