Lead Gen Form hidden fields

Last updated: 2 hours ago

Hidden fields in Lead Gen Forms allow you to create and track additional fields in your Leads reports to help you understand key aspects such as the performance of your channels, assets, forms, and ad sets. These fields can be especially helpful if you’re using a third-party marketing automation platform to manage your leads.

Important to know

Members won’t see hidden fields within the Lead Gen Form. The fields are for reporting and testing purposes only. Hidden fields don’t capture or convey any member data.

Benefits of hidden fields 

Hidden fields allow you to: 

  • Analyze performance across campaigns, ad sets, and creative assets without creating multiple forms. 
  • Add metadata (like campaign name, source, or agency ID) into your Leads report for deeper insights. 
  • If you use a marketing automation or CRM tool, hidden fields can also help you organize your leads and send them to the right place automatically. 

How hidden fields work

The field names assigned for hidden fields appear in the Leads report as a column title, and the value assigned to the hidden field will appear in the associated column for every lead generated from the form.

  • Static hidden fields - These use a fixed value you choose when creating the form. For example, if you set a hidden field title as “Agency ID” and enter a field value of “12345”, the Leads report for the form will include a column titled Agency ID and for every lead captured in the report, the value of 12345 will appear in the Agency ID column. 
  • Dynamic tracking parameters within hidden fields - Instead of one fixed value, dynamic tracking parameters can automatically capture different values for each lead. Dynamic tracking parameters are helpful for tracking things like account, campaign name, or ad without having to create multiple forms. 
snapshot

Hidden field specifications

Keep the following specifications in mind:

  • You can add up to 20 hidden fields to each Lead Gen Form. 
  • For dynamic tracking parameters, the following are supported:
    • ACCOUNT_ID and ACCOUNT_NAME
    • CAMPAIGN_ID and CAMPAIGN_NAME
    • AD_SET_ID and AD_SET_NAME
    • AD_ID and AD_NAME
  • Hidden fields can be added when creating a new Lead Gen Form template or when editing a saved form. They can’t be added to an existing form that’s attached to an active ad set.
  • The character limit for the field name is 250. 
  • You can add hidden fields even if you aren’t using third-party integration. 

Related tasks

Learn more

People also viewed