Hi all. My team has a backend service that is utilizing the content delivery API to get block and page information from Episerver to our React app. Our client is interested in using the self optimizing block but I am having trouble getting it to work. I was able to properly render the block using the GetSelectedVariation call on the OptimizingBlock class like this
var targetContent = optimizingBlock.GetSelectedVariation();
I am having trouble getting Episerver to properly track conversions though. I have configured the goal page for the self optimizing block in the back office. How exactly does Epi track a conversion for this block? Or can anyone offer any more insight that would help me solve this? Note: A/B testing worked out of the box for our site using content delivery API.