facebook-pixel

How to Use UTM Parameters with Short Links: Complete 2026 Guide

L
Lunyb Security Team
··9 min read

If you run marketing campaigns without UTM parameters, you're flying blind. If you share long, parameter-stuffed URLs without shortening them, you're scaring off clicks. The solution? Combining UTM parameters with short links — a powerful pairing that gives you clean, clickable URLs and rich attribution data in your analytics platform.

This guide walks you through exactly how to use UTM parameters with short links, including naming conventions, real-world examples, common mistakes, and tools to automate the process.

What Are UTM Parameters?

UTM parameters are small text tags appended to a URL that tell analytics tools (like Google Analytics 4, Adobe Analytics, or Matomo) where a visitor came from and what campaign drove them there. UTM stands for "Urchin Tracking Module," named after Urchin Software Corporation, which Google acquired in 2005.

There are five standard UTM parameters:

  • utm_source — identifies the traffic source (e.g., newsletter, facebook, google)
  • utm_medium — identifies the marketing channel (e.g., email, cpc, social)
  • utm_campaign — identifies the specific campaign (e.g., spring_sale_2026)
  • utm_term — identifies paid search keywords (optional)
  • utm_content — differentiates ads or links pointing to the same URL (optional)

A tagged URL looks like this:

https://example.com/products/shoes?utm_source=newsletter&utm_medium=email&utm_campaign=spring_sale_2026&utm_content=hero_button

It works perfectly in analytics — but it's ugly, long, and almost impossible to share verbally or in print. That's where short links come in.

Why Combine UTM Parameters with Short Links?

Short links and UTM parameters solve different problems. Short links improve user experience and click-through rates; UTM parameters give you measurable data. Together, they form a complete tracking system.

Key benefits of combining them

  1. Cleaner appearance — A 200-character URL with five parameters becomes something like lunyb.com/spring26.
  2. Higher click-through rates — Studies consistently show short, branded links get more clicks than long URLs.
  3. Full attribution preserved — When users click the short link, they're redirected to the long URL with all UTM tags intact, so your analytics still capture every detail.
  4. Easier sharing — Short links work better on print materials, podcasts, video descriptions, and SMS.
  5. Click-level analytics — Most short link platforms give you their own click data (geography, device, time) on top of your GA4 data.

If you're new to URL shorteners, our complete guide to URL shorteners explains the fundamentals before you layer on UTM tracking.

Step-by-Step: How to Add UTM Parameters to a Short Link

Step 1: Build your tagged URL

Start with the destination URL — the page you actually want visitors to land on. Then append UTM parameters using the format ?key=value&key=value.

You can build URLs manually, or use a campaign URL builder. Google's Campaign URL Builder is the most common free tool. Enter your destination, source, medium, and campaign name, and it generates the full URL.

Example input:

  • Website URL: https://yourstore.com/sale
  • Source: instagram
  • Medium: social
  • Campaign: black_friday_2026

Output:

https://yourstore.com/sale?utm_source=instagram&utm_medium=social&utm_campaign=black_friday_2026

Step 2: Shorten the tagged URL

Paste the entire tagged URL — including all UTM parameters — into your URL shortener. The shortener stores the long URL and gives you a short alias. When someone clicks the short link, they're redirected (HTTP 301 or 302) to the full URL with UTM parameters intact.

With Lunyb, for example, you paste the URL, optionally choose a custom slug like /blackfriday26, and get a clean shareable link in seconds. The redirect preserves every parameter, so Google Analytics records the campaign exactly as if the user typed the long URL directly.

Step 3: Test the redirect

Always click your short link before publishing it. Check that:

  • The browser lands on the correct destination page
  • All five UTM parameters appear in the address bar after redirect
  • Your analytics platform records the visit (use GA4's DebugView or Realtime report)

Step 4: Distribute the short link

Use the short link wherever you'd normally share a URL: emails, social posts, QR codes, SMS, podcast show notes, billboards, or business cards. Each click is now traceable.

Step 5: Analyze the data

In Google Analytics 4, navigate to Reports → Acquisition → Traffic acquisition and add "Session campaign" or "Session source / medium" as a secondary dimension. You'll see exactly how each tagged campaign performed — sessions, engagement rate, conversions, and revenue.

UTM Naming Conventions That Won't Wreck Your Reports

UTM parameters are case-sensitive and treated as exact strings by analytics tools. Facebook, facebook, and FaceBook appear as three separate sources, fragmenting your data.

Best practices

  • Always use lowercase. Pick a rule and never break it.
  • Use underscores, not spaces. Spaces become %20 and look terrible in reports. Use spring_sale instead of spring sale.
  • Keep utm_medium consistent with GA4 channel groupings. Use standard values: email, social, cpc, display, affiliate, referral.
  • Be specific with utm_campaign. Include a date or quarter so old campaigns don't get confused with new ones (q2_2026_launch).
  • Document your conventions. Maintain a shared spreadsheet so every marketer on the team tags links the same way.

Common medium values and when to use them

utm_mediumUse forExample utm_source
emailNewsletters, transactional emailsmailchimp, klaviyo
socialOrganic social postsinstagram, linkedin, x
cpcPaid searchgoogle, bing
paidsocialPaid social adsfacebook_ads, tiktok_ads
displayBanner adsgoogle_display, programmatic
affiliateAffiliate partnersimpact, partner_name
qrOffline QR codesprint_flyer, packaging

Real-World Examples

Example 1: Email newsletter

Goal: Track which articles in a weekly newsletter drive the most clicks.

Long URL:

https://yourblog.com/article-title?utm_source=weekly_newsletter&utm_medium=email&utm_campaign=2026_03_15&utm_content=article_1

Short link: lunyb.com/news0315a

Use utm_content to differentiate each link inside the same email. Now you can compare engagement between the lead story and secondary stories.

Example 2: QR code on a printed flyer

Goal: Measure scans of a flyer distributed at a trade show.

https://yourstore.com/demo?utm_source=tradeshow_la&utm_medium=qr&utm_campaign=spring_demo_2026

Short link: lunyb.com/lashow26 — encoded into the QR code.

Because each event gets a unique short link, you can compare scan volume across cities without printing different QR codes per medium.

Example 3: Influencer collaboration

Goal: Attribute sales to a specific creator.

https://yourstore.com/collection?utm_source=jane_creator&utm_medium=influencer&utm_campaign=summer_collab&utm_content=story_swipe

Short link: lunyb.com/jane-summer

The branded slug is also memorable enough that viewers can type it directly if the swipe-up doesn't work.

Common Mistakes to Avoid

1. Tagging internal links

Never add UTM parameters to links between pages on your own site. When a visitor clicks an internal UTM-tagged link, GA4 starts a new session and overwrites the original source — destroying attribution. UTM tags are only for inbound traffic.

2. Forgetting to URL-encode special characters

Spaces, ampersands, and question marks inside UTM values break the URL. Always URL-encode them or, better, avoid special characters entirely.

3. Using personal data in UTM values

Don't put email addresses, names, or user IDs in UTM parameters. They end up in analytics, server logs, and referrer headers — a privacy and compliance risk under GDPR and similar regulations. For a deeper look at how URL data can leak, see our coverage of the UK Online Safety Act.

4. Re-using campaign names across years

If you used holiday_sale in 2024 and again in 2026, year-over-year reports get muddled. Always include a date or year.

5. Letting team members tag freestyle

Without a shared convention, you'll end up with Facebook, facebook, fb, and FB all in the same report. Lock down a standard early.

Tools to Manage UTM Short Links at Scale

Manually building tagged URLs gets painful past 20 or 30 links. Here are categories of tools that help.

Tool typeBest forExamples
Campaign URL buildersSingle-link taggingGoogle Campaign URL Builder
Short link platforms with built-in UTMMarketers who want one toolLunyb, Bitly, Rebrandly
Spreadsheet templatesSmall teams with shared docsUTM.io, custom Google Sheets
Marketing automation platformsAuto-tagging email linksHubSpot, Klaviyo, Mailchimp

If your team is based in Canada, our roundup of the best URL shorteners for Canadian businesses covers data-residency considerations alongside UTM features.

Security Considerations for Short Links

Because short links hide the destination URL, they can be abused for phishing. When you build short links — especially branded ones — keep these points in mind:

  • Use a reputable shortener with HTTPS by default and link-preview features.
  • Choose a branded domain (like lunyb.com or your own custom domain) to build trust.
  • Don't share short links over insecure networks without a VPN — see our guide on whether public WiFi is safe in 2026.
  • For sensitive destinations, layer additional protections like password-gated links or expiry dates. The principles behind end-to-end encryption apply to how you transmit links, too.

Frequently Asked Questions

Do UTM parameters survive URL shortening?

Yes. A URL shortener stores the full destination URL — including every UTM parameter — and redirects users to it. The browser receives the long URL with all tags intact, and analytics platforms record them normally. Just be sure to paste the tagged URL into the shortener, not the bare URL.

Should I add UTM parameters before or after shortening?

Always add UTM parameters before shortening. Tag the destination URL first, then paste the complete tagged URL into your short link tool. Adding UTM parameters to the short link itself (e.g., lunyb.com/abc?utm_source=...) usually doesn't work because the redirect strips or ignores them.

Will UTM short links hurt my SEO?

No, when used correctly. UTM parameters are meant for inbound, off-site traffic — paid ads, emails, social posts. Search engines generally ignore them, and 301 redirects from short links pass link equity. Just don't tag internal links or use UTMs in URLs you submit to sitemaps.

How many UTM parameters should I use?

At minimum, always use utm_source, utm_medium, and utm_campaign. Add utm_content when you have multiple links in the same campaign (like two CTAs in one email). Use utm_term mostly for paid search keywords. More tags aren't better — they just create longer, messier URLs and noisier reports.

Can I edit UTM parameters after sharing the short link?

Yes, if your short link platform supports editable destinations. With Lunyb and most modern shorteners, you can update the destination URL (including its UTM parameters) without changing the short link itself. This is useful for fixing typos in tags or redirecting an evergreen short link to a new campaign — but be aware that you'll lose the ability to compare old vs. new traffic if you reuse the same short link.

What's the difference between UTM tracking and short link analytics?

UTM tracking happens inside your analytics platform (like GA4) and ties clicks to on-site behavior — pageviews, conversions, revenue. Short link analytics happen inside your shortener and show click-level data — total clicks, geography, device, referrer — even if the visitor never reaches your site or blocks analytics scripts. Use both for a complete picture.

Final Thoughts

UTM parameters and short links are a marketing power couple. UTMs give you the data you need to prove ROI; short links give you the polished, shareable format that earns clicks in the first place. Master the workflow once — build a naming convention, tag every external link, shorten before sharing, and review reports weekly — and you'll have a clear, reliable view of which channels actually drive your business forward.

Ready to start? Pick one campaign this week, tag every link, shorten them with a tool you trust, and watch the data flow into your analytics dashboard.

Protect your links with Lunyb

Create secure, trackable short links and QR codes in seconds.

Get Started Free

Related Articles