Form submit callback

Instapage allows running javascript code just after the form is successfully submitted. To achieve that just add the JavaScript code in your Settings - JavaScript, in the Header section:

<script type="text/javascript">

window.instapageFormSubmitSuccess = function( form ){

    // here is your code to execute
    // form variable holds submitted form

};

</script>

 

Inside the "instapageFormSubmitSuccess" function where you have the text 

    // here is your code to execute
    // form variable holds submitted form


You will need to add in your own code, like for example an event tracking code or a Facebook pixel.