All posts

UTM Tracking: Why Your UTMs Never Reach the CRM

By Rajesh Kumar, Founder, Attribi ·

A tagged ad URL travels to a CRM field through four stages: landing URL, later pages, the form, and the CRM record. Amber markers show the four places the UTM values are lost. Below, the argument: a UTM names a campaign, it cannot name a click, so it cannot send a closed deal back to an ad platform.

GA4 shows the spring campaign drove 140 sessions. The CRM shows 31 new contacts that month, and the UTM source field is blank on 19 of them. (Illustrative numbers, but a familiar shape.) Nobody removed a tag. Nothing errored.

UTM tracking works in analytics and fails in the CRM because they are two different pipes. GA4 reads utm_source, utm_medium and utm_campaign off the page URL on every visit. Your CRM only ever holds what a form or an integration writes into a property, at the moment of submission. In practice, UTMs break in four predictable places on the way: the landing URL loses them, the visitor browses before the form, the form has nowhere mapped to put them, or the CRM overwrites them. And even when all four are fixed, a UTM is a campaign label, not a click ID, so it still cannot send a closed deal back to Google or Meta.

This guide walks through each break, a numbered test you can run in 20 minutes, and what to use alongside UTMs for the part they cannot do.

What is UTM tracking?

UTM tracking means adding utm_ parameters to the links in your ads, emails and posts so that each visit carries a label saying where it came from: the source, the medium, the campaign, and optionally the keyword and the creative. Analytics tools read those labels from the landing page URL. A CRM sees them only if something copies them into a field.

Google's GA4 documentation on collecting campaign data with custom URLs lists the parameters it recognizes:

ParameterWhat it labelsExample
utm_sourceThe referrer: a site, newsletter or ad placementgoogle, newsletter
utm_mediumThe marketing mediumcpc, email
utm_campaignThe product, slogan or promospring_sale
utm_termThe paid keywordcrm+attribution
utm_contentWhich creative or linkhero_button
utm_idA campaign IDcmp_0425

Google says you "should always use utm_source, utm_medium, and utm_campaign", that missing parameters show as (not set), and that values are case sensitive: utm_source=google and utm_source=Google are two different sources. Hold on to that last point. It matters more in a CRM, where nobody cleans the values for you.

Why do UTM parameters show in GA4 but not in the CRM?

Because GA4 and the CRM collect them at different moments. GA4's tag reads the URL on every page view, so it sees the UTMs on arrival even if the visitor leaves. A CRM record is created later, from a form submission, and only fields that exist on that form and map to a property get written. If the UTMs are not in the submission, the CRM never knew they existed.

So "GA4 has the campaign and HubSpot does not" is not a contradiction and usually not a bug in either tool. It tells you the handoff between the page and the form is missing. GA4's campaign data also stays in GA4: it is reported as session source, medium and campaign, aggregated, not written onto the person who later fills in your form. If you were hoping the GA4 link would backfill contact records, it will not. The wider split between analytics and CRM numbers is in GA4 revenue vs CRM revenue.

Where do UTMs get lost between the ad and the CRM?

Every missing UTM on a CRM record fell out at one of four points. They fail silently, and each leaves a different fingerprint in your data, which is how you tell them apart.

Where UTMs get lostSymptom in the CRMFix
1. Landing URL (redirect, shortener, cross-domain hop)Whole campaigns blank, even for people who convert on the landing pageMake every redirect keep the query string; test the final URL
2. Visitor navigates before the formLanding page form leads have UTMs, Contact and Pricing page leads do notStore UTMs in a first-party cookie on arrival; fill forms from the cookie
3. Form has no hidden fields, or they are unmappedUTMs visible in the form tool's submission, blank on the CRM record, or blank in bothAdd hidden fields with the exact internal property names; map them
4. CRM overwrites themValues present at creation, then changed or wiped weeks laterSeparate first-touch and last-touch fields; stop re-submissions from clearing them

1. The landing URL loses them

The tags have to arrive on the page your form or script reads. They often do not. A redirect from example.com/offer to www.example.com/offer/ that rebuilds the URL without the query string strips every utm_ parameter before your page loads. So does a link shortener configured to drop parameters, a consent wall that redirects to a clean URL, and a "vanity" domain that forwards to the real one.

Cross-domain journeys break it too. If the ad lands on example.com and the form lives on a booking tool's own domain, the parameters on the first URL do not exist on the second unless you append them to the link yourself.

The fingerprint: blanks cluster by campaign or by landing page, not by visitor behavior.

2. The visitor navigates before the form

UTMs live on one URL: the first page. Click "Pricing" and the address bar no longer has them. Come back tomorrow by typing the domain and they were never there.

A form that reads its hidden fields from the current page's query string only works for people who submit on the landing page, in the first visit, without clicking anything. That is how most form tools work by default. HubSpot's documentation says a hidden field can take a value from a query string or the page URL. On page two there is no query string.

The fix is a storage step: read the UTMs when they first appear, write them to a first-party cookie on your root domain (so subdomains can read it), and fill every form from the cookie. Decide up front whether a new tagged visit replaces the stored value or not. That decision is the first-touch versus last-touch question in section 4, made in the browser.

The fingerprint: leads from the landing page form carry UTMs, leads from every other form do not.

3. The form has no hidden fields, or they are not mapped

Even with the values in hand, the form must carry them, and the CRM must know where to put them. Three ways this goes wrong:

  • No hidden fields at all. Common on forms built before anyone asked for attribution.
  • The parameter name does not match the property. HubSpot's query-string auto-populate instructions tell you to use the internal property name. A property labelled "UTM Campaign" with an internal name like utm_campaign_custom is not filled by ?utm_campaign=.
  • The form is an embed from another domain. An iframe cannot read the URL of the page around it. Typeform's embed SDK has a transitiveSearchParams option, described in its configuration reference as "search parameters to be forwarded from host page to form", and its default is empty. If you do not list utm_source and the rest, the form never sees them.

And then the CRM side: a hidden field in the form tool has to be mapped to a CRM property in the connector. Plenty of setups capture UTMs perfectly in the form tool's submission log and drop them at the sync because nobody mapped the field.

The fingerprint: open the submission inside the form tool. If the UTMs are there and the CRM is blank, it is the mapping. If both are blank, it is the field.

4. The CRM overwrites them

This is the break nobody tests, because it happens weeks after the lead is created.

A contact fills in a form from a paid search ad in March. In May they come back from a newsletter and fill in another form. If both forms write to the same utm_source property, March is gone, and the CRM now credits email for a lead that paid search found. Some form tools make this worse on their own: HubSpot warns that with "Pre-populate fields for returning visitors" switched on, hidden field values may be overwritten. An empty hidden field on the second form can also blank out the first value, depending on how the form and CRM treat empty submissions.

Then there is the confusion between your fields and the CRM's own. HubSpot sets Original Traffic Source and Latest Traffic Source automatically from web interactions, and for paid and social sources the drill-down 2 value is the campaign name from utm_campaign. Those are HubSpot's interpretation of the visit, set by its tracking. Your custom UTM properties are whatever your forms wrote. They will disagree, and a report that mixes them answers neither "who found this lead" nor "what brought them back".

The fix is structural, not a setting: keep a first-touch set of fields that is only ever written when empty, and a last-touch set that is allowed to update. Never point both meanings at one property. If you are deciding which one should get credit, that is an attribution model choice, covered in multi-touch attribution models.

The fingerprint: compare a contact's creation date with the UTM field's last-modified date. If they differ, something rewrote it.

How do you troubleshoot UTM tracking, step by step?

Run this once per form, in a private window so an old cookie cannot hide a failure. Use a test campaign name nobody else uses, such as utm_campaign=utm_test_0425, and keep the test records out of reporting.

  1. Final URL test. Paste your ad's final URL with ?utm_source=test&utm_medium=cpc&utm_campaign=utm_test_0425 on the end. After the page loads, check the address bar. Pass: all three parameters are still there, unchanged. Fail means a redirect or consent step is stripping them (break 1).
  2. Storage test. Open the browser's developer tools, then Application, then Cookies. Pass: a cookie on .yourdomain.com holding the three values. No cookie means you depend on the URL alone (break 2).
  3. Later-page test. Click to a page that is not the landing page and has a form. Inspect the hidden inputs. Pass: they hold utm_test_0425.
  4. Return-visit test. Open a new tab, type the domain with no parameters, and go to a form. Pass: the hidden inputs still hold the test values.
  5. Form tool test. Submit, then open the submission inside the form tool before any sync. Pass: the values are in the submission. This isolates break 3 from the connector.
  6. CRM test. Open the new record. Pass: each value sits in the property you expected, spelled and cased exactly as sent.
  7. Overwrite test. Repeat the journey with utm_source=test2 and the same email. Pass: your first-touch field still says test, your last-touch field says test2 (break 4).
  8. Conversion test. Move the test lead through your process: convert it to a contact or opportunity, or create the deal. Pass: the values are on the record your revenue reports read.

Then watch one number weekly: the share of new paid leads with a non-empty first-touch source. If it drops, rerun the steps against whatever changed.

How should you name UTM parameters so the CRM can report on them?

Lowercase everything, use a fixed list of sources and mediums, and give each campaign a stable ID. Google states that UTM values are case sensitive, and a CRM report groups by exact text, so Facebook, facebook and fb become three rows that no one will merge by hand.

A short rulebook covers most of it:

  • One spelling per source (google, meta, linkedin, newsletter), lowercase, no spaces.
  • A medium list of five or six values (cpc, paid_social, email, referral, organic_social).
  • Campaign names that will still make sense in a year, plus utm_id if you want a stable key that survives renaming.
  • Never tag internal links. A tagged link from your blog to your pricing page starts a fake new visit and, in last-touch fields, replaces the real source.
  • Never put personal data in a UTM. URLs end up in logs, analytics and referrer headers.

Can UTMs send closed deals back to Google Ads or Meta?

No. A UTM names a campaign. It is the same for every person who clicked that campaign, so an ad platform cannot use it to find the click that produced a specific deal. Offline conversion uploads match on a click ID, such as the GCLID, or on hashed customer data like an email. A utm_campaign value is neither.

Google's own offline conversion setup page asks you to capture and store the GCLID "via cookie or local storage" and add a hidden form field for it. It does not mention UTM parameters at all; its sample script reads only gclid and gclsrc. That is the line between the two jobs:

UTM parametersClick IDs (GCLID, GBRAID, WBRAID, MSCLKID, fbclid)
Who sets themYou, in the linkThe ad platform, on each click
Unique perCampaign or creativeClick
Good forReporting by campaign in GA4 and the CRMUploading CRM outcomes back for bidding
Survives without a form fieldNoNo
Can be rebuilt laterPartly, from the campaignNever

So the honest answer to "do I need UTMs or click IDs?" is both. UTMs make your CRM readable by humans. Click IDs make your CRM readable by the bidding algorithm. They break in exactly the same four places, which is why the hidden field fix for one should carry the other. The click ID version of this problem, with its own failure points, is in how to get the GCLID into your CRM. On iPhone traffic you may get a GBRAID or WBRAID instead, covered in GCLID, GBRAID, WBRAID, and the Microsoft Ads equivalent is MSCLKID missing from your CRM.

How does Attribi handle UTM tracking?

Attribi is the tool I build, so here is what it does, checked against the code, and where it stops.

It takes the URL, not the form. The tracking script sends the full page URL and the referrer to Attribi's server on each page view. It does not parse parameters in the browser. The server reads utm_source, utm_medium, utm_campaign, utm_content and utm_term, and separately looks for eleven click ID parameters (gclid, gbraid, wbraid, msclkid, fbclid, ttclid, li_fat_id, ScCid, dclid, twclid, and its own utm_mta). Each visit is stored as a touchpoint against a visitor ID held in a first-party cookie on your root domain, with local storage as a fallback. A plain click from one page to the next on the same site is treated as the same visit, not a new "direct" touch, so browsing before the form does not wipe the source. That covers breaks 1 to 3 without a hidden field, as long as the tagged URL actually reaches a page with the script.

The lead keeps a snapshot of the journey. When a form is submitted, the lead is saved with the full list of that visitor's touchpoints, plus first-touch and last-touch source, medium, campaign and click ID taken from the earliest and latest touches. First touch is computed from the earliest recorded visit, so a later newsletter visit cannot overwrite it. That is break 4.

It writes named fields into your CRM. On HubSpot, Zoho CRM, Pipedrive, Freshsales and LeadSquared, Attribi creates and fills its own fields: first-touch source, medium, campaign and time; last-touch source, medium and campaign; touchpoint count; a readable path such as google/cpc > Direct > newsletter/email; first landing page; first referrer; and a link back to the lead in Attribi. In HubSpot these are contact properties named mta_first_touch_source and so on. See the HubSpot integration for the setup.

What it does not do, plainly:

  • It is not a UTM builder and it does not rename, lowercase or clean your tags. Google and google arrive as two sources, exactly as you sent them.
  • It does not rewrite your UTM tags. The connections page has an optional button that sets a tracking template adding a utm_mta parameter that carries the click ID. On Google Ads and Microsoft Ads it replaces the existing campaign-level tracking template on enabled campaigns, so check what is there before you press it.
  • It does not write utm_content or utm_term to the CRM. They are kept on the touchpoints in Attribi; the CRM fields carry source, medium and campaign.
  • It does not touch HubSpot's Original or Latest Traffic Source. Its fields sit alongside them.
  • It cannot see a form inside another domain's iframe, for the same browser reason your own script cannot. And a tagged URL on a page excluded from tracking records nothing.
  • It does not recover UTMs from visits that happened before the script was installed.

The part UTMs cannot do, Attribi does with the click ID it already holds: when a deal is won in a connected CRM, it uploads the conversion to the ad platform server to server. How that delivery path differs from a GTM server container is in server-side tracking for lead generation.

CRM connections are on the Growth plan at 99 dollars a month; the Free plan includes journeys and lead capture but no CRM connections or conversion uploads. Every new workspace starts with 30 days on the Pro plan, no card required, long enough to compare how many of your CRM contacts carry a source today with what the script records. Plans are on the pricing page.

Frequently asked questions

Why are UTM fields empty in my CRM when GA4 shows the campaign? GA4 reads UTMs from the page URL on every visit, while a CRM only stores what a form submission writes into a mapped property. If the visitor browsed to another page, the form had no hidden fields, or the field was not mapped, GA4 has the campaign and the CRM does not.

Should I store first-touch or last-touch UTMs in the CRM? Store both, in separate fields. Write the first-touch fields only when they are empty, and let the last-touch fields update on each new tagged visit. Putting both meanings in one property means every return visit silently replaces the source that found the lead.

Are UTM parameters case sensitive? Yes. Google's GA4 documentation says utm_source=google and utm_source=Google are different values, and a CRM report groups by exact text too. Agree on a lowercase list of sources and mediums and use it on every link.

Do I still need click IDs if every ad has UTMs? Yes, if you want to send CRM outcomes back to the ad platforms. A UTM value is shared by everyone who clicked a campaign, so it cannot identify one click. Offline conversion uploads match on a click ID such as the GCLID or on hashed customer data.

Does HubSpot read UTM parameters automatically? HubSpot sets its Original and Latest Traffic Source properties automatically from web interactions, and for several source types the drill-down 2 value is the campaign name from utm_campaign. Custom UTM properties are only filled if your forms send them, for example through hidden fields using the property's internal name.

The takeaway

UTMs do not vanish at random. They drop out at the URL, at the second page, at the form, or in a later overwrite, and each leaves its own fingerprint. Run the eight steps with a test campaign on every form you have, keep first touch and last touch in separate fields, and treat a filled UTM field as what it is: a readable label for your reports, not a key the ad platforms can match. If you would rather have the journey captured from the URL and written to the CRM without hidden fields, start with 30 days on the Pro plan and compare the counts.

Connect your CRM once. Every closed deal reaches your ad platforms.

Attribi pulls stage changes from your CRM, matches each deal to the lead it already recorded, and uploads qualified and closed won conversions to Google, Meta, LinkedIn, TikTok and Microsoft.

No credit card. Free up to 500 visitors a month. New workspaces start with 30 days on Pro.