String from Form submission

forms

#1

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


#2

@Javier_Revilla Is this page hosted on HubSpot?


#3

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.


#4

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