LeadSquared Landing Pages can be used to create forms and these forms can be embedded as iFrame in your website. Here is an article describing the process.
On submission of the form, you may want to redirect the lead to a thank-you page or any other web page. By default the redirected page will open within the iFrame in which form is embedded. If you want the host page (the web page in which form is embedded) to redirect to the new URL, follow these steps:
<pre><script>window.top.location.href = "http://www.yourwebsite.com/desired-url";</script></pre>
Example: If the redirect URL is www.google.com then the script will be:
<pre><script>window.top.location.href = "http://www.google.com";</script></pre>
Publish this landing page and get the URL. In your form only landing page which you intend to embed on your web page, add an option to redirect to this URL.
Please note that if your landing page is accessed through “http”, you can only direct to a page through http. The redirect will fail if you try to redirect to a page with “https” URL.
Hi Prashant Sir,
while doing this step the page is automatically going to the thank you page without form submission only. Redirection is hapenning on page load directly
Hi, Anindya. Can you please elaborate on whether the redirect is happening on a LeadSquared Landing Page or on your organization’s web page? Please send a detailed mail about this to email@example.com, and we’ll get back to you ASAP.