Pass field value to URL parameter
So basically, we’ve built custom private pages for our client’s customers. The thing is that there are many customers groups/segments and we created one private page per group.
So, in order to join these pages, the users must fill out a form inside HubSpot and one of the form fields is called “Security Token”, a single-line text field.
Depending on the group they belong to, the customers will enter a different “Security Token”, with this “token”, we identify the segment where they belong to.
So, for internal purposes, we need to pass the “Security Token” field value into a string parameter in the URL of the page that they’re redirected.
- The user fills out the form (COS Page and HubSpot form), and its token is “TOKEN101”
- Form is submitted and it’s redirected to the desination page.
- The destination page URL should be “www.example.com/destination-page?token=token101”
Is there any way to achieve this? Maybe using Forms API?
Thanks in advance for your time