When campaign builder was introduced, it provided the ability to use merge fields on the form’s thank you page.
This hack uses a simple piece of JavaScript to pull information from a customer merge field and redirect based on the fixed possible values.
Infusionsoft Cookbook – Chapter 10.4 – Conditional Thank You Pages Based On Custom Field Values
