Skip to content
Back to Insights
Article Attribution

Best Practices for Lead Source Tracking: Capturing UTM Parameters with Hidden Fields

How to capture UTM parameters with hidden form fields and automation to drive accurate lead source attribution and campaign member association in your CRM.

Christina Anderson May 2, 2022 4 min read

The most fundamental attribution model captures a prospect’s initial touchpoint with your marketing campaigns—answering “which channels are my leads coming from?” While marketing automation platforms provide basic conversion tracking, accurate lead source attribution requires additional configuration, especially as cookie-based tracking becomes obsolete.

What are the five UTM parameters?

UTM parameters are URL tracking codes that identify campaign details:

  1. Campaign – The campaign name
  2. Medium – Campaign type (paid, organic, etc.)
  3. Source – Channel source (LinkedIn, Facebook, etc.)
  4. Content – Ad variation (A vs. B)
  5. Term – Paid keyword (if applicable)

Additional recommended parameters include Salesforce Campaign ID and Campaign Member Status for CRM integration.

When appended to URLs, these parameters pass data through forms to prospect records. Rather than manually building links, tools like Google Analytics’ Campaign URL Builder or SaaScend’s Automated Campaigns App streamline the process.

Capturing UTM Parameters with Hidden Fields

Hidden form fields are essential for data capture. First, ensure your marketing automation platform and CRM contain fields for each UTM parameter. Then configure hidden fields on your forms:

  • Pardot: Use hidden field functionality
  • HubSpot: Pass contact property values with hidden form fields
  • Marketo: Set form fields as hidden

Importantly, never make these fields required—doing so creates submission friction when prospects lack UTM data.

Using Automation for Lead Source Tracking

Automation rules can evaluate UTM values and update Lead Source fields accordingly. For example:

If Lead Source is empty AND UTM Source equals LinkedIn, THEN update Lead Source to “Ad – LinkedIn”

This ensures accurate channel attribution within your CRM.

Achieving Campaign Attribution

Lead source updates alone don’t enable revenue attribution. Prospects must be added as Campaign Members to promotional channel campaigns. Using UTM-embedded links and form automation, you can:

  • Add prospects as campaign members at both parent/asset and child/promotional channel levels
  • Use a single form across multiple promotional channels
  • Configure completion actions (Pardot, HubSpot, Marketo) to automatically associate prospects with campaigns

Better Lead Source Tracking for Better Budget Spending

Implementing proper UTM and hidden field systems enables data-driven marketing budget allocation. “Without putting proper systems in place, marketers will continue to invest their budget into channels that are not getting them results” due to incomplete visibility into which campaigns drive influenced revenue.

Keep going

Turn the idea into a plan

Tell us where your GTM stack is today and we’ll scope the fastest path to a foundation — and the AI layer on top.