SpunkArt
Social media and creative work

How UTM parameters and link tracking work

UTM parameters are short tags added to the end of a link. When someone clicks it, your analytics tool reads the tags and records where the visit came from. They are the simplest way to tell which post, email or partner sent you traffic.

UTM link builder

Type or paste your page address, then fill in the tags. Nothing you type leaves this page.

The five standard parameters

ParameterAnswersExample value
utm_sourceWhich site or sender?instagram, partner-blog
utm_mediumWhat type of channel?social, email, referral
utm_campaignWhich push or promotion?spring-sale
utm_contentWhich link or creative, when several point to one page?header-button
utm_termWhich paid search keyword?abstract-canvas

How a tagged link is built by hand

  1. Start with the page address.
  2. Add ? if the address has no query string yet, or & if it already has one.
  3. Add each parameter as name=value, joined by &.
  4. Encode spaces and special characters. A space becomes %20; the URL encoding guide explains why.
  5. If the address has a # fragment, keep it at the very end, after the parameters.

Example. The page example.com/prints#sizes, tagged for a spring email:

example.com/prints?utm_source=mailing-list&utm_medium=email&utm_campaign=spring-sale#sizes

Naming rules that keep reports clean

  • Pick lower case and stick to it. Many analytics tools treat Email and email as two different values.
  • Use hyphens instead of spaces. They read cleanly and need no encoding.
  • Keep a shared list of approved sources and mediums so everyone uses the same words.
  • Never tag internal links between pages of your own site; that can overwrite the original source of the visit.

Other ways links are tracked

Affiliate links usually carry an ID parameter that the merchant reads, often with redirect links through a tracking domain. Link shorteners count clicks on their own servers. Analytics tools also read the referrer the browser sends, but that can be missing, for example from some apps and privacy settings. UTM tags work alongside all of these.

Common mistakes

  • Putting the parameters after the #, where many tools ignore them.
  • Typos that split one campaign into two rows in reports.
  • Tagging links in a way that exposes private information, such as an email address.

Questions

Do UTM tags affect search rankings?

Not directly. To avoid duplicate URLs, keep tagged links out of your own site navigation and use a canonical tag on the page.

Does the builder above store my links?

No. It runs in your browser and only builds text. Nothing is saved or sent.