I want to identify requested page or one of the component of page is included in A/B testing from code.
I searched across multiple forums but not able to find anything.
Using EPiServer.Marketing.Testing for A/B testing in our appliction.
IMarketingTestingWebRepository.GetActiveTestForContent(Guid contentGuid) will return a IMarketingTest if one has been specified for the passed contentGuid.
Thanks for you answer,
But in more specific manner currently in our application we have component based implementation and we have switched on the A/B testing on one of the component on the page. Now question is how to identify the requested page having that A/B test enabled component.
From above mentioned approach we need to list out the all the components from the page and the identify the A/B test enabled component which is costlier operation in our case.