A/B Testing (Episerver.Marketing.Testing) for CMS 12

  • Updated
Description

If you are encountering an error in CMS 12 similar to this: "EPiServer.Marketing.KPI 3.1.0 is not compatible with net5.0"...

blobid0.png

Steps

You need to remove EPiServer.Marketing.Testing 3.1.0, and use 3.0.0, as 3.1.0 is specific to net6.0.

https://nuget.optimizely.com/package/?id=EPiServer.Marketing.Testing&v=3.0.0

You also have to add this where you have added other services in your startup file:

services.AddABTesting(_configuration.GetConnectionString("EPiServerDB"));