facebook-pixel

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

L
Lunyb Security Team
··8 min read

If you've ever wondered why your Google Analytics reports lump half your traffic into "direct" or "unknown," the answer is almost always the same: missing UTM parameters. Combine UTMs with short links and you get the best of both worlds — clean, trackable URLs that are also short enough to share anywhere.

This guide walks through exactly how to use UTM parameters with short links, the naming conventions that prevent messy data, and how to scale tracking across dozens (or thousands) of campaigns without losing your mind.

What Are UTM Parameters?

UTM parameters are small tags added to the end of a URL that tell analytics platforms where a visitor came from. They were originally created for Urchin Tracking Module (hence "UTM") and are now the universal standard supported by Google Analytics, Adobe Analytics, Matomo, Plausible, and almost every modern analytics tool.

A URL with UTM parameters looks like this:

https://example.com/pricing?utm_source=newsletter&utm_medium=email&utm_campaign=spring_launch

Each parameter answers a specific question about the traffic:

  • utm_source — Where did the click come from? (e.g., newsletter, twitter, google)
  • utm_medium — What type of channel was it? (e.g., email, social, cpc)
  • utm_campaign — Which campaign does it belong to? (e.g., black_friday_2026)
  • utm_term — What keyword triggered the click? (mostly for paid search)
  • utm_content — Which variation of the ad or link was clicked? (e.g., banner_top, cta_bottom)

Why Combine UTM Parameters with Short Links?

UTM-tagged URLs are powerful but ugly. A link like example.com/pricing?utm_source=linkedin&utm_medium=social&utm_campaign=q1_growth&utm_content=carousel_slide_3 is impossible to share in a tweet, a podcast script, or a printed flyer.

Short links solve four problems at once:

  1. Cleaner appearance. A branded short link looks trustworthy and professional.
  2. Character limits. Twitter/X, SMS, and ad copy all have strict limits.
  3. Editability. If you mistype a UTM, you can fix the destination without reprinting QR codes or re-publishing posts.
  4. Built-in analytics. Short link platforms give you click data even before users hit your site — useful for catching broken redirects.

When a user clicks your short link, they're redirected to the full UTM-tagged URL, and your analytics platform records the source correctly. They see a clean link; you see clean data.

Step-by-Step: Creating a Short Link with UTM Parameters

Step 1: Build the Full Destination URL

Start with the page you want users to land on, then add your UTM parameters. The first parameter uses ? and the rest use &:

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

You can either build this by hand or use Google's Campaign URL Builder, which gives you a quick form-based interface. For consistency, many teams maintain a shared spreadsheet template so everyone uses identical formatting.

Step 2: Define Your Naming Convention

This is the step most people skip — and it's the reason their analytics turn into a graveyard of Facebook, facebook, FB, and fb_ads all reporting separately. Pick rules and stick to them:

  • Use lowercase only. UTMs are case-sensitive.
  • Use underscores instead of spaces (spring_launch, not spring%20launch).
  • Keep utm_source as the specific platform (facebook, linkedin, mailchimp).
  • Keep utm_medium as the broad category (social, email, cpc, referral, affiliate).
  • Date your campaigns: utm_campaign=q2_2026_webinar beats utm_campaign=webinar a year later.

Step 3: Shorten the Link

Paste your full UTM-tagged URL into your shortener of choice. With Lunyb, for example, you simply drop in the long URL, optionally pick a custom alias, and you get back a short link that preserves every UTM parameter on redirect. The same approach works with any reputable shortener — see our 2026 buyer's guide to URL shorteners if you're still choosing one.

Step 4: Test Before You Publish

Before sending the link to your audience:

  1. Click the short link in an incognito window.
  2. Confirm it lands on the right page.
  3. Check that the URL bar shows your UTM parameters intact.
  4. Open your real-time analytics report and verify the visit appears under the correct source/medium.

Step 5: Document Every Link in a Tracking Sheet

Keep a master spreadsheet with columns for: short URL, destination, utm_source, utm_medium, utm_campaign, utm_content, created date, owner, and notes. This becomes invaluable when someone asks "which link was that?" six months from now.

UTM Parameter Reference Table

Here's a quick cheat sheet showing how the five UTM parameters map to common scenarios:

ParameterRequired?Example ValuesUse For
utm_sourceYesnewsletter, twitter, google, partner_blogIdentifying the specific publisher or platform
utm_mediumYesemail, social, cpc, organic, referralCategorizing the marketing channel
utm_campaignYesspring_sale, product_launch_v2Grouping all traffic from one initiative
utm_termOptionalrunning_shoes, project_management_toolPaid search keywords
utm_contentOptionalheader_cta, video_thumbnail, slide_3A/B testing creative variations

Real-World Examples by Channel

Email Newsletter

https://example.com/blog/post?utm_source=weekly_digest&utm_medium=email&utm_campaign=2026_w14&utm_content=hero_button

Shorten this so it fits cleanly in plain-text emails and SMS reminders without wrapping awkwardly.

Social Media Post

https://example.com/free-trial?utm_source=linkedin&utm_medium=social&utm_campaign=founder_story&utm_content=post_oct_15

Branded short links also perform better on social because they look less like spam and more like a recognized publisher.

Paid Search Ad

https://example.com/pricing?utm_source=google&utm_medium=cpc&utm_campaign=brand_terms&utm_term=lunyb_pricing&utm_content=ad_variant_b

Offline / QR Code

For print materials, conferences, or product packaging, a short link behind a QR code is essential. You can't reprint a brochure if your destination URL changes — but you can repoint a short link. Tag offline campaigns with utm_medium=offline or utm_medium=qr and a unique utm_source per material (e.g., booth_flyer, tradeshow_signage).

Common Mistakes to Avoid

1. Inconsistent Capitalization

Google Analytics treats Email, email, and EMAIL as three different mediums. Always lowercase.

2. Tagging Internal Links

Never put UTMs on links between pages on your own site. Doing so resets the user's session and erases the original source of the visit. UTMs are for inbound traffic only.

3. Overusing utm_content

It's tempting to stuff utm_content with details like timestamp and author. Keep it to one variable you actually plan to compare — usually creative variant or placement.

4. Forgetting to Shorten

Long UTM URLs in printed material or SMS get truncated, broken, or simply ignored. Always shorten before publishing.

5. Not Auditing Quarterly

Pull a list of all utm_source values from analytics every quarter. You'll spot typos, duplicates, and rogue formats — and you can update your team's documentation.

Scaling UTM Workflows Across a Team

For a solo marketer, a spreadsheet works fine. Once you're running multiple campaigns across multiple people, you'll want:

  • A shared UTM builder template (Google Sheets or Airtable) that auto-constructs URLs from dropdowns to prevent typos.
  • Approved value lists for source and medium — no free text.
  • A single shortener account with team access so all links live in one dashboard. Reviews like our honest Lunyb review and the Rebrandly 2026 review compare team-oriented features in detail.
  • A naming convention doc in your team wiki that new hires read on day one.

Some shortener platforms (including Lunyb) also let you add UTM parameters directly in their interface rather than building them manually — useful for non-technical team members.

Measuring Results in Google Analytics 4

Once your UTM-tagged short links are live, head to GA4 and explore the following reports:

  1. Acquisition → Traffic acquisition. Group by Session source / medium to see channel performance.
  2. Acquisition → User acquisition. Look at first_user_source for net-new visitors.
  3. Explore → Free form. Build a custom table with Session campaign as the row and Conversions as the metric.

Set up a conversion event tied to your goal (signup, purchase, demo request) and you can attribute revenue directly back to specific short links.

Privacy and Tracking Considerations

UTM parameters are visible in the URL bar, which means anyone who shares your link is also sharing your campaign data. A few practical points:

  • Don't put personal data (names, emails, user IDs) in UTM values. They get logged by every intermediary and may violate GDPR, CCPA, or similar laws.
  • Some browser extensions and privacy-focused browsers strip UTM parameters automatically. Expect 5–15% of your tagged traffic to land without UTMs depending on your audience.
  • For sensitive campaigns, consider server-side redirects that strip UTMs after logging them, so the final URL the user sees is clean.

Frequently Asked Questions

Do UTM parameters affect SEO?

No, UTM parameters do not directly hurt SEO. Google ignores them for ranking, and the canonical tag on your page should point to the clean URL to avoid any duplicate content concerns. Just never use UTMs on internal links between your own pages.

Can I add UTM parameters to a link after it's already shortened?

You can't add UTMs to the short link itself, but you can edit the destination URL inside most shortener dashboards. Update the long URL to include UTMs, save, and any future clicks on the same short link will be tagged. Existing clicks recorded before the change won't be retroactively tagged.

How many UTM parameters should I use per link?

Always use at least the three required ones: source, medium, and campaign. Add utm_content when you're testing creative variants, and utm_term only for paid search. Don't invent custom parameters — most analytics tools will ignore them.

What's the difference between utm_source and utm_medium?

Source is the specific place (facebook, mailchimp, partner_blog). Medium is the category of channel (social, email, referral). One source can have multiple mediums — for example, facebook can be utm_medium=social for organic posts and utm_medium=cpc for paid ads.

Will short links with UTMs work in QR codes?

Yes, and this is one of the best use cases. Long UTM URLs create dense, hard-to-scan QR codes. Shortening the URL first produces a simpler QR pattern that scans faster and works on lower-quality prints. You also retain the ability to change the destination later without reprinting.

Final Thoughts

UTM parameters and short links are two tools that are useful on their own, but transformative together. UTMs give you clean attribution data; short links give you clean URLs your audience will actually click. Pair them with a consistent naming convention and a shared tracking sheet, and you'll have analytics you can actually trust — across every channel, every campaign, and every team member.

Start with one channel this week. Set your naming rules, tag five links, shorten them, and watch the data flow into your analytics dashboard. Once you see the difference clean attribution makes, you'll never publish an untagged campaign link again.

Protect your links with Lunyb

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

Get Started Free

Related Articles