I would like to implement the AB testing for the multiple pages of a website. We would like to test the two brand designs experience and collate customer feedback. Considering AB testing can be configured at page versions, I have achieved it partially using inbuilt Page level AB testing along with EPiServer Forms. The winner is picked up manually based on the time user stay on the page and form submission result.
I am struggling to find out the navigation implementation between same brand design page version. Lets say, I have a Start Page A / control page version, the user should be navigated to the same brand design sub pages A / control page version ( AB testing being set up at each page level manually). Same is applicable for B Challenger page versions.
P.S. -> The mega menu (header) and footer is coming from layout page (code behind), no customization in Editor view.
Please can someone guide how to achieve this?
So this is an interesting question. A/B testing in Episerver works by testing two different versions of content, meaning different versions of pages, blocks, assets, etc. can all be tested. With this in mind, while there's not a clear-cut, best practice way to do this, we can get a little creative about how to solve this particular use case.
This is what I'm thinking:
- Move the brand design specific properties/variances to a block that can be referenced on the page. This allows you to utilizes A/B testing directly on the block, or just through the property on the page that points to a specific block. You may chose to create two different blocks for the brand design properties, one for the Control and one for the Challenger.
- Check out David Knipe's Visitor Group Criterion for A/B testing: https://www.david-tec.com/2018/01/visitor-group-criterion-for-ab-testing-available-for-episerver-11/. Using this, you can check which side of the A/B test the user viewed, then from there you can personalize the page based on which A/B path they are on.
Thank you, the approach looks promising to me. I added the nuget package - AbTestVisitorGroupCriteria to my solution. Though it is working fine there are two issues -
THanks for the feedback on the AbTestVisitorGroupCriteria package. In answer to your questions:
I have just submitted the code change to filter the active state A/B tests names. Please can you review and merge ?
Regarding point 2, the language xml files are store in the location other than nuget package. The language file "AbTestVisitorGroupCriteria.xml" is missing in my solution. All the Language files location in my solution is -> Project -> Resources -> LanguageFiles. Would you like me to add it explicitly in my solution or will this be taken care in nuget package upgrade / installation?
Thanks for contributing!
Actually, the changes has been merged to the nugget package but unfortunately, it needs re-build. Please can you do needful since it is failing to load after upgrade to 11.1.0 version?