That matters a lot.
Updated doest seem to be firing
<script src="//app-ab02.marketo.com/js/forms2/js/forms2.min.js"></script>
<form id="mktoForm_2190"></form>
<script>
MktoForms2.loadForm("//app-sjst.marketo.com", "663-HBN-994", 2190, function(form) {
//Add an onSuccess handler
form.onSuccess(function(values, followUpUrl) {
// Take the lead to a different page on successful submit, ignoring the form's configured followUpUrl
location.href = "https://www.surveymonkey.com/r/5KQ3VGB";
// Return false to prevent the submission handler continuing with its own processing
return false;
});
form.submit();
});
</script>
I still see "app-sjst" in the LP. Have you approved it after your change ?
-Greg
Defiantly. Maybe the Lp is bugged Ill try it on a new one
Just Tried on a new LP, still no go
You still have a app-sjst in a URL, line 337 of the page.
MktoForms2.loadForm("//app-sjst.marketo.com", "663-HBN-994", 2190, function(form) {
change it to
MktoForms2.loadForm("//app-ab02.marketo.com", "663-HBN-994", 2190, function(form) {
-Greg
Nice work on this I learned a lot!
Apparently, it works...
One of the lessons to be learnt is that to work on forms 2.0, always start from the code extracted from Marketo.
-Greg
This is a long thread with an easy answer.
The first link needs to be to a page with the Marketo cookie on it - ie, your company website or a Marketo landing page. You can just make a simple page which then links to the Survey Monkey.
Otherwise your program will only work with people who have already been cookied.
Not that simple, because your method adds a click. The point was to avoid that click...