pre-filled forms

Hi @CD001,

You can pre-populate a form on a landing page with known contact information by adding a link to a marketing email, following the syntax below:

www.company.com/landingpage?

email

=

{{ contact.email }}

&

firstname

=

{{ contact.firstname }}

&

lastname

=

{{ contact.lastname }}

HubSpot will look at the blue like a personalization token in an email and populate it with the information you have on the contact record.

In orange, you have the internal labels of properties in HubSpot. (You can find these in the property settings by opening a property and then clicking the </> icon next to its name.)

If a link is opened, a web browser will attempt to match the orange label to a field of a form on that page.

In blue, you have the syntax for the personalization token in HubSpot. If it’s spelled out, that’s what it looks like. It always consistts of two curly brackets, a space character, the object, a stop, and again the internal label of the field name.

By adding ampersands, you can chain more fields. Be cautious however, I’ve seen too long links break.

Keep in mind that when you use this method, all of this information is stored within the email. If the email is forwarded, for example, the recipient has all of this information on the contact. Depending on the information you’re capturing and depending on your industry, there might be privacy concerns.

Best regards!