When a landing page web form is opened in a browser for the first time, all fields are blank. However, you can still pre-populate the web form if values are carried in a query string that is appended to the web form URL.
By adding a query string parameter to the end of the URL, Acoustic Campaign places the parameter values that you include into their associated web form fields. Acoustic Campaign does not do a lookup on a contact's record by using the parameters that you enter.
For example, if your web form URL is www.example.com/optin, you can pre-populate the email address with the URL as firstname.lastname@example.org
If you have these four more fields on the form:
- First Name [text]
- HasPet [Yes/No]
- Birthdate [date]
- Country [country]
You can append them to the query string as parameters:
&First%20Name=John%20C&HasPet=Yes&Birthdate=10/03/1999&Country=United%20States - When building your query string, remember to encode each space to %20