Identify Page is involved in A/B Test

Vote:
 

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.

Thanks,

Rahul Dikkar.

#198071
Oct 19, 2018 14:53
Vote:
 

Hello Rahul

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

David

#198091
Oct 21, 2018 23:18
Vote:
 

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.

Thanks,

Rahul

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