Question
How to capture the success submit action aem adaptive core forms
I'm creating an AEM Adaptive Core Components Form and want to trigger Adobe Analytics when user clicks on the submit button and the form gets submitted successfully. Currently, I'm trying to listen to events such as "submitSuccess", "afSubmitSuccess" "afFormSubmitSuccess". But these are not working. Can someone help me out here? I'm on AEMaaCS.