Try our conversational search powered by Generative AI!

IKpiResult: trying to tell which form instance triggered the event.

Vote:
 

Hi all, currently I'm implementing a Kpi using Form Submit as conversion goal, so, the EvaluateProxyEvent it's linked to FormSubmissionFinalized. 

Currently, we are doing AB Test for form sumbissions, trying to tell if an image change or a caption change in a block, inspires the users to click or to fill and submit a Form X. Problem is that the same form can be located at different places and is impossible to detect whichone is, because the only elements I have to identify a form is the ContentGUID which is unique for the Form.

public override IKpiResult Evaluate(object sender, EventArgs e)
{
   var conversionResult = new KpiConversionResult() { KpiId = Id, HasConverted = false };
   var formSubmission = (e as FormsSubmittedEventArgs);
   if (formSubmission != null)
           conversionResult.HasConverted = formSubmission.FormsContent.ContentGuid == FormGuid; // impossible to tell which form triggered the event.

return conversionResult
}
#250268
Mar 16, 2021 21:29
* 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.