APIs & Integrations

Not applicable

String from Form submission

Hello,

I need to pass the information coming from one form to a string in the thank-you page url like the one below because it is the easiest way to send the information into a different script in our thankyou page. However, the tokens don’t seem to work.

https://www.brillen.de/thank-you-callcenter-hs?lastname={{contact.lastname}}&email={{contact.email}}&postalcode={{zip}}&telephone={{phone}}&pname={{product}}&status=all

Is it possible at all or only doable via API?

Thanks

0 Upvotes
3 Replies 3
3PETE
HubSpot Employee
HubSpot Employee

String from Form submission

@Javier_Revilla Is this page hosted on HubSpot?

0 Upvotes
Not applicable

String from Form submission

The page where the form is submitted is in Hubspot. However, the thank-you page is in our CMS, and that is why I needed the string, so I can pass the information into another piece of code.

0 Upvotes
3PETE
HubSpot Employee
HubSpot Employee

String from Form submission

This isn’t going to be possible sending it to a non-HubSpot page. Adding tokens into a redirect URL won’t resolve as I’m sure you have seen. You will have to pull the information via the API. Also note that the API call must be made server-side