Passing UTM parameters from the URL to a hidden field

Using our Dynamic Text Replacement feature you can easily pass UTM values to a hidden field on your form in order to track your ad source, campaign, or any other information you need.

NOTE: UTM parameters are case sensitive, so it is important to note that [UTM_Source] and [utm_source] are not the same. Check the format that you are using in your URLs and configure the hidden field accordingly.

Adding a hidden field to your form.

1. Click edit on your form and then Add a new field;

image of the edit button on a form

2. Select a new Hidden field;

image of the hidden field option

3. Add your UTM Parameter name in the value field using square brackets, i.e. [utm_source]

image of hidden field values

Setting up your UTM Parameter.

For this example, we will use Facebook Ads.

Add your landing page URL including the UTM parameters to your ad.

image of a facebook ads example URL including UTM parameters

Now your hidden field will be automatically populated from the UTM parameter and the information will be passed along with the lead information.

image of the populated information from your hidden field

Note: Don't forget to map the new hidden field with your integration, if you are using a CRM and want the information in the field to be sent to it together with the rest of the lead.

 If your URL does not have UTM parameters attached to its end, the hidden field will just be passed as containing the text within it, [utm_source] or the equivalent. The dynamic text replacement feature replaces the text in the field if the appropriate URL parameter is found. Otherwise, the text remains the same.