Guide

URL Shortener and UTM Tracking Guide

How to shorten links, tag campaigns with UTM parameters, track every click, and turn a short link into a QR code

A long, ugly URL full of tracking parameters is fine for an analytics dashboard, but it's a poor fit for a social post, a printed flyer, or a text message. That's the core problem a URL shortener solves. Separately, if you're running any kind of marketing campaign across multiple channels, you also need a way to know which channel actually drove a given visitor, and that's the job of UTM parameters. This guide walks through both, and how they work together, using our free URL shortener and UTM builder.

What a URL shortener actually does

A URL shortener takes any long web address and generates a short, easy-to-share link that redirects visitors to the original destination when clicked. Beyond making links tidier, a shortener that includes analytics (as ours does) also lets you count clicks and see basic details like referrer and timing, without needing to touch your destination page's own analytics setup. This is especially useful for links you share somewhere you can't easily instrument yourself, like a printed flyer, a text message, or a partner's newsletter.

On our shortener page, paste any long URL into the "Shorten a URL" box and you'll get back a compact link in the form qrcodeharbor.com/r/.... You can optionally toggle "Use a custom alias" to choose a memorable slug instead of a random one, for example qrcodeharbor.com/r/summer-sale instead of an auto-generated string, which is worth doing for anything you plan to say out loud or print somewhere it needs to look intentional.

What UTM parameters are and why they matter

Make your own website QR code

Scan it — this code opens our free website QR generator.

Create yours free

UTM parameters are small tags appended to the end of a URL that tell Google Analytics, and most other analytics platforms, exactly which source and campaign a given visit came from. Without them, a click from your Instagram bio and a click from an email newsletter can both just show up as generic "direct" or "referral" traffic, making it impossible to tell which channel is actually working.

There are five standard UTM parameters: utm_source (where the traffic came from, e.g. "instagram" or "newsletter"), utm_medium (the general category, e.g. "social" or "email"), utm_campaign (the specific campaign name, e.g. "summer-sale"), utm_term (used mainly for paid search keywords), and utm_content (used to distinguish between multiple links or ads within the same campaign, e.g. "header-button" vs "footer-link"). Only source and medium are strictly required for Google Analytics to attribute a session to a campaign, but adding campaign name at minimum is strongly recommended for anything beyond a single one-off test.

Building a campaign URL step by step

On the UTM Campaign Builder section of our shortener page, start by entering your destination URL, the actual page you want the visitor to land on. Then use the channel preset buttons (Google, Facebook, Instagram, Email, QR Code) to auto-fill sensible source and medium defaults for that channel, or fill in utm_source and utm_medium manually if you have your own convention. Add a campaign name so you can filter for this specific push in your analytics later, and optionally a term or content value if you're running multiple variants.

As you fill in the fields, the tool builds your finished campaign URL live in the output box below the form. Copy it directly, or click "Shorten this" to immediately convert that long, parameter-heavy URL into a clean short link, ready to paste into a social bio, an email, or a QR code.

Turning a tracked link into a QR code

A UTM-tagged URL is almost always too long and visually noisy to encode directly into a QR code for print, both because long URLs create denser, harder-to-scan codes, and because there's no reason to expose your tracking parameters on a printed poster. The practical fix is to shorten the tagged URL first, then generate a QR code from that short link. On our shortener, after creating a short link you'll see a "Make a QR code of this link" button that carries the destination straight into our QR code generator, so the scan data and the click data land in the same place.

This is exactly the setup you want for offline campaigns: a poster QR code tagged with utm_source=poster and a social bio link tagged with utm_source=instagram can point to the same landing page while still letting you separate their performance cleanly in your analytics.

Reading your click data

Once you're signed in, the "My Short Links" section on the shortener page shows a live list of your short links with running click counts pulled directly from our analytics engine, so you can see at a glance which links are actually getting used without needing to leave the page or check a separate dashboard.

Common UTM mistakes to avoid

The most common mistake is inconsistent naming, using "Facebook" in one link and "facebook" in another, which Google Analytics treats as two different sources due to case sensitivity. Pick a lowercase, hyphenated convention (like our channel presets use) and stick to it across every campaign. The second common mistake is over-tagging internal links; UTM parameters are meant for traffic arriving from outside your own site, not for links between your own pages, since that can actually corrupt session attribution in Google Analytics.

Free plan and what's included

Shortening links and building UTM campaign URLs on our shortener is free, with the UTM builder itself requiring no sign-in at all. Short links share the same free allowance as our dynamic QR codes (2 free forever), giving you the same redirect and click-analytics engine behind both features. If you need more short links or deeper analytics, that's part of what the Pro tier unlocks alongside dynamic, editable QR codes.

Frequently asked questions

What is the difference between a short link and a UTM parameter?

A short link replaces a long URL with a compact one that redirects to the original destination and can be tracked on its own. A UTM parameter is extra tagging added to the end of any URL (short or long) that tells Google Analytics and similar tools which specific source, medium, and campaign drove that particular click. They solve different problems and work well together: build a UTM-tagged URL first, then shorten it for sharing.

Which UTM parameters are required?

Google Analytics only strictly requires utm_source and utm_medium to register a link as coming from a specific campaign. utm_campaign, utm_term, and utm_content are optional but recommended if you are running multiple simultaneous campaigns or want to distinguish between different ads or placements within the same channel.

Can I turn a short link into a QR code?

Yes. Once you shorten a URL, there is a direct option to generate a QR code from that same short link, so scans and clicks feed into the same analytics. This is the standard approach for print materials, since a UTM-tagged long URL is usually too long to encode cleanly and read on a flyer.

Are short links free to create?

Yes, the free plan includes short links (shared with the dynamic QR code allowance), while the UTM campaign builder itself is free to use for anyone, with no sign-in required, to build a properly tagged campaign URL.

Related guides