Every time an action occurs with the popup a Javascript event it’s fired. You can use these events to perform other actions in your site, fire new events or prevent actions.
Events available
wppopups.popup_converted : Fires on popup conversion.
wppopups.popup_opened : Fires when a popup opens.
wppopups.popup_closed : Fires when a popup close.
wppopups.form_submitted : Fires when a regular form is submitted.
wppopups.optin_on_redirect : Fires when a optin form performs redirection after success.
wppopups.optin_form_submitted : Fires when a optin form is submitted.
wppopupsProStarted : Fires when wppopups pro started.
wppopupsBeforeReady : Fires before wppopups is ready
To subscribe to an event with jQuery you need to do the following
$(document).on(‘wppopups.popup_converted’, function( event, id ) { if( id == ‘123’ ) { // do something } }); //$(document).on(‘wppopups.popup_opened’, trackOpening);