Hi @SmrithiGo,
Yes, custom button interactions can be tracked for Adaptive Forms built with Foundation Components in AEM 6.5.
There are two scenarios to consider:
- If the button is invoking the standard Adaptive Form save / draft save behavior, the built-in save analytics event may already capture that interaction.
- If the button performs a custom action with its own logic, then it is not tracked automatically as a separate button-click metric. In that case, the recommended approach is to create and send a custom event from the form and map that event to Adobe Analytics using Adobe Launch / Data Collection.
Our documentation confirms that, in addition to the out-of-the-box Adaptive Form analytics events, you can also define custom events using the Rule Editor or custom client libraries, and then map those events in Adobe Analytics.
Relevant documentation:
A practical implementation would be:
- Configure the custom button to dispatch a named event such as
customSaveClick - Capture that event in Adobe Launch / Data Collection
- Map it to an Adobe Analytics event / prop / eVar for reporting
This approach is typically the best option when you want to report specifically on usage of a custom button rather than rely only on the generic form save metric.
Please also note that if the Adaptive Form is embedded in an iFrame, there can be additional tracking considerations. Adobe documents this behavior here:
Thanks
Pranay