How to capture the success submit action aem adaptive core forms | Community
Skip to main content
October 29, 2025
Solved

How to capture the success submit action aem adaptive core forms

  • October 29, 2025
  • 2 replies
  • 126 views

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.

Best answer by Pranay_M

Hi ​@PrateekSi7
 

On AEM Forms as a Cloud Service with Adaptive Forms Core Components, the events you’re listening for – submitSuccess, afSubmitSuccess, afFormSubmitSuccess as DOM events – are from older / different implementations and won’t fire the way they did with classic/foundation components.

For Core Components on AEMaaCS you have two supported options to trigger Adobe Analytics on successful form submission:

1. Subscribe to Adaptive Forms runtime submit events (recommended for custom JS)
Adaptive Forms Core Components expose submission events via the AF runtime (guideBridge) API, not via the older custom DOM events. You can safely hook into these to call Adobe Analytics / Launch:

// Successful submit
  guideBridge.on("submitSuccess", function (event, payload) {
    // Trigger Analytics here
    if (window._satellite && typeof _satellite.track === "function") {
      _satellite.track("af-submit-success", {
        formTitle: payload?.form?.title,
        formPath:  payload?.form?.path,
        submissionId: payload?.submissionId
      });
    }
  });

This pattern is the supported way to detect a successful Adaptive Form submission, and Invoke your Analytics/Launch tracking logic exactly at that point. You can refer the sample code that’s included on the form page or implement equivalent logic directly in a Launch custom code rule.
 

2. Use Experience Cloud Setup Automation (no custom JS for basic tracking)
If your requirement is to track standard form KPIs (renders, submissions, errors, etc.) and report in Adobe Analytics, the simplest option is to let AEM do most of the wiring:

1. In Forms → Forms & Documents, select your Adaptive Form.
2. In the left rail, click Setup Analytics and Activate Adobe Analytics.
3. Follow the wizard to create or select the Analytics report suite and Launch the property.

Once this is done, AEM connects the form to Experience Platform tags (Launch) and Adobe Analytics and Standard events like Render, Submit, Error, Abandon, Help, and Field Visit are tracked automatically for Adaptive Forms (Core Components).

Form Analytics with Adobe Analytics and AEM Forms – Complete Guide: https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/forms/integrate/services/integrate-aem-forms-with-adobe-analytics 

Integrate AEM Forms with Adobe Analytics to report on form data fields: https://experienceleague.adobe.com/en/docs/experience-manager-learn/cloud-service/forms/forms-and-analytics/introduction 

Thanks
Pranay

2 replies

kautuk_sahni
Community Manager
Community Manager
February 2, 2026

@Pranay_M ​@abhilashy577678 ​@AmitVishwakarma ​@Stephan_Reiners Tagging you to see if you might want to share any best practices or insights on this topic. Your expertise would be greatly appreciated, thank you!

Kautuk Sahni
Pranay_MAdobe EmployeeAccepted solution
Adobe Employee
February 2, 2026

Hi ​@PrateekSi7
 

On AEM Forms as a Cloud Service with Adaptive Forms Core Components, the events you’re listening for – submitSuccess, afSubmitSuccess, afFormSubmitSuccess as DOM events – are from older / different implementations and won’t fire the way they did with classic/foundation components.

For Core Components on AEMaaCS you have two supported options to trigger Adobe Analytics on successful form submission:

1. Subscribe to Adaptive Forms runtime submit events (recommended for custom JS)
Adaptive Forms Core Components expose submission events via the AF runtime (guideBridge) API, not via the older custom DOM events. You can safely hook into these to call Adobe Analytics / Launch:

// Successful submit
  guideBridge.on("submitSuccess", function (event, payload) {
    // Trigger Analytics here
    if (window._satellite && typeof _satellite.track === "function") {
      _satellite.track("af-submit-success", {
        formTitle: payload?.form?.title,
        formPath:  payload?.form?.path,
        submissionId: payload?.submissionId
      });
    }
  });

This pattern is the supported way to detect a successful Adaptive Form submission, and Invoke your Analytics/Launch tracking logic exactly at that point. You can refer the sample code that’s included on the form page or implement equivalent logic directly in a Launch custom code rule.
 

2. Use Experience Cloud Setup Automation (no custom JS for basic tracking)
If your requirement is to track standard form KPIs (renders, submissions, errors, etc.) and report in Adobe Analytics, the simplest option is to let AEM do most of the wiring:

1. In Forms → Forms & Documents, select your Adaptive Form.
2. In the left rail, click Setup Analytics and Activate Adobe Analytics.
3. Follow the wizard to create or select the Analytics report suite and Launch the property.

Once this is done, AEM connects the form to Experience Platform tags (Launch) and Adobe Analytics and Standard events like Render, Submit, Error, Abandon, Help, and Field Visit are tracked automatically for Adaptive Forms (Core Components).

Form Analytics with Adobe Analytics and AEM Forms – Complete Guide: https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/forms/integrate/services/integrate-aem-forms-with-adobe-analytics 

Integrate AEM Forms with Adobe Analytics to report on form data fields: https://experienceleague.adobe.com/en/docs/experience-manager-learn/cloud-service/forms/forms-and-analytics/introduction 

Thanks
Pranay