Redirection after form submission

Last Updated: 17.10.2019

If you are a Basic, Core or Create plan user, you can redirect your users to another, custom thank you page/conversion page by using simple javascript code. It can be another landing page created in Landingi platform or any other website.

Users of Automate and agency plans can do it automatically, using the option Action after form submission.

How to redirect the user to a custom thank you page by using JS?

1. Go to the Landing pages tab and enter the Dashboard of the landing page to which you want to add the code.

2. Go to the JavaScript Code tab and click Add script.

3. Copy the snippet of code visible below, replace the exemplary URL with the proper address of your page and paste it on the head position on Conversion Page.

<script>
window.location.href = "http://your-desired-conversion-page.here";
</script>
Custom thank you page

4. Save the changes.

From now, users after form submission will be redirected to a chosen alternative thank you page.

NOTE:
For a short period of time the default thank you page will be loaded, because the script which redirects users to the custom conversion page needs to be activated on that default thank you page. For better visual effect, you can leave in the editor the default thank you page blank or place there a loading gif.

Was this article helpful?

You might also check:

custom Javascript

Can’t find what you need?

Let us help you!
Send us a message
We are using cookies for analytical purpose. Learn more.