SOLVED

Re: Thank you Landing vs Asset

Go to solution
kellieshea
Level 1

Thank you Landing vs Asset

Hello All,

 

My Marketing Team is having a discussion on whether or not to have a thank you landing page before a lead hits the asset.

 

Right now once a lead fills out a form they go to the thank you landing page where they have hit another download button BUT they can go hit other CTA and end up on our website.

 

I some programs where we have seen a high abandon browse once they hit the thank you landing page because they have to click another download button.

 

Once a form is filled out so it goes right to a PDF/Asset?

2 ACCEPTED SOLUTIONS

Accepted Solutions
SanfordWhiteman
Level 10 - Community Moderator

Re: Thank you Landing vs Asset

It’s fine to not have a Thank You page. But IMO you shouldn’t just open the asset over the page with the form, that can be very confusing. Instead, open it in a new window.

View solution in original post

Siva_ssga
Level 1

Re: Thank you Landing vs Asset

You can place a small piece of code on the form page where the user can be directed to a standard thank you page and the asset opens in a new tab.

View solution in original post

5 REPLIES 5
SanfordWhiteman
Level 10 - Community Moderator

Re: Thank you Landing vs Asset

It’s fine to not have a Thank You page. But IMO you shouldn’t just open the asset over the page with the form, that can be very confusing. Instead, open it in a new window.

Siva_ssga
Level 1

Re: Thank you Landing vs Asset

You can place a small piece of code on the form page where the user can be directed to a standard thank you page and the asset opens in a new tab.

SanfordWhiteman
Level 10 - Community Moderator

Re: Thank you Landing vs Asset

@Siva_ssga quite true but it would be good if you could post said code to help others on the Community.

Siva_ssga
Level 1

Re: Thank you Landing vs Asset

Here's the script which needs to be placed on the form landing page

 

<script src="//app-abq.marketo.com/js/forms2/js/forms2.min.js"></script>
<form id="mktoForm_<form id>" class="e-book-form" autocomplete="off"></form>
<script>
MktoForms2.loadForm("//app-abq.marketo.com", "<munchkin id>", <form id>, function(form) {
  var thankYouWindow;
  form.onSubmit(function(form) {
    thankYouWindow = window.open('<thank you page link>');
  });
  form.onSuccess(function(vals, followUpUrl) {
    thankYouWindow.document.location = '<asset link>';
  });
});
</script>
SanfordWhiteman
Level 10 - Community Moderator

Re: Thank you Landing vs Asset

Almost, but (a) the new window doesn’t need an initial URL and (b) the new window’s final URL can simply be the Thank You URL. You would only override it if you had some reason to not use the Form Editor setting.

 

<script src="//app-abq.marketo.com/js/forms2/js/forms2.min.js"></script>
<form id="mktoForm_<form id>" class="e-book-form" autocomplete="off"></form>
<script>
MktoForms2.loadForm("//app-abq.marketo.com", "<munchkin id>", <form id>, function(form) {
  var thankYouWindow;
  form.onSubmit(function(form) {
    thankYouWindow = window.open("");
  });
  form.onSuccess(function(vals, followUpUrl) {
    thankYouWindow.document.location = followUpUrl;
  });
});
</script>