Handle the event and build the interactions
To create a new event handler for the Sitefinity Insight connector, inherit the InteractionTrackingHandlerBase<T> abstract class overwrite its ComposeInteractions method.
For more information, see Create new data collection handlers.
NOTE: Make sure you register the new event handler in Sitefinity CMS backend.
You first override the built-in event handler to upload the submit form data to Sitefinity Insight and then you override the List<Interaction> ComposeInteractions CustomSubmitFormEvent @event method of the class: