Anatomy of a tagged link
| Parameter | Answers | Examples |
|---|---|---|
utm_source | Who sent the visit? | newsletter, instagram, partner-blog |
utm_medium | What kind of channel? | email, social, cpc, qr |
utm_campaign | Which promotion? | spring-sale-2026 |
utm_term | Which paid keyword? | handmade-mugs |
utm_content | Which version or button? | header-button, footer-link |
Worked example
Page address https://shop.example.com/sale/?colour=blue#sizes, Source Newsletter, Medium Email, Campaign Spring Sale 2026, with both boxes ticked, gives:
https://shop.example.com/sale/?colour=blue&utm_source=newsletter&utm_medium=email&utm_campaign=spring-sale-2026#sizes
- The page's own query,
colour=blue, is kept exactly as typed, and the tags go after it. - The
#sizesanchor stays at the very end, where browsers expect it. - Any
utm_tags already on the address are replaced, not doubled.
Encoding
Values are percent-encoded as RFC 3986 requires, so symbols cannot break the link. A campaign called Q&A day becomes q%26a-day; without encoding, the & would start a new parameter.
Habits that keep reports clean
- Most analytics tools treat
Emailandemailas different values, which splits your numbers. Lowercase avoids that. - Do not tag links between pages of your own site. That replaces the original source of the visit.
- Tags are visible to anyone who sees the link. Never put names, email addresses or other personal details in them.
- For print, turn the tagged link into a code with the QR code generator and use
qras the medium.