Analytics

UTM Parameters + Short Links: Track Campaigns Without Ugly URLs

Learn what UTM parameters are, how to build them, naming rules that keep your reports clean, and how short links hide long tracking URLs while keeping full campaign data.

By Trimx Team4 min read
Share:
UTM Parameters + Short Links: Track Campaigns Without Ugly URLs

UTM parameters are the most reliable way to see which campaigns bring visitors to your website. The catch is that they make links long and messy. Short links solve that: you get a clean link to share and full campaign data in your analytics.

Here's how to use the two together.

What are UTM parameters?

UTM parameters are small tags added to the end of a URL. When someone clicks the link, analytics tools such as Google Analytics read the tags and record where the visit came from.

A tagged link looks like this:

https://example.com/spring-sale?utm_source=instagram&utm_medium=social&utm_campaign=spring_sale

The page is the same; the tags just describe the click.

The five UTM parameters

ParameterWhat it describesExample
utm_sourceWhere the traffic comes frominstagram, newsletter, google
utm_mediumThe type of channelsocial, email, cpc, qr
utm_campaignThe campaign namespring_sale, product_launch
utm_termThe keyword (mostly for paid search)running_shoes
utm_contentWhich version or placementstory_link, header_button

utm_source, utm_medium and utm_campaign are the ones you'll use most. Google Analytics 4 also supports utm_id for a campaign ID if you need one.

  • Readability: trimx.me/spring-ig is far easier to share than a 140-character tagged URL.
  • Trust: long links full of parameters can look suspicious. A clean custom link looks intentional.
  • Two layers of data: your short link shows total clicks, countries, browsers and devices, while UTM data in Google Analytics shows what visitors did on your site after they arrived.
  • Offline tracking: add utm_medium=qr to a link, shorten it, and turn it into a QR code. Now you can track printed materials too.
  1. Start with your destination page, for example https://example.com/spring-sale.
  2. Add your UTM parameters. Put a ? after the URL, then join each parameter with &: https://example.com/spring-sale?utm_source=instagram&utm_medium=social&utm_campaign=spring_sale
  3. Test the long link in your browser to make sure the page loads.
  4. Shorten it on Trimx. With a free account you can choose a readable alias, such as spring-ig.
  5. Share the short link in the channel that matches your utm_source.
  6. Repeat for each channel, changing the source, medium or content each time.

If your URL already contains a ?, add your UTM parameters with & instead of a second ?.

Naming rules that keep reports clean

Analytics tools treat Instagram, instagram and IG as three different sources. (The same discipline applies to short link names; see link management best practices.) A few rules prevent messy reports:

  1. Always use lower case.
  2. Use underscores or hyphens, not spaces. spring_sale, not spring sale.
  3. Agree on a fixed list of sources and mediums and write it down.
  4. Keep campaign names descriptive and dated if they repeat, for example newsletter_2026_10.
  5. Use utm_content to compare variations, like two buttons in the same email.

A shared spreadsheet listing every tagged link, its short link, and its purpose is a simple way to keep a team consistent.

A sample tracking plan

Channelutm_sourceutm_mediumShort link
Instagram bioinstagramsocialtrimx.me/spring-ig
Newsletternewsletteremailtrimx.me/spring-mail
Flyer QR codeflyerqrtrimx.me/spring-qr
WhatsApp broadcastwhatsappmessagingtrimx.me/spring-wa

All four point to the same page with utm_campaign=spring_sale, so you can see total campaign performance and compare channels.

Where to find the data

  • In Trimx: open your link history and click the analytics icon to see clicks over the last seven days, countries, browsers and operating systems for each short link. See link click analytics.
  • In Google Analytics 4: go to the traffic acquisition report and look at session source, medium and campaign to see sessions, engagement and conversions.

Common mistakes

  • Using UTMs on internal links. Tagging links between pages of your own website can overwrite the original source of a visit. Only tag links on external channels.
  • Inconsistent capitalisation. It splits one source into several rows.
  • Forgetting to test. A typo in the URL can break the page.
  • Shortening before tagging. Add UTMs to the long URL first, then shorten it.

Frequently asked questions

Do UTM parameters affect SEO?

UTM-tagged links are used on external channels such as social, email and ads, so they don't affect how your pages rank. Avoid using them on internal links within your website.

Will the UTM parameters still work after shortening?

Yes. The short link redirects to the full tagged URL, so the parameters arrive at your website and your analytics tool records them.

Can I see UTM data inside Trimx?

Trimx shows click data for each short link. UTM data is reported by your website's analytics tool, such as Google Analytics.

Yes. Each tagged URL should have its own short link, so both Trimx and your analytics tool can tell the variations apart.

Shorten a link in seconds

Free short links with QR codes and click analytics. Sign in for custom aliases, one-time links and IP-restricted links.

Try Trimx free
#utm#google analytics#campaign tracking
Share:

Keep reading

All articles →