GA event on form submission - multiple forms
<script>
window.instapageFormSubmitSuccess = function( form, wid ){
if ( wid === 6 )
{
ga('send', 'event', 'button', 'submit', 'form-submission');
}
else if ( wid === 7 )
{
ga('send', 'event', 'button', 'submit', 'form-submission');
}
else
{
// do nothing out of a box
}
};
</script>