facebook-pixel

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

L
Lunyb Security Team
··9 min read

If you're running marketing campaigns without proper tracking, you're essentially flying blind. UTM parameters combined with short links solve this problem by giving you granular, accurate data about where your traffic comes from — all while keeping your URLs clean and shareable. This guide walks you through everything you need to know about using UTM parameters with short links effectively.

What Are UTM Parameters?

UTM parameters are small snippets of text added to the end of a URL that help analytics tools like Google Analytics identify the source, medium, and campaign responsible for a visit. UTM stands for "Urchin Tracking Module," a legacy name from Urchin Software (acquired by Google in 2005).

When someone clicks a link containing UTM parameters, those parameters get passed to your analytics platform, allowing you to see exactly which email, ad, social post, or newsletter drove that visitor to your site.

The Five Standard UTM Parameters

  • utm_source — Identifies the traffic source (e.g., newsletter, facebook, google).
  • utm_medium — Identifies the marketing medium (e.g., email, cpc, social).
  • utm_campaign — Identifies the specific campaign (e.g., spring_sale_2026).
  • utm_term — Used mainly for paid search to track keywords (e.g., running+shoes).
  • utm_content — Differentiates similar links within the same campaign (e.g., header_banner vs. footer_link).

Why Combine UTM Parameters with Short Links?

UTM-tagged URLs are notoriously ugly. A raw URL with all five UTM parameters can easily stretch past 200 characters, making it unusable for social media, print materials, or verbal sharing. Short links solve this by wrapping the entire tagged URL into something clean like lunyb.com/spring26.

Here are the main benefits of pairing the two:

  1. Clean, shareable URLs — Ugly UTM strings become polished branded links.
  2. Higher click-through rates — Studies consistently show branded short links outperform raw URLs.
  3. Editable destinations — With most shorteners, you can update the destination without changing the short link itself.
  4. Dual analytics — You get click data from your link shortener AND session data from Google Analytics.
  5. Better for print and offline — Short links work on business cards, posters, and QR codes; UTM strings do not.

How UTM Parameters Work with Short Links: The Flow

Understanding the redirect flow helps you troubleshoot tracking issues later. Here's what happens when someone clicks a short link containing UTM parameters:

  1. A user clicks your short link (e.g., lunyb.com/promo).
  2. The link shortener's server receives the request and records the click.
  3. The server issues a 301 or 302 redirect to the full destination URL — including all UTM parameters.
  4. The browser follows the redirect and loads the destination page with the UTM parameters intact.
  5. Google Analytics (or your analytics tool) reads the parameters and attributes the session accordingly.

The key insight: UTM parameters must be on the destination URL, not the short link itself. The shortener carries them along during the redirect.

Step-by-Step: How to Build a UTM-Tagged Short Link

Step 1: Start with Your Destination URL

Begin with the raw landing page you want to send traffic to:

https://example.com/spring-collection

Step 2: Add UTM Parameters

Append your parameters after a question mark, separating each with an ampersand:

https://example.com/spring-collection?utm_source=newsletter&utm_medium=email&utm_campaign=spring_2026

Use Google's Campaign URL Builder if you want a form-based interface. It handles URL encoding automatically.

Step 3: Shorten the Tagged URL

Paste the full tagged URL into your link shortener of choice. If you use Lunyb, you can also create a custom slug that reflects the campaign — for example, lunyb.com/spring26-email.

Step 4: Test the Link

Always test before distributing. Click the short link and confirm:

  • It lands on the correct page.
  • The UTM parameters appear in the final URL bar.
  • Real-time reports in Google Analytics show the visit under the right source/medium.

Step 5: Distribute and Monitor

Share the short link across the intended channel and monitor performance in both your link shortener's dashboard and Google Analytics.

UTM Naming Conventions: The Rules That Save You Later

Inconsistent UTM tags are the #1 reason marketing reports become unreliable. Google Analytics treats Facebook, facebook, and FaceBook as three separate sources. Enforce these rules across your team:

1. Always Use Lowercase

UTM values are case-sensitive. Standardize on lowercase to avoid duplicate entries in reports.

2. Use Underscores or Hyphens — Never Spaces

Spaces get URL-encoded as %20, which looks messy and can break tracking. Use spring_sale or spring-sale, and pick one style team-wide.

3. Keep a Master Spreadsheet

Maintain a shared document listing approved values for each parameter. This prevents team members from inventing new source names on the fly.

4. Be Consistent with Medium Values

Google Analytics uses medium to group traffic into channels. Stick to standard values: email, social, cpc, display, affiliate, referral.

UTM Parameter Reference Table

Here's a quick-reference table showing recommended values for common scenarios:

Channel utm_source utm_medium Example utm_campaign
Email Newsletter newsletter email weekly_digest_2026_03
Facebook Organic Post facebook social brand_awareness_q1
Facebook Ads facebook cpc spring_sale_retargeting
Google Ads google cpc branded_keywords
LinkedIn Post linkedin social thought_leadership_may
Podcast Sponsorship podcast_name audio host_read_may2026
QR Code on Poster event_name offline conference_booth_2026
Affiliate Link partner_name affiliate summer_promo

Real-World Examples of UTM-Tagged Short Links

Example 1: Email Newsletter Campaign

Full URL:

https://shop.example.com/deals?utm_source=newsletter&utm_medium=email&utm_campaign=black_friday_2026&utm_content=header_cta

Short link: lunyb.com/bf26

The utm_content=header_cta lets you differentiate clicks from the header button versus a footer link in the same email.

Example 2: Multi-Platform Social Campaign

For the same landing page shared on three platforms, you'd create three different short links, each carrying a different utm_source:

  • Twitter: lunyb.com/launch-tw?utm_source=twitter&utm_medium=social&utm_campaign=product_launch
  • LinkedIn: lunyb.com/launch-li?utm_source=linkedin&utm_medium=social&utm_campaign=product_launch
  • Instagram bio: lunyb.com/launch-ig?utm_source=instagram&utm_medium=social&utm_campaign=product_launch

Example 3: Offline QR Code

Printed on a trade show banner:

https://example.com/demo?utm_source=techsummit&utm_medium=offline&utm_campaign=booth_2026

Encoded into a QR code that points to lunyb.com/ts26. When scanned, you know exactly which event drove the lead.

Common Mistakes to Avoid

1. Tagging Internal Links

Never add UTM parameters to links on your own website. Doing so overwrites the original session source in Google Analytics, corrupting your attribution data.

2. Forgetting to URL-Encode Special Characters

Spaces, ampersands, and other special characters in your parameter values need to be encoded. Most shorteners and campaign builders handle this automatically, but hand-crafted URLs often break.

3. Using Different Cases Across Campaigns

As mentioned earlier, Email and email are two separate mediums to Google Analytics. Enforce lowercase, always.

4. Overloading the Campaign Field

Don't cram source, medium, and date all into utm_campaign. That's what the other fields are for. Keep each parameter focused on its purpose.

5. Sharing UTM-Tagged Links Publicly Without Shortening

A raw UTM URL on a public forum or Reddit exposes your internal campaign taxonomy and looks unprofessional. Always shorten first.

Advanced Tips for Power Users

Build a UTM Template Spreadsheet

Create a Google Sheet where team members enter campaign details in structured columns and formulas auto-generate the tagged URL. This eliminates typos and standardizes naming instantly.

Use Custom Slugs That Mirror Your UTMs

If your short link is lunyb.com/spring-email, it's easy to remember what campaign it belongs to — even without opening your dashboard. Consistency between slug and UTMs saves audit time later.

Combine Click Data with GA Sessions

Your link shortener tracks total clicks, including bots and previews. Google Analytics tracks actual sessions. The delta between the two is useful for spotting bot traffic or preview-heavy channels like Slack and iMessage.

Automate at Scale

For teams generating hundreds of links per month, use a shortener's API to programmatically create tagged short links directly from your marketing automation tool or CMS. Both Lunyb and competitors like Rebrandly offer APIs for this. For a broader comparison of options, see our 2026 URL shortener buyer's guide.

Measuring Success: What to Look For in Reports

Once your tagged short links are in the wild, head to Google Analytics 4 and check the following reports:

  1. Acquisition > Traffic Acquisition — See sessions grouped by source/medium.
  2. Advertising > Campaigns — Filter by your utm_campaign value.
  3. Explore reports — Build custom breakdowns showing source, medium, campaign, and conversions side by side.

Cross-reference these with click counts from your shortener dashboard to calculate a rough "click-to-session" ratio for each channel. Big gaps often indicate landing page load issues or aggressive link previews.

Frequently Asked Questions

Do UTM parameters affect SEO?

No, UTM parameters do not directly harm SEO. Google generally ignores them and treats the parameterized page as the same as the clean URL, especially if you use a canonical tag. That said, you should never add UTM parameters to internal links, and you shouldn't build backlinks pointing to UTM-tagged URLs.

Do UTM parameters survive a URL shortener redirect?

Yes, as long as the UTM parameters are attached to the destination URL before you shorten it. The shortener performs a redirect that carries the full destination — including all query parameters — to the user's browser, which then reports them to your analytics tool.

Can I add UTM parameters to a short link after it's created?

With most shorteners, you edit the destination URL, not the short link. So yes, you can update the destination to include or change UTM parameters at any time. The short link stays the same, but all future clicks will carry the new parameters.

How many UTM parameters should I use per link?

At minimum, use utm_source, utm_medium, and utm_campaign — these are considered the essential three. Add utm_content when you have multiple links in the same asset (e.g., two buttons in one email), and utm_term primarily for paid search keyword tracking.

What's the difference between click tracking in a shortener and UTM tracking?

Link shortener analytics count every request to the short URL, giving you raw click totals plus data like device, country, and referrer. UTM parameters feed into your web analytics platform and track what users do after arriving — sessions, page views, conversions, and revenue. You need both for a complete picture: shortener data for reach, UTM data for outcomes.

Wrapping Up

UTM parameters and short links are a marketing power couple. Together, they give you clean, shareable URLs plus accurate attribution data in the tools you already use. The formula is simple: build the tagged URL first, shorten it second, and enforce naming conventions religiously. Do that consistently, and every campaign becomes measurable — from a tweet to a trade show banner.

Protect your links with Lunyb

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

Get Started Free

Related Articles