Ensure the following:
- Disable redirection for the form.
- The redirection link must be from the same domain as the form page.
- Installing the script on the form page.
- Installing the script on the thank you page.
On the form page
- Paste this script after your form.
- Replace the following in the aformentioned script:
| Find in snippet | Replace with |
|---|---|
| formID | your form’s ID |
| routerID | your router’s ID |
| redirect.com | your thank-you page URL |
On the thank you page
- Paste this script in your page’s
<body>.
- You’re all set!