2 Replies Latest reply on Mar 27, 2014 10:36 AM by 4996d555edb29e00123080146c3ea85ffd571239

    Getting Marketo Form Id

      Is there a way to get the Id created by submitting the form on the confirmation page.  I need to pass it into Google Analytics.
        • Re: Getting Marketo Form Id
          Edward Masson
          if you view the HTML source of a Marketo page with a form and seaarch for 'formID' you should see the number
          • Re: Getting Marketo Form Id
            As an alternative if you go to the form you are interested in via the Design Studio, then do Form Actions --> Embed Code, you will get some code that looks like the following:

            <script src="//app-sj04.marketo.com/js/forms2/js/forms2.js"></script>
            <form id="mktoForm_14"></form>
            <script>MktoForms2.loadForm("//app-sj04.marketo.com", "999-XXX-999", 1234);</script> 

            Whatever value you have where 1234 is located is the form id (formid). I believe this is the same thing as a vid which is also reference in the documentation.