Hi there,
I was wondering if anyone have any suggestions on implementing blind form submissions for a few of our web pages.
The main idea is:
Buttons gets clicked > Form submits if cookie is recognized / form shows if it's an unrecognized cookie > Directs to the content page
Thank you!
Best,
Gina
Hi Gina,
I think this is what you're looking for.
Show Custom HTML Form for Known Leads - Marketo Docs - Product Docs
Basically, if the lead is known (recognized cookie) then they'll be able to click right through. If not, then they'll be presented with a form.
John
Thanks, John.
I was aware of that form capability, but it didn't redirect me to the next page when the user was recognized and the form was hidden.
Perhaps there is a script I need to add to automatically submit when the form is hidden? This is the part where I got stuck.
Indeed, the "Know user" feature does not bring you to the next page. It enables you to get the content or a link to the next page.
To do it exactly the way you want, you will need some scripting using the forms 2.0 API : Forms 2.0 » Marketo Developers
-Greg
In fact the Known Lead HTML can be leveraged to forward to the Follow Up URL quite easily.
For the Known Lead HTML, type:
<script>
document.location = 'http://example.com/your-thank-you-url.html';
</script>
Thanks, Sanford. This seem to work in sending it to the follow-up page, but is there a way to submit the form (if it shows up for the known visitor) automatically?
I'm not exactly clear on why you'd want to submit a form that (in this case, by definition) has no new data. You can accomplish the same tracking (with no wear-and-tear) by appending to the query string of your Thank You URL something like ?from=knownLead.
Ahh, I see.
The form will always show, as there's no way to automatically submit it. The lead will have to click the button even if they're a known lead, but it makes it so they don't have to fill in all of their information again.
John
Thanks everyone for the input. I'll discuss with my supervisor and see what is the best way to implement this.
We were able to get what we want by adding a JS block on the iframe/landing page. If fields are not empty (our fields are set to autofill), then it will redirect to the follow-up page; else, the form will load.