Try our conversational search powered by Generative AI!

Identify Page is involved in A/B Test


Hi All,

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.


Rahul Dikkar.

Oct 19, 2018 14:53

Hello Rahul

IMarketingTestingWebRepository.GetActiveTestForContent(Guid contentGuid) will return a IMarketingTest if one has been specified for the passed contentGuid.


Oct 21, 2018 23:18

Hi David,

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.



Oct 22, 2018 9:21
* 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.