Can we pass a Marketo landing page form value like email address to an external page like a survey using javascript so the email address value populates my survey question w/o the end user having to enter it again?

Anonymous
Not applicable

Can we pass a Marketo landing page form value like email address to an external page like a survey using javascript so the email address value populates my survey question w/o the end user having to enter it again?

We have a survey built in SurveyMonkey and are about to execute a campaign that points people from email and direct mail to a Marketo landing page where we ask basic questions like Name, Email and Industry. The idea being people hit the landing page, get cookied and fill out the form to land in the lead database.

The submit button will redirect responders to a short survey outside of Marketo, when completed they will be redirected back to a Marketo Thank You landing page. This flow is designed to be able to make best use of SmartCampaigns to deliver survey results and nurture.

Our problem is that we're very new customers and not yet using CRM that has the native integration with survey tools - that's a few weeks out yet - Marketo doesn't have native survey integration with anything so far as we can tell (Polls are not part of Spark). The only way to track survey responders to their answers would be to ask them to enter their email address again when they hit the survey...not ideal.

Survey Monkey does allow you to pass custom variables over so you don't have to ask for something like email address again - so we are wondering if anyone can tell us if it's possible to pass the email address over using JavaScript or PHP or something like that.

If anyone has a better approach for this type of campaign I'm all ears!

Many thanks in advance.
Tags (1)
5 REPLIES 5
Calvin_Lam
Level 4

Re: Can we pass a Marketo landing page form value like email address to an external page like a survey using javascript so the email address value populates my survey question w/o the end user having to enter it again?

Below is what I come up with.  It is not the most elegant solution but it should do the trick.

(1) On your landing page form, specify the follow-up page to another Marketo Landing Page say "IntermediateStep"
(2) In the Intermediate Step Page, use the HTML element to embed some custom javascipt and use Token such as Lead.Email Address as your URL parameter values.  In a GET example, you can do something like

*** NOTE: Watch for encoding/decoding on the token.  Example below doesn't take that into account ***

<script>
document.location.href = "http://someMonkey.com/survery.html?email={{lead.Email Address:default=Please Enter your email}}";
</script>



Anonymous
Not applicable

Re: Can we pass a Marketo landing page form value like email address to an external page like a survey using javascript so the email address value populates my survey question w/o the end user having to enter it again?

Thanks for the idea, Calvin!
Anonymous
Not applicable

Re: Can we pass a Marketo landing page form value like email address to an external page like a survey using javascript so the email address value populates my survey question w/o the end user having to enter it again?

Hi guys,

I'm pretty sure you can just put the url parameters into the follow up page.

Use the External URL feature for fills out form for your follow up page and do something like:

www.surveymonkey.com?email={{lead.Email Address}}

Should work fine.

Nation150_Rizzo
Level 4

Re: Can we pass a Marketo landing page form value like email address to an external page like a survey using javascript so the email address value populates my survey question w/o the end user having to enter it again?

HI Mike,

I had this same issue, and using the one field Survey Monkey allows you to hide (c), I was able to attach a SFDC Id to each person who fills out the survey with out them knowing. Here is the article: http://help.surveymonkey.com/articles/en_US/kb/Can-I-track-respondents-using-a-unique-ID
Let me know if you have any questions, because I managed to get mine working perfectly.

thanks,
Anonymous
Not applicable

Re: Can we pass a Marketo landing page form value like email address to an external page like a survey using javascript so the email address value populates my survey question w/o the end user having to enter it again?

Thanks for the feedback Michael & Karly!  We ended up going a different route, but it's good to know the idea is possible for the next time around.