How can I conditionally redirect users to a different Thank You page URL