UTM Links Explained: Track Every Ad and Post in Google Analytics
If you run ads, send emails and post on social media, you need to know which one brings customers. UTM parameters are small tags added to a link that tell your analytics tool exactly where each visit came from.
The five UTM parameters
| Parameter | Question it answers | Example |
|---|---|---|
| utm_source | Where did the visit come from? | facebook, tiktok, newsletter |
| utm_medium | What type of channel? | cpc, email, social |
| utm_campaign | Which campaign? | eid_sale_2026 |
| utm_term | Which keyword (paid search)? | shopify_design |
| utm_content | Which ad or button version? | video_a, banner_blue |
Source, medium and campaign are the three you should always fill in.
A full example
https://example.com/shop?utm_source=tiktok&utm_medium=cpc&utm_campaign=winter_sale&utm_content=video_a
The part before the question mark is your normal page. Each tag after it is joined with an ampersand (&).
Naming rules that keep reports clean
- Use lowercase only. Analytics tools treat "Facebook" and "facebook" as different sources.
- Use underscores or hyphens instead of spaces.
- Be consistent. Pick "cpc" for paid clicks and use it every time, not "ppc" in one place and "paid" in another.
- Keep names short and meaningful, such as month and offer.
- Keep a simple sheet of every tagged link you create.
Where to use UTM links
- Ad destination links (Meta, TikTok, Google)
- Email newsletter buttons
- The link in your Instagram bio or a campaign post
- Influencer and partner links
- QR codes on print, since a tagged link shows how many scans became visits. See our QR code guide.
Mistakes to avoid
- Do not put UTM tags on links inside your own website. They can overwrite the real source of the visit.
- Do not put personal data such as names or emails in a UTM tag.
- Test the final link and check it appears in your analytics real-time report.
Build your link
Use our free UTM link builder: paste your page address, fill in the fields and copy the tagged link.
Lumaryx Digital Agency (Pakistan) helps businesses with Shopify stores, Meta and TikTok ads, SEO, email marketing and web development.
Talk to Lumaryx
Frequently asked questions
Do UTM parameters affect SEO?
They do not change your rankings by themselves. Use a canonical tag so tagged versions of a page are treated as the same page.
Which UTM parameters are required?
Most analytics tools expect source, medium and campaign. Term and content are optional.
Are UTM tags case sensitive?
Yes in most reports. Use lowercase everywhere so one source does not appear as two.