Back

UTM Parameters for B2B: Track Campaigns From Click to Closed Deal

UTM Parameters for B2B: Track Campaigns From Click to Closed Deal

Insights

Five numbered cards showing the UTM parameters utm_source, utm_medium, utm_campaign, utm_term and utm_content, each with the question it answers and a B2B example value

Digital advertising revenue reached $294.6 billion in 2025, up 13.9% on the year, according to the IAB Internet Advertising Revenue Report conducted by PwC. Budgets keep growing, but many B2B teams still can’t say which campaign produced a closed deal.

The gap usually sits between two tools. GA4 shows which campaign brought a visit. The CRM shows which leads became pipeline and revenue. Unless campaign data travels from one to the other, the link between ad spend and closed deals is lost at the form.

UTM parameters are short tags added to the end of a link that tell your analytics tool where a visit came from: the source, the medium and the campaign. For B2B, tagging links is only the first half of the job. The second half is keeping those values on every lead record, so you can report pipeline and revenue by campaign, not just clicks and sessions.

What UTM Parameters Are and How They Work

UTM stands for Urchin Tracking Module. UTM parameters are tags added to a URL after a question mark. Each tag pairs a name with a value, and your analytics tool reads them when the page loads. They work on any link you control, from an ad to an email signature.

The Five Core Parameters

Most B2B campaigns need three tags on every link and two more when you want extra detail.

Parameter

Question it answers

B2B example

utm_source

Who sent the visit?

linkedin, newsletter, partner-acme

utm_medium

What type of channel was it?

paid_social, email, cpc

utm_campaign

Which campaign or offer was it?

q1-ops-audit-webinar

utm_term

Which paid keyword triggered it?

crm-implementation-partner

utm_content

Which ad, link or version was clicked?

carousel-v2, footer-cta

A tagged link looks like this: example.com/demo?utm_source=linkedin&utm_medium=paid_social&utm_campaign=q1-ops-audit-webinar. GA4 also accepts utm_id and utm_source_platform, and Google recommends setting them where they apply.

The values matter as much as the tags. Values are case sensitive, so “LinkedIn” and “linkedin” become two separate rows. If your team needs a shared list of approved values, our guide to UTM naming conventions for B2B lead attribution covers how to set one up.

How GA4 Reads UTM Values

When someone lands on a tagged URL, GA4 records the values against that session. You see them in the Traffic acquisition report as session source, medium and campaign. If a tag is missing, the report shows “(not set)” in its place.

GA4 also keeps first-user dimensions, which record the campaign that first brought each user. Session values answer “what brought this visit?” First-user values answer “what introduced this person?” B2B buyers often visit several times before converting, so both views are useful.

UTM Parameters vs Auto-Tagging

Google Ads adds its own click ID, called GCLID, to ad clicks when auto-tagging is on. Google recommends auto-tagging for Google Ads because it brings ad group, keyword and cost data into GA4. When both are present, the auto-tagged values take precedence for source and medium.

In practice, use these rules:

  • Google Ads: keep auto-tagging on, and add UTMs only if your CRM needs campaign values that the GCLID does not supply.

  • LinkedIn, Meta and other ad platforms: add UTMs to every destination URL, or use the platform’s URL parameter settings to add them for you.

  • Email, organic social, partners and offline: add UTMs by hand or with a URL builder, because nothing tags these links automatically.

How to Add UTM Parameters to B2B Campaign Links

Tag every link that leaves your company and points back to your website. Leave every link inside your website untagged.

Where to Tag Links and Where Not To

B2B buyers arrive from many places, and each one needs its own source and medium. Tag these links:

  • LinkedIn ads and sponsored posts: one utm_content value per ad, so you can compare creatives.

  • Organic posts from company and founder profiles: separate the medium from paid, for example social vs paid_social.

  • Outbound and cold email: tag the link in each sequence step, so replies and visits map to the right sequence.

  • Newsletters and nurture emails: many email tools add UTMs for you, so check their settings before tagging by hand.

  • Partner, webinar and event links: give each partner its own source value.

  • QR codes and short links: add the UTMs to the destination URL before you create the code.

Never tag internal links, such as a homepage banner that points to your pricing page. A tagged internal click starts a new session in GA4 and overwrites the real source. The visitor who came from a LinkedIn ad suddenly looks like they came from your own banner.

How to Build and Test a Tagged Link

Build links in one place so the values stay consistent. A shared sheet works for small teams, and Google’s URL builder guidance for GA4 explains each parameter.

  1. Start with the exact landing page URL, including https and any trailing slash.

  2. Add a question mark, then each tag as name=value, separated by an ampersand. If the URL already has a question mark, start with an ampersand instead.

  3. Use lowercase letters, and use hyphens or underscores instead of spaces.

  4. Click the finished link in a private browser window and check that the UTMs are still in the address bar.

  5. Open GA4 Realtime or DebugView and confirm the session shows the right source, medium and campaign.

  6. Submit a test form and check the same values appear on the test lead in your CRM.

Step 6 is the one most teams skip. It is also the step that tells you whether the data will reach your pipeline reports.

Why UTM Values Go Missing

When campaign traffic shows up as direct or “(not set)”, the cause is usually one of these:

  • Redirects: a redirect or link shortener drops the query string before the page loads.

  • Tagged internal links: an internal click replaces the original source mid-visit.

  • Cookie consent: if a visitor declines analytics cookies, GA4 may not record the visit with its campaign values.

  • Typos and case changes: “utm_campain” or “Paid_Social” create broken or duplicate values.

  • Separate booking domains: a demo scheduler on another domain can start a new session and show your own site as the source.

  • Multi-page visits: the UTMs are on the landing page, but the visitor fills in a form on a different page.

How to Keep UTM Data on Every Lead, From Form to Closed Deal

Four-step flow showing how UTM data reaches a closed deal: tag the link, save the values on landing, fill hidden form fields, and map UTM fields to the deal

GA4 can tell you which campaign brought a visit, but it can’t tell you which visit became a deal. To get that, the UTM values have to be saved on the lead record when the form is submitted, then carried through to the deal.

Capture UTMs in Hidden Form Fields

Add one hidden field to each form for every UTM you track: utm_source, utm_medium, utm_campaign, utm_term and utm_content. Visitors never see these fields. A small script, or a tag in Google Tag Manager, reads the values and fills the fields before the form is sent.

Use the same field names on every form, and create matching custom properties in your CRM. If one form says “utm_source” and another says “source”, your reports will split.

Keep the Values When Visitors Browse Before Converting

UTM values only appear in the URL of the first page a visitor lands on. Most B2B buyers then read a case study or the pricing page before they book a call. By the time they reach the form, the UTMs have gone from the address bar.

The fix is to save the values when the visitor lands. Store them in a first-party cookie or in the browser’s local storage, then read them back into the hidden fields on any page. Check that this storage is covered by your cookie banner and privacy policy.

Store First-Touch and Last-Touch Values

B2B deals often involve several visits from different campaigns. Decide what each field should keep:

  • First touch: the campaign that first brought the person to your site. Set it once and never overwrite it.

  • Last touch: the campaign behind the visit when they converted. Update it on every new tagged visit.

Keeping both answers two questions. First touch shows which campaigns create new interest. Last touch shows which campaigns turn existing interest into a meeting.

Map the Fields Through to the Deal

Most CRMs store UTMs on the contact or lead first. When that lead becomes a deal or opportunity, the values do not always copy across. Map each UTM property to a matching field on the deal, then run one test lead through every stage to check nothing is dropped.

If you also want to join GA4 sessions to CRM records, our guide on how to track B2B leads from GA4 to your CRM explains the client ID approach. The two methods work well together.

Report Pipeline and Revenue by Campaign

Once the values reach the deal, you can compare campaigns on the outcomes sales cares about. The example below uses made-up numbers to show the idea.

Campaign (utm_campaign)

Leads

Qualified opportunities

Closed-won revenue

q1-ops-audit-webinar

120

9

$84,000

linkedin-cfo-guide

310

4

$22,000

partner-acme-referral

18

6

$96,000

Judged on leads alone, the LinkedIn guide looks best. Judged on revenue, the partner referral and the webinar did far more. That is the decision UTM parameters make possible when the data reaches the CRM.

Conclusion

UTM parameters are easy to add and easy to lose. For B2B teams, their value depends on what happens after the click: consistent tags, tested links, hidden form fields and CRM fields that follow the lead to the deal. With those in place, you can move budget toward the campaigns that create revenue, not just traffic.

If your campaign data stops at GA4, our paid media team sets up conversion tracking and attribution as part of every campaign build. Talk to Coresium about connecting your campaigns to pipeline.

Frequently Asked Questions

What are UTM parameters?

UTM parameters are tags added to the end of a URL that tell analytics tools where a visit came from. The three core tags are utm_source, utm_medium and utm_campaign.

Which UTM parameters are required?

GA4 needs at least one UTM tag to read campaign data, but Google advises always setting utm_source, utm_medium and utm_campaign. Add utm_term and utm_content when you need keyword or creative detail.

Do UTM parameters affect SEO?

UTM parameters don’t help rankings directly. Use them only on links from outside your website, and keep a canonical tag on your pages so tagged URLs aren’t treated as separate pages.

Should I use UTM parameters with Google Ads auto-tagging?

Keep auto-tagging on for Google Ads, because GA4 gives it priority over manual tags for source and medium. Add UTMs only if your CRM needs campaign values from the URL.

How do I get UTM parameters into my CRM?

Add hidden UTM fields to each form, store the values when a visitor first lands, and map them to matching CRM properties. Then copy those fields to the deal so you can report revenue by campaign.

A close-up of a banknote featuring a portrait and a blank space for denominations or signatures.

Stop funding marketing that doesn’t pay back.

Stop funding marketing that doesn’t pay back.

We find the leak, fix the system, and track ROI weekly so growth becomes predictable.

We find the leak, fix the system, and track ROI weekly so growth becomes predictable.

A blank banknote background featuring a stylized portrait of Benjamin Franklin at the top.

Stop funding marketing that doesn’t pay back.

We find the leak, fix the system, and track ROI weekly so growth becomes predictable.