This snippet will redirect the visitor after three seconds to a specific thank you page.
const submit = document.querySelector('.wysija-submit'); submit.addEventListener('click', () => { setTimeout(() => window.location.replace("YOUR_CUSTOM_URL"), 3000); });
Leave a Reply