Use Hidden Form Fields

Hidden form fields can be used to pass values into a contact's profile without requiring the contact to fill in that information on the display's form. This approach allows you to use as few form fields as possible while still collecting the information that is important to your business. For example, when a contact submits a display, you may want to note their location, their last referring URL, or the coupon they were provided in the background. 

What information is collected?

The information that a Hidden Field collects is either manually set when creating the display or determined by a Detected Attribute. A Detected Attribute is information that is automatically pulled from a visitor's browser settings or cookies, added to the hidden field on the form, and recorded in the contact's profile in Privy when the display is submitted. The collected information can also be shared with external services, such as an email service provider, via a display automation rule.

Add hidden fields to forms

To add hidden fields to your form:

  • Navigate to the Convert > All Displays via the main navigation.  
  • Select or create a "Build your own" display that includes a form. 
  • In the Create step of the display builder, select the Form fields option. 
  • Select the Add Field button, followed by the hidden field type from the dropdown menu. 
  • Configure the field's name and value. If you insert a detected attribute, the name and value are set for you automatically. 
  • Select the Save option. 

Note: If you are using an external service to send messages or store contact information, it is important to map the hidden fields to that service. The mapping(s) ensure that all the data you are collecting in your form and associating with your contacts appears in your database in the right spot. The mapping(s) should be done before you launch your display. 

Where is the information stored?

A field that has been manually set by the hidden field is reviewable in two places in your Privy account:

  1. The Attributes section of the contact's profile. 
  2. The signup event is in the contact's profile. Additional information about the signup, including any provided hidden field values, is reviewable by selecting the Details button. 

To locate a contact's record, navigate to the Contacts dashboard via the main navigation and search/select a contact from the table that is shown. 

A field that has been automatically set by the hidden field using a detected attribute is reviewable in two places in your Privy account: 

  1. The Detected Attributes section of the contact's profile. 
  2. The signup event is in the contact's profile. Additional information about the signup, including any provided hidden field values, is reviewable by selecting the Details button. 

To locate a contact's record, navigate to the Contacts dashboard via the main navigation and search/select a contact from the table that is shown. 

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us