Can you set a form to go directly to the thank you page if it's a known visitor? | Community
Skip to main content
Level 3
November 9, 2018
Question

Can you set a form to go directly to the thank you page if it's a known visitor?

  • November 9, 2018
  • 2 replies
  • 5405 views

Hello,

I just started using Marketo so I'm probably just missing something very basic, but my search hasn't turned up anything so far. I have a form that redirects to different thank you pages based on the UTMs.  Is there a way to bypass the form and go directly to the defined thank you page if the visitor is known?

Thanks in advance!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

Jay_Jiang
Level 10
November 9, 2018

So you want, for example, a cookied lead who clicks a link that should go to a landing page... to skip the landing page and go straight to the thank you page?

In your form settings, change settings for known visitors to custom HTML

There you can add <script>window.location="//redirect.page.com"</script>

Adobe Employee
November 9, 2018

Hi Jay,

I am assuming this still requires the user to "submit" the form?

Thanks

Floyd

SanfordWhiteman
Level 10
November 9, 2018

I am assuming this still requires the user to "submit" the form?

No, Jay's code bypasses the need to submit the form, because as soon as the KV HTML is rendered (note: not as soon as the page is fetched, though presumably this part is acceptable) the browser will take them to the new location.

The problem is it ignores the UTM part.

Adobe Employee
November 9, 2018

Hi Kana,

I am sure you could accomplish this via java scripting, however I am wondering on the use case.

In Marketo you can actually set up your form to show a custom html but still allow the customer to submit the form but not required to fill in the form details. You would capture the UTM in the form via hidden fields via the referral param or UTM param and show different thank you pages when they submit the form.

Hope this helps

Floyd

SanfordWhiteman
Level 10
November 9, 2018

This won't work out-of-the-box, either, because KV HTML doesn't honor hidden field AutoFill.  You have to rebuild the AutoFill logic yourself via JS. Then (and only then) will the Advanced Thank You choices be honored.