jvstratum
Hi again!
Hustle is an exit intent popup I use. I talked to Hustle developers. They said this about my problem:
Our developers also suggested a custom function. If the AcyMailing return any call back on the form submit, you can trigger the PopUp close using a function similar to:
jQuery(document).on( 'PLUGINSUBMITACTION',function( e ) {
var popup = document.querySelector('.hustle-popup'),
closebtn = popup.querySelector( '.hustle-button-close' );
closebtn.click();
});
You can check with the AcyMailing support if there is any callback action that you can use on the above JavaScript function if so, most of the themes allow adding those custom JS on the theme settings, or you can use a custom JS plugin.
Let us know if you have any further question on this.
Can I use that code? If yes, what can I write instead of the 'PLUGINSUBMITACTION' part?
Thanks,
Peter