Welcome to the Instapage Support Center

|

Form submit callback

The HTML/CSS and Javascript settings are available under our professional plan or above.

Instapage allows to run javascript code just after form is sucessfully submitted. To achieve that just add the javascript code in your Settings - JavaScript 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.

Have more questions? Submit a request
Was this article helpful?
1 out of 1 found this helpful

Need Further Help?

Tell us what you need and we will be happy to assist you.

Our team of expert support staff and our community can answer your questions. Submit a ticket, reach out on live chat or call us now!