Thanks for your answer. I will try to clarify my issue.
1. If I’m understanding you correctly, and given your example above, you’d replace http://www.yoururl.com?with http://www.domain.com/simulate.ph[p](http://www.domain.com/simulate.php)?.
→ Not exactly. The yoururl.com will be replaced with "http://www.domain.com/simulate.php**?**url= " . I’m afraid it generates a conflict because it already includes a “?”. So, with the form parameter it will be a second “?”.
- could you clarify where you got stuck regarding “I didn’t get how to use window.location =“http://www.yoururl.com?” + formData;”?
→ I don’t know how to use the +formdata. I tried to use this kind of URL given in the article you sent me but the redirection was not working
http://www.domain.com/marketing-offer?firstname={{contact.firstname}}&lastname={{contact.lastname}}&email={{contact.email}}
Each time i tried the redirected URL included some Hubspot form data like “hstc=” or “submissionGuid=”
So, this is where i’m stuck and I’ve no doubt that @derekcavaliero probably has the solution :).
Best,