How can I record the submit button instead of the feedback button in Google Tag Manager?

  • bigblueroad
    Asked on November 21, 2017 at 2:24 PM

    Hi,

    I'm trying to set up Tag Manager to be able to get information everything they submit the form. I tried different option for the trigger and it seems to fire the tag everytime they click the button to open the form instead of when they submit the form. I was wondering if you had this problem before.

    This is the code and attached is the Trigger I was using.

    <script src="https://form.jotformpro.com/static/feedback2.js" type="text/javascript"> new JotformFeedback({ formId: "72675063061959", buttonText: "SOLICITAR COTIZACIÓN", base: "https://form.jotformpro.com/", background: "#F59202", fontColor: "#FFFFFF", buttonSide: "right", buttonAlign: "center", type: false, width: 700, height: 700 }); </script>


    Any help will be much appreciated!

    Thanks,

    Ana


    Jotform Thread 1304233 Screenshot
  • Welvin Support Team Lead
    Replied on November 21, 2017 at 3:32 PM

    I am not an expert with Google Tag Manager. But you should make sure to filter the button ID instead of the whole page or form. Please try this setup:

    How can I record the submit button instead of the feedback button in Google Tag Manager? Image 1 Screenshot 20

    Also, try picking up the form URL or the ID via the Variable settings and use it on the Trigger. The form is loaded in an iframe and I'm not sure if the Page URL will work. It should be the within the DOM Element. 

    Let us know if you need further assistance.