Blog · UTMs and tracking

LinkedIn UTM parameters: why HubSpot files them wrong

HubSpot only files a LinkedIn link as social when utm_medium is exactly social and utm_source is a name it recognises. The rules, the common misses, the fix.

Kurt Kalwin5 min read

HubSpot files LinkedIn UTM parameters correctly in exactly one case: utm_medium is social and utm_source is linkedin, spelled like that. Add a domain, a suffix or a hyphen and the click drops into Other campaigns, and the webinar it drove shows up in your source report as if nobody sent it. HubSpot applies nine ordered rules to a tagged link; three common LinkedIn spellings miss all of them.

How HubSpot decides where a tagged click goes

HubSpot sets Original Source by running an ordered list of rules against each visit and stopping at the first match. The list is on its knowledge base page about traffic sources. There are fifteen rules. The first nine read campaign parameters; the last six sort untagged visits by referrer, so a link that carries UTMs never reaches them. For a tagged link the order is:

  1. Organic social when utm_medium is exactly social and utm_source is a network HubSpot recognises, or the click arrived from a social site.
  2. Paid search when the old source parameter contains adword, ppc or cpc.
  3. Paid search when the link carries a Google click ID.
  4. Paid social when utm_medium contains paid, ppc or cpc and utm_source is a recognised network, or when paidsocial appears in utm_source or utm_medium.
  5. Paid search when the link has UTMs and the click came from google.com.
  6. Paid search when utm_source, utm_medium or utm_campaign contains adword, ppc or cpc.
  7. Email marketing when email appears in any of the three parameters or in source.
  8. AI Referrals when a parameter names an AI assistant's domain, or the click came from one.
  9. Other campaigns when the link has parameters and nothing above matched.

The recognised networks are a fixed list of names: linkedin, facebook, instagram, x, youtube, reddit, tiktok and about forty more. The match is exact after lowercasing. linkedin.com is not on the list, and neither is lnkd.in.

Three spellings that miss

The domain instead of the name

utm_source=linkedin.com is the one I see most on setup calls. Rule 1 wants linkedin, so the match fails; rule 4 fails for the same reason, and the click falls through to rule 9. The same happens with lnkd.in, which is what you get when you copy a link LinkedIn has already shortened.

A suffix to tell campaigns apart

LinkedIn Ads, linkedin-paid, linkedin_organic. Teams add these to separate paid from organic, which is the job of utm_medium. Any extra word breaks the exact match. Capitals on their own are harmless, because HubSpot lowercases before it compares; the extra word is the problem.

One of these has a sharper edge. utm_source=LinkedIn Ads with utm_medium=cpc does not even land in Other campaigns. Rule 6 sees cpc and files the visit as Paid search, so your LinkedIn ad spend turns up in the same bucket as Google Ads.

Almost social

social-media, social_post, organic-social, sm. Rule 1 wants social and nothing else. GA4 accepts several of these for its Organic Social channel, so the link looks right in GA4 and wrong in HubSpot at the same time, and the two reports disagree for a reason nobody can see from the dashboard.

Rules 1 and 4 have a second clause: the click came from a social site. When someone clicks your post in a desktop browser on linkedin.com, the referrer arrives with the click and HubSpot files the visit as social even with linkedin.com in utm_source. Clicks from the LinkedIn mobile app, from a link pasted into Slack, or from an email that quoted your post often arrive with no referrer at all. Then the parameters are all HubSpot has, and the spelling decides.

So one link gets two answers depending on where it was clicked, and on the report that looks exactly like a campaign that half worked. In my experience the mobile share is large enough that "it works when I test it from my laptop" proves nothing.

For an organic post: utm_source=linkedin and utm_medium=social. For a LinkedIn ad: utm_source=linkedin and utm_medium=paidsocial. Put the campaign name in utm_campaign, identical on every link in the same push, and the variant in utm_content. Here is where the common spellings land, run through HubSpot's rules and Google's GA4 channel rules:

utm_source / utm_medium HubSpot GA4
linkedin / social Organic social Organic Social
linkedin / paidsocial Paid social Paid Social
linkedin.com / social Other campaigns (Organic social only with a referrer) Organic Social
lnkd.in / social Other campaigns (Organic social only with a referrer) Organic Social
linkedin / social-media Other campaigns Organic Social
LinkedIn Ads / cpc Paid search Paid Other

Two more things. HubSpot's tracking code has to run on the page the link lands on, and it does not run on zoom.us, so UTMs on a Zoom registration link never reach the contact; send people to a registration page on your own domain and pass them to Zoom from there. And utm_source names the network, not the account or the campaign: linkedin for the company page, your personal profile and your ads alike. Which of those sent the click belongs in utm_content.

If you want to check a link before it goes out, the UTM builder runs these rules and GA4's and shows which rule each system hits, with and without a referrer.

Questions people ask

Does capitalisation matter in LinkedIn UTM parameters?

Not in HubSpot and not in GA4. Both lowercase the values before comparing them, so LinkedIn and linkedin behave the same. What breaks the match is extra characters: a domain suffix, a second word, a hyphen inside the name.

Because it carried no UTMs and the click arrived with no referrer, which is common from the mobile app. With no parameters and no referrer HubSpot has nothing to sort by and files the visit as Direct traffic. Tagging the link fixes that, as long as the tag is spelled so that rule 1 or rule 4 catches it.

Can I fix contacts already filed under Other campaigns?

HubSpot sets Original Source once and does not recompute it when you change your links, so the contacts you already have keep the source they got. You can edit the property on a contact by hand or through an import. For the question that usually started this, which webinar a contact came from, it is more reliable to store the webinar on the contact itself, as an association or a property, than to reverse-engineer it from traffic sources. That is what Connexa does: the registrant lands in HubSpot with the webinar attached, whatever the link said.