Redirecting to external url in Hubspot form

Hubspot Forms Creation

Hi,

I need assistance creating a hubspot form. I have already created the form with very few fields (email address, first and last name being required). When the form is filled and the SUBMIT button is hit, I want the data to be transferred in a URL and I am having issue with this.

So, the exact URL is :
https://rcos.be/connexion?create_account=1
After that URL, I want to have the parameters of the form passed: firstname, lastname, email.
So in the end for example, if the form is filled in with Bukunmi, Odetayo, oluwabukunmiodetayo@gmail.com; the URL should dynamically be https://rcos.be/connexion?create_account=1&firstname=Bukunmi&lastname=odetayo&email=oluwabukunmiodet…

Can you please help me with this?

Thanks

Hi @BukunmiOdetayo
If you were using this in a HubSpot landing/website page you could use personalisation tokens as described here: https://community.hubspot.com/t5/APIs-Integrations/Pass-field-value-to-URL-parameter/m-p/240556/highlight/true#M19452
It looks like you are embedding your form in an external site so you need to modify your form embed code to pass your field data as UTM parameters as described here: https://community.hubspot.com/t5/APIs-Integrations/Include-form-fields-as-redirect-URL-parameters-on-an-embedded/m-p/235042/highlight/true
Hope that helps!

Hi @MatthewShepherd ,

My apologies for responding this late. Yes this helps address the issue I was facing. Thanks a lot!