Redirecting a webhook form to another page is easy using this method:
https://discord.com/channels/955905230107738152/1249714434570453073/1249763312984658051.
However, is it possible to redirect to a URL that looks something like this:
https://website.com/thank-you-page?email={{email_input}}&name={{name_input}}
The URL needs to be built after submitting the webhook form, and then performing the redirect. I tried adding a script in the "Success box" that looks something like:
let userEmail = document.getElementById('form-name')
let userName = document.getElementById('form-email')
const redirectUrl = /thank-you-page?email=${encodeURIComponent(userEmail)}&name=${encodeURIComponent(userName)};
But it didn't pass the values to the thank you page URL. The use case for this is using zaraz.track to get the email and name for a Facebook Pixel integration.