Capture UTM parameters in Leadformly in four steps
Knowing which campaigns produce leads helps you direct budget toward what works. This guide explains how to tag campaigns, add hidden fields to a Leadformly form, let visitor data fill those fields, and send the completed values onward to a CRM or other marketing tool.
1. Tag every campaign link
Start by applying UTM parameters consistently to every campaign that links to your site or funnel. That includes paid search and paid social, social profiles, blog and guest posts, trade-publication campaigns and email. Without consistent tags at the click stage, later form data has nothing reliable to report. The tracking code then associates those parameters with the visitor and passes them to your CRM when a form is submitted.
3. Let stored visitor data fill the fields
Once the fields exist, the tracking code fills them from data stored in the visitor's browser cookie. That cookie approach matters when the form page differs from the landing page: a visitor may arrive from an ad, browse several pages, and only later complete a demo form. Because the original parameters are stored, they can still be attached at submission instead of being lost when the URL no longer carries them.
Worked example: from ad click to demo request
Consider a visitor who searches for a way to share large files, clicks a paid search ad, and requests a demo. The hidden fields could record Paid Search as the channel, Google as the first drilldown, Brand Campaign as the second, and the advertiser name as the third. Landing-page fields might record the full feature page URL and Features as its group. Together, those values show both the campaign path and the exact page that converted, rather than leaving the lead unattributed.
4. Send the completed record onward
On submission, Leadformly sends the visible answers together with the hidden channel and landing-page values. Use a native integration or Zapier to route that record to your CRM, email platform or other marketing system. Before going live, submit a test form from a tagged link, confirm all six values arrive in the destination, then repeat the test from an untagged organic visit to check how non-UTM traffic is classified.
Why categorised tracking beats raw UTM values alone
Raw UTM capture alone has three gaps. First, it misses traffic that carries no UTM parameters, such as organic search, organic social, direct and referral visits. Second, it usually depends on parameters being present on the form page itself. Third, inconsistent tagging creates messy reports: Facebook, facebook and fb may appear as separate sources even though they mean the same channel. A categorising tracker addresses these gaps by recording all traffic, storing it across pages and sessions, normalising channel categories, and also capturing the landing page and its subdirectory so you can compare, for example, blog performance with paid-ad performance.
Pre-publish checklist
Use this checklist before publishing: every campaign link is tagged; all six fields are created and hidden; field names match the table; a tagged test submission reaches the CRM with correct values; an untagged test submission is classified sensibly; and landing-page groupings reflect your site structure. Keep tag naming consistent going forward, because clean categories in reports depend on clean inputs at the campaign stage.
| Hidden field | What it records |
|---|---|
| Channel | Broad channel category, such as Paid Search |
| Channel Drilldown 1 | First level of detail, such as the search engine |
| Channel Drilldown 2 | Second level of detail, such as the campaign type |
| Channel Drilldown 3 | Third level of detail, such as the advertiser or brand |
| Landing Page | Full URL of the page the visitor first landed on |
| Landing Page Group | Subdirectory or grouping of the landing page |
Create six Short Text Entry fields in Leadformly and hide each one; names below are the required field labels.