roxitsc of Instapage Tech Support
7/8/2016 - 9:25 AM

Google Tag Manager form submission

Google Tag Manager form submission

<script type="text/javascript">
window.instapageFormSubmitSuccess = function( form ){
    window.dataLayer = window.dataLayer || [];
  window.dataLayer.push({
    'event' : 'formSubmissionSuccess',
    'formId' : 'contactForm'
  });
};
</script>

custom event GTM: http://take.ms/7hrXh
GTM tag: http://take.ms/aAzKJ