Pre-Fill Your Form or Booking Fields From the URL

If you have a unique URL that contains variables in it that are used for quick personalization or pre-filling, you can send that data to the forms. 

Example: If the URL contains ?name=John?country=USA, you can push the values for name and country to the page.

Pushing the Information to a Form, Booking or Checkout

The only thing you need to do is to make sure that the labels of your fields match the URL variables. In our example, you need to have ‘name’ and ‘country’ for labels of 2 fields in order to take the values and pre-fill the fields.

Displaying the Information on the Page

All you need to do is use the personalization tag from our example: {param.name} or {param.country} anywhere on the page (for example, in a text widget), and on the actual page, it will display the actual value taken from the URL.

If you want to push values from a submitted form to the next page: you can select the Pass submitted values in the URL of the next page checkbox in the form to send people to a custom Thank You page. This will send all the fields to the next page in the URL in the same way as in the example.

Share to others