Skip to content

Capture UTM Parameters in FormKeep Forms

A FormKeep submission only tells you what a visitor entered. To learn which campaign brought that visitor to your site, the form also needs attribution fields that can be completed automatically before submission.

1. Tag every campaign link

Use UTM parameters consistently on paid and campaign links, including search, social, email, publications and advertisements. Consistent tagging is the starting point: without it, there is no campaign value to carry into the form. A visitor who arrives without UTM parameters can still be classified from other referral and traffic signals, which is why attribution should not depend only on raw UTM values.

2. Add six hidden fields to the form

Add hidden fields to each lead-capture form, such as contact and email-signup forms. Visitors do not see these fields, but they provide named destinations for attribution data. Because FormKeep sits behind an HTML form, the fields can be added with the standard hidden input type. Six fields are required:

Field map

Channel; Channel Drilldown 1; Channel Drilldown 2; Channel Drilldown 3; Landing Page; Landing Page Group.

3. Let the script complete the fields

Once the fields exist, the attribution script fills them in the background at submission. It reads referral information, UTM parameters and device or traffic signals, groups the visit into a channel such as paid search or organic social, and stores that classification in a browser cookie. Storing it matters because the submission page is often different from the landing page: a visitor may click an ad, browse several pages, and only later open a demo-request form. A method that reads UTM parameters only from the current page would lose the original campaign in that situation.

Worked example

Consider a visitor who searches for a file-sharing solution, clicks a paid search ad, and reaches a demo form. The completed fields could read: Channel = Paid Search; Channel Drilldown 1 = Google; Channel Drilldown 2 = Brand Campaign; Channel Drilldown 3 = Dropbox; Landing Page = www.dropbox.com/features/share; Landing Page Group = Features. That structure separates the broad channel from the platform, campaign and advertiser, while also preserving where the visitor first landed.

4. Send the completed submission onward

When the visitor submits the form, the completed attribution values travel with the submission to FormKeep. From there, native integrations can forward the lead and its attribution data to systems such as Salesforce, ActiveCampaign, Microsoft Dynamics 365 or Pipedrive, so reports can be built inside the CRM rather than reconstructed later from separate campaign exports.

Why cleaned attribution beats raw UTM values

Raw UTM values are often inconsistent. The same platform might appear as Instagram.com, instagram or ig, and a CRM would treat those as three different sources. Normalising them into one channel gives a truer picture when comparing performance. Capturing the landing page and its group adds another useful cut: you can compare blog content with paid campaigns, or drill into individual articles to see which ones attracted valuable leads.

Pre-launch checklist

Before going live, check that every campaign link is tagged, all six hidden fields are present on each form, a test submission carries values for channel, drilldowns and landing page, and the receiving CRM maps those fields correctly. Also test a journey where the visitor lands on one page and submits on another, since that is the case most likely to expose lost attribution.

Hidden-field map with example values
FieldWhat it recordsExample
ChannelBroad traffic categoryPaid Search
Channel Drilldown 1Platform or sourceGoogle
Channel Drilldown 2Campaign groupingBrand Campaign
Channel Drilldown 3Advertiser or narrower sourceDropbox
Landing PageFirst page visitedwww.dropbox.com/features/share
Landing Page GroupSection or category of that pageFeatures

Example values illustrate the field structure; they are not live campaign data.

Frequently asked questions

Do UTM parameters need to be present on the exact page where the form is submitted?

No. Attribution data can be stored in a browser cookie when the visitor first arrives, so it can still be added when they submit a form on a later page in the same browsing journey.

Why not report on raw UTM values alone?

Raw values can vary in spelling and format for the same platform. Grouping them into consistent channels makes CRM reporting more reliable than counting each variant separately.

Can landing-page information be captured alongside campaign data?

Yes. Recording the first landing page and its group or subdirectory helps show whether content, campaigns, or specific pages produced the most valuable leads.