Getting Marketo Form Id | Community
Skip to main content
May 22, 2013
Question

Getting Marketo Form Id

  • May 22, 2013
  • 2 replies
  • 2231 views
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.
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

Edward_Masson
Level 10
May 23, 2013
if you view the HTML source of a Marketo page with a form and seaarch for 'formID' you should see the number
March 27, 2014
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.