SOLVED

Re: Post Data from Form 2.0 to Marketo and Target Page

Go to solution
Valerie_Armstro
Level 10 - Champion Alumni

Post Data from Form 2.0 to Marketo and Target Page

We have a Marketo Form 2.0 that collects basic information about the prospect, in addition to password data, to start a trial. What we are looking to do when the prospect clicks to submit the form is to save some of the info to Marketo and then post all the data from the form, including the password, to the target page where the browser should take the user to next.

Is this possible?  If so, how would we be able to do this?
Tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions
Justin_Cooperm2
Level 10

Re: Post Data from Form 2.0 to Marketo and Target Page

Because you are only saving a subset of the info to Marketo, it would probably be best to have your dev team write their own form on your website with the desired fields and then reference the AssociateLead call on this page to send the field values you care about to Marketo:
http://developers.marketo.com/documentation/websites/lead-tracking-munchkin-js/ 

View solution in original post

11 REPLIES 11
Justin_Cooperm2
Level 10

Re: Post Data from Form 2.0 to Marketo and Target Page

You can find ways to do this on the developer site:
http://developers.marketo.com/documentation/websites/forms-2-0/
Valerie_Armstro
Level 10 - Champion Alumni

Re: Post Data from Form 2.0 to Marketo and Target Page

Hi Justin,

That was the first place I referred my Dev team to review when they had asked this question.  However, they were not certain that the information found there would accomplish what we are looking to do.  Is there something on that page in particular that you think will be able to help us meet our requirements?
Justin_Cooperm2
Level 10

Re: Post Data from Form 2.0 to Marketo and Target Page

Because you are only saving a subset of the info to Marketo, it would probably be best to have your dev team write their own form on your website with the desired fields and then reference the AssociateLead call on this page to send the field values you care about to Marketo:
http://developers.marketo.com/documentation/websites/lead-tracking-munchkin-js/ 
Valerie_Armstro
Level 10 - Champion Alumni

Re: Post Data from Form 2.0 to Marketo and Target Page

Dev has built a form that we have tested, but we ideally need this form to be a Marketo form so that Marketing has control over the form (in case changes are needed), Marketing can use this form in different places for various campaigns (Marketo pages and pages in our CMS), and to prevent needing to switch out forms again like we did switching to 2.0 (there are currently 100s of landing pages this is used on in Marketo).  

If the only option was for us to do this using a Marketo form, would it be possible?
Anonymous
Not applicable

Re: Post Data from Form 2.0 to Marketo and Target Page

You could send this data using the REST API
Valerie_Armstro
Level 10 - Champion Alumni

Re: Post Data from Form 2.0 to Marketo and Target Page

Hi Murtza,

Using the REST API, what calls would we need to use to post the data from the Marketo form to the target page and also bring the user to that target page upon submit?
Anonymous
Not applicable

Re: Post Data from Form 2.0 to Marketo and Target Page

@Val, using this approach you would pass form data to your server. Then use your server to send this data using Create/Update Lead REST API
Anonymous
Not applicable

Re: Post Data from Form 2.0 to Marketo and Target Page

Hi Murtza:
To be sure : the form that we will embed in our signup process will be custom built. We will submit the form and post the data directly to our target page and from there call in to Marketo using the rest API to handle lead related info.
This means that we will have to manually switch out the current Marketo singup form in 100s of landing pages with the new custom built form? I suspect this will be cumbersome to change manage. Is there a way to create and maintain it one place and then push it to all the landing pages without having it to do it 1 by 1 (sorry.. i am not very familiar with Marketo).
thanks!
David_Klein
Level 2

Re: Post Data from Form 2.0 to Marketo and Target Page

You could also reverse the order in which you process the form data.  In other words, you could use standard Marketo form and then leverage a webhook that submits to your non-Marketo form.  A downside to this approach is that you would need to save all fields to Marketo.