Redirecting at the Form Level

By default, Pardot forms display the specified Thank You content immediately upon submission, without sending the visitor to another page. Users do, however, have two options to redirect a user to a particular page.

There is a checkbox option on the Form Wizard under Completion Actions that says ““. Once this is checked, a redirect URL text box will appear for you to enter the page you want the visitor redirected.

Additionally, users can use the form’s Thank You Code, in the Completions Actions step to set up a javascript redirect if that is preferable to displaying the content immediately. A redirect can be useful when using third party tools such as Google Analytics goal tracking, which requires a success location to give credit towards completed goals.

The javacript code for a simple redirect would look something like the following:

<script type="text/javascript">
<!--
top.location.href = "http://www.site.com/";
//-->
</script>

You could also redirect into a new browser window and control the size of the pop-up with something like the following:

<script type="text/javascript">
<!--
window.open("http://site.com/success.html", 'success_window', 'width=1024,height=768'); 
//-->
</script> 

Note: If you still wants to use the Thank You code (i.e. for Adwords conversions) but also want to redirect,  insert the Javascript redirect from this article instead of using the checkbox option on the form.

Redirecting at the Landing Page Level

If your form resides on a Pardot landing page, you can also redirect prospects to another page at the landing page level. This option is available at the bottom of the Content step of the Landing Page Wizard, found at http://www.pardot.com/help/faqs/landing-pages/landing-pages.