facebook-pixel

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

L
Lunyb Security Team
··8 min read

If you're running marketing campaigns across email, social media, or paid ads, you need to know exactly where your traffic is coming from. UTM parameters paired with short links are one of the most powerful (and underused) combinations for campaign tracking. In this guide, we'll walk through what UTM parameters are, how to combine them with short links, and how to build a tracking system that scales across your entire marketing stack.

What Are UTM Parameters?

UTM parameters are small snippets of text added to the end of a URL that tell analytics tools (like Google Analytics, Matomo, or Plausible) where a visitor came from and what campaign brought them there. UTM stands for "Urchin Tracking Module," named after Urchin Software, which Google acquired in 2005 to build what is now Google Analytics.

A URL with UTM parameters looks like this:

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

Each parameter answers a specific question about the visitor's origin:

The Five Standard UTM Parameters

  • utm_source — Identifies the specific traffic source (e.g., newsletter, facebook, partner_blog).
  • utm_medium — Identifies the marketing channel (e.g., email, social, cpc, referral).
  • utm_campaign — Identifies the specific campaign or promotion (e.g., spring_sale, product_launch_q2).
  • utm_term — Identifies paid search keywords (e.g., running+shoes).
  • utm_content — Differentiates ads or links that point to the same URL (e.g., header_banner, footer_cta).

Why Combine UTM Parameters with Short Links?

UTM-tagged URLs are powerful but ugly. A fully tagged link can easily be 150+ characters long, full of ampersands, underscores, and question marks. Pasting that into a tweet, Instagram bio, or printed flyer is a non-starter. Short links solve this by compressing a messy tagged URL into something clean, branded, and shareable — without losing any of the tracking data.

Key Benefits

  1. Cleaner user experience — Visitors see a short, trustworthy link instead of a suspicious-looking tracker.
  2. Higher click-through rates — Studies consistently show branded short links outperform raw URLs by 30–40%.
  3. Character savings — Critical for platforms with limits like X (Twitter) or SMS marketing.
  4. Dual-layer analytics — You get click data from your short link service and session data from your web analytics tool.
  5. Editable destinations — If your landing page URL changes, you can update the short link without reprinting materials or re-sending emails.

Step-by-Step: Creating a UTM-Tagged Short Link

Here's the exact workflow we recommend for building trackable short links from scratch.

Step 1: Define Your Campaign Taxonomy

Before touching a URL builder, decide on naming conventions. Inconsistent UTM values are the number one reason analytics reports become unreadable. For example, facebook, Facebook, and FB will all appear as separate sources in Google Analytics.

Set these rules team-wide:

  • Always use lowercase.
  • Use underscores instead of spaces (spring_sale, not spring sale).
  • Keep source names consistent (facebook, not fb or meta).
  • Follow a predictable campaign naming pattern, like [quarter]_[product]_[goal].

Step 2: Build the Tagged URL

Start with your destination URL, then append the UTM string. You can do this manually or use Google's Campaign URL Builder. A manual example:

https://yoursite.com/offer?utm_source=instagram&utm_medium=social&utm_campaign=q2_launch&utm_content=story_swipeup

Step 3: Shorten the Tagged URL

Paste the full tagged URL into a short link service. A tool like Lunyb will compress the entire tagged URL into something like lunyb.com/q2launch, preserving all UTM parameters when the user clicks through. The analytics server on your destination site still receives the full URL with all parameters intact.

Step 4: Test Before Deploying

Click your short link in an incognito window and verify:

  • It redirects to the correct landing page.
  • All UTM parameters appear in the final URL.
  • The visit shows up correctly in your analytics platform within 5–10 minutes.

Step 5: Deploy and Document

Record every short link in a shared spreadsheet or database. Include the short URL, full destination, UTM values, the campaign owner, and the launch date. This becomes your single source of truth when reviewing performance months later.

UTM Parameter Examples by Channel

Below is a quick reference for how to tag links across common marketing channels.

Channelutm_sourceutm_mediumutm_campaign (example)
Email newsletternewsletteremailweekly_digest_may
Facebook organic postfacebooksocialproduct_announcement
Facebook paid adfacebookcpcretargeting_cart
Google Adsgooglecpcbrand_search
LinkedIn postlinkedinsocialwhitepaper_download
Partner blogpartnernamereferralguest_post_seo
Podcast sponsorshipshownameaudiopodcast_sponsor_q2
QR code (print)flyerofflinetrade_show_june

Best Practices for UTM + Short Link Workflows

Use a Central Tracking Sheet

Every UTM-tagged short link should live in a single document (Google Sheets, Airtable, Notion) with columns for campaign, channel, short link, full URL, and date. Without this, you'll have no way to reverse-engineer what a short link pointed to six months from now.

Don't Use UTMs on Internal Links

One of the most common mistakes: tagging links between pages on your own website. This resets the visitor's session attribution and overwrites the original source. Only use UTMs on links coming into your site from external properties.

Avoid Personal Information in UTMs

Never include email addresses, user IDs, or personally identifiable information in UTM parameters. They're visible in URLs, server logs, referrer headers, and browser history — a privacy and compliance nightmare.

Standardize Case and Separators

Pick lowercase and underscores, then enforce it. utm_campaign=Spring-Sale and utm_campaign=spring_sale are two different campaigns in every analytics tool.

Keep utm_campaign Meaningful but Short

Aim for 2–4 words joined by underscores. You want to recognize the campaign at a glance in a report row without needing a decoder ring.

Common Mistakes to Avoid

  1. Mixing capitalization — Email and email split your data.
  2. Using spaces — Spaces become %20 in URLs and look broken.
  3. Tagging every single link — Only tag links you actually want to analyze as campaign traffic.
  4. Forgetting utm_medium — Google Analytics uses this to categorize channels (Social, Email, Paid Search). Leave it off and your traffic shows up as "(not set)."
  5. Overusing utm_term and utm_content — These are optional. Use them when meaningful, not by default.
  6. Letting non-marketers create UTMs ad hoc — Centralize link creation or provide a locked template.

Advanced: Dynamic UTM Parameters for Paid Ads

Most ad platforms support dynamic parameter insertion, where the platform fills in values automatically at click time. For example, in Google Ads you can use:

utm_term={keyword}&utm_content={adgroupid}&utm_campaign={campaignid}

Every time someone clicks, Google replaces the curly braces with the actual keyword, ad group, and campaign ID. You can then shorten these URLs and still get hyper-granular reporting. Meta, TikTok, and LinkedIn Ads offer similar dynamic macros.

Choosing the Right Short Link Tool for UTM Tracking

Not every URL shortener is built for marketers. When evaluating a tool, look for:

  • UTM parameter preservation — Table stakes. All reputable shorteners pass them through.
  • Built-in UTM builder — Lets you add parameters inside the shortener dashboard.
  • Click analytics — Geography, device, referrer, and time-of-click data.
  • Custom branded domains — go.yourbrand.com/offer looks far more professional than a generic domain.
  • Editable destinations — Update the target URL without changing the short link.
  • Bulk link creation — Essential for campaigns with dozens of channel variants.

If you're comparing options, our 2026 buyer's guide to URL shorteners breaks down the top tools by feature and price. For a deeper look at specific platforms, see our Rebrandly review or our honest review of Lunyb.

Measuring Results: What to Look At

Once your tagged short links are live, you'll get data in two places:

From Your Short Link Dashboard

  • Total clicks
  • Unique clicks
  • Clicks by country, device, browser
  • Click timing (hour/day patterns)

From Your Web Analytics

  • Sessions and users by campaign
  • Bounce rate and engagement time
  • Conversion rate per source/medium
  • Revenue attribution (if ecommerce is set up)

Comparing short-link clicks to analytics sessions also reveals how many people clicked but bailed before the page loaded — a sign of slow load times, misleading creative, or bot traffic.

FAQs

Do short links preserve UTM parameters?

Yes. Any reputable URL shortener performs a standard HTTP redirect that forwards the user to the full destination URL, including all UTM parameters. Your analytics tool reads them from the final landing page, exactly as if the user had clicked the long URL directly.

Should I add UTMs before or after shortening?

Always add UTMs before shortening. The UTM parameters need to live on the destination URL so they're passed to your analytics tool when the user lands on your site. Shortening wraps the tagged URL; it doesn't replace it.

Can I use UTM parameters with QR codes?

Absolutely, and you should. QR codes encode whatever URL you give them, so a tagged short link works perfectly. Use utm_medium=offline or utm_medium=qr and a utm_source that identifies the physical placement (flyer, poster, packaging).

How many UTM parameters should I use per link?

At minimum, use utm_source, utm_medium, and utm_campaign. Add utm_content when you're A/B testing creatives pointing to the same page, and utm_term primarily for paid search keywords. Using all five on every link is overkill and clutters your reports.

Will UTM parameters hurt my SEO?

No, when used correctly. UTMs are only intended for inbound links from external campaigns, not for internal navigation or links you want search engines to crawl. If you accidentally expose UTM-tagged URLs to search engines, use a canonical tag on the destination page to consolidate SEO signals to the clean URL.

Final Thoughts

UTM parameters and short links are a classic example of two simple tools that become genuinely powerful when combined. UTMs give you precise attribution; short links give you clean, shareable, editable URLs. Together, they let you measure every campaign click without compromising the user experience.

Start with a documented naming convention, use a short link tool that supports your workflow, and audit your tagged links quarterly. Within a few campaigns, you'll have reporting that answers the only question that matters: which channels are actually driving results?

Protect your links with Lunyb

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

Get Started Free

Related Articles