Hi @virgiliosantos,
Are you talking about a callback script within JS, or within PHP? If you’re talking about JS, then you should be able to attach to the same event handler that the form itself uses:
$( 'body' ).on( 'submit', '.yikes-easy-mc-form', function() {
// Do your stuff here.
} );
If you wanted something more specific within the Easy Forms, it could be a feature request to have an event trigger within our own code.
Hi @virgiliosantos,
To add to @jpry’s response, we have custom JS callbacks that were originally intended for Google Analytics integrations. They could be used for any JS code you wanted though. The nice thing about these is you can decide to fire them based on whether the subscription was successful or not.
Here’s a KB article with more information: https://yikesplugins.com/support/knowledge-base/add-google-analytics-event-tracking/
Cheers,
Kevin.