A/B Testing, does it affect content returned by IContentLoader?

Vote:
 

So i have an interesting scenario.

We have a site with menu items defined via a settings page, separate to any content pages, these pages then load the menu as part of their loading logic via the IContentLoader,

The business would like to A/B a change to the menu item on the settings page, is it possible for content returned via IContentLoader?

#208717
Edited, Oct 30, 2019 21:59
Vote:
 

The IContentLoader has nothing to do with A/B testing. You just need to create content variation and start your A/B teating. IContentLoader will only render the content variation returned.

#208725
Edited, Oct 31, 2019 8:32
Vote:
 

Update on my previous reply.

Even you create variations of site setting item (if the setting item is set as datasource on some page to get it's content, but if you are getting site item via code then the A/B testing will not work).

And goals will not complete as you can not hit/visit the site setting item.

For more information see How it works Section

https://webhelp.episerver.com/latest/en/cms-edit/ab-testing.htm

#208727
Oct 31, 2019 8:56
Vote:
 

Feels like this could be a nice enhancement to the API though, to call a content item and specify if you should get the AB test versions of it, that was what i was hoping for, expecially with the focus on headless

#209328
Nov 14, 2019 8:18
Vote:
 

Here I added an example to get the active test for a content. Hope this will be helpful.

https://world.episerver.com/blogs/pjangid/dates/2019/11/disabling-cache-for-test-driven-content/

#209329
Nov 14, 2019 8:25
* 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.