I would like to re-direct lead on the basis of known pre-filled field in Marketo's landing page. In our case, we have created a triggered smart campaign in Marketo to update a boolean field , if the lead belongs to a specific domain. We have already tried applying a delay in form submit however got no success and also we have tried submitting hidden form in 2nd landing page, but we are still not able to get the desired result. We want the redirect to happen in real time basis only and also we have more than 150 domains. Any help would be appreciated. ?
Let's not think about "Pre-Fill" because that implies a form.
In your explanation, I don't hear why this needs a form at all.
Is the intent that
?
Thank you for your replay. We need a form to know our customer and also cookie them for Web personlization and Content AI. We are not sending them any Marketo Email to cookie them.
Regarding your other questions:
They are existing in Marketo, however they might not be cookie'd by marketo previously and we want to track their behavior.
Yes you are correct about 2 and 3rd part we want to redirect these known Email domain to a specific page.
You just changed the spec from your original phrasing... that kind of adjustment isn't going to make this easy to answer!
Thank you for your replay. We need a form to know our customer and also cookie them for Web personlization and Content AI.
Let's not use the verb "cookie." Munchkin sets an anonymous cookie no matter what else the user does.
Let's say "associate the Munchkin cookie" if that's what you mean, since it is more accurate.
Filling out a form is not the only way to associate the cookie. The cookie is also associated via merely visiting a web page, if the mkt_tok query parameter is present. Note this is also the only case in which native form Pre-Fill is enabled.
We are not sending them any Marketo Email to [associate their cookie]
If you aren't sending them a Marketo email then you cannot use native Pre-Fill, period.
Hence, where your first post says "...on the basis of known pre-filled field in Marketo... " that's absolutely not possible, because there will never be Pre-Fill without a Marketo email.
And you also say their Munchkin session may not yet be associated when they visit the page. That means you can't even use a {{lead.token}} (which would have been my suggestion otherwise) because you're saying you need to wait for them to fill out a form.
Do you actually mean you want to make the Thank You URL conditional on whether the Email Address domain, which they've just entered in a form, is found in a list? If so, that doesn't have anything to do with Pre-Fill. It's just "fill".
Yes you are correct that eventually we want to make a thank you URL conditional on the basis of Email address domain which they have just entered in a form.
So why not do that in Form Editor under Advanced Thank You pages? That's the easiest way to accomplish this without any code.
suggest you do your redirect using forms js.
keep your list of domains in a root level token so it scales
I would usually agree and push toward an onSuccess listener, but a major advantage of using Advanced Thank You (when you can) is that you hide the rules from end users. So if it's a list of VIPs or blacklisted domains or something like that, better for it not to be inspectable.
yes, if you have one or two forms to maintain, use the thank you page choices
but if you need scaleability, while wanting to hide the list of domains, you can add an ajax call in your form's onsubmit to an endpoint that does the checking
Well yeah, but that's not in Marketo anymore, so pretty far outside the realm of what's being contemplated here.