We use an iframe from another platform than HubSpot (Livestorm). We would like to redirect users who submitted the form within the iframe to a thank you page. The idea behind is to be able to track how many people converted.
You can redirect users from our registration pages to a custom thank you page by using our custom code integration.
Now, for using it with the registration widget instead, it doesn't always allow you to do so. It would depend on the custom thank you page itself. I'm afraid for using it with the registration widget you would need to test this first, to see if your thank you page is compatible.
You may find a step by step explanation on how to activate the custom code integration in our documentation ->Add Custom Code to Livestorm
Here's the code you need to add to your account to set a custom thank you page:
<script> livestorm.on('registration-success', function () { window.location = 'https://www.InsertYourSite.com' }) </script>
I hope all of this helps!
Feel free to get on touch with us at help@livestorm.co if you have any more questions.