Skip to content

UTM Fields

UTM fields (Urchin Tracking Module) are URL parameters that convey information about a traffic source. In LightLead attribution, UTM tags are the primary mechanism for matching ad and CRM data.

The five standard UTM fields

FieldPurposeExampleRequirement
utm_sourceTraffic sourcegoogle, facebook, yandexYes
utm_mediumTraffic typecpc, cpm, email, socialRecommended
utm_campaignCampaign namebrand_search, retargetingRecommended
utm_contentAd identifierbanner_728x90, video_15sOptional
utm_termKeywordlightlead+attributionOptional

URL format with UTM tags

https://example.com/landing?utm_source=google&utm_medium=cpc&utm_campaign=brand_search&utm_content=banner_728x90&utm_term=lightlead

Filling rules

Case

UTM tags are case-sensitive. utm_source=Google and utm_source=google are different values. It's recommended to use a consistent case (lowercase) across all ads.

Whitespace and special characters

  • Spaces are replaced with %20 or +
  • Special characters must be URL-encoded
  • It's recommended to avoid whitespace in values

Length

  • Maximum URL length with UTM tags — 2048 characters
  • UTM field values shouldn't exceed 500 characters (recommendation)

Consistency

UTM tag values in ads must exactly match those saved in the CRM. If an ad has utm_source=google, but the CRM saved utm_source=Google%20Ads, matching won't occur.

Dynamic UTM parameters

Ad platforms support dynamic value substitution in UTM tags:

Meta Ads

utm_source=facebook&utm_medium=cpc&utm_campaign={{campaign.name}}&utm_content={{adset.name}}_{{ad.name}}
utm_source=google&utm_medium=cpc&utm_campaign={campaignid}&utm_content={creative}&utm_term={keyword}

TikTok Ads

utm_source=tiktok&utm_medium=cpc&utm_campaign={campaign_name}&utm_content={ad_id}

UTM tags in the CRM

UTM tags need to be passed from the website to the CRM. Options for passing them:

  1. Hidden form fields — UTM tags are written into hidden fields on the capture form
  2. Cookie + form — UTM tags are saved to a cookie, then passed to the CRM when the form is submitted
  3. Site script — JavaScript reads UTM tags from the URL and sends them to the CRM via an API

Checking UTM tagging

To verify UTM correctness:

  1. Create a test lead by clicking through an ad
  2. Check that the UTM tags were saved in the CRM
  3. Compare the values with those set in the ad
  4. If there's a mismatch — fix the site's CRM integration

Maintained by the LightLead Documentation Team · Last verified: 2026-07-26