Evergreen concept
GuideUTM Parameters vs Canonical vs OG URL
Keep campaign UTMs, rel=canonical, and og:url from fighting each other — when each belongs on a page and how to avoid duplicate tracking URLs.
Three URL concepts get mixed in marketing sites:
- UTM parameters — tracking query string for analytics
- Canonical URL — preferred URL for search engines
- og:url — preferred URL hint for social crawlers
They can describe the same page. They must not all carry campaign junk.
At a glance
| Signal | Job | Typical value |
|---|---|---|
| UTM link | Measure campaigns | https://example.com/launch?utm_source=email&… |
| Canonical | Consolidate SEO | https://example.com/launch |
| og:url | Social identity | https://example.com/launch (usually same as canonical) |
UTM parameters
Built with UTM Builder. Use on outbound campaign links (ads, email, influencers). When someone lands with UTMs, analytics records the source. The HTML canonical should still point at the clean URL.
Canonical
Generated with Canonical Tag Generator. Tells search which variant is preferred when ?ref=, trailing slashes, or HTTP/HTTPS duplicates exist. Do not canonicalize to a UTM’d URL.
og:url and OG images
og:url should match the URL you want shared. Preview cards with OG Image Preview. Image dimensions: Open Graph size guide. Programmatic images: /api/og/.
Safe pattern
- Publish page at clean URL.
- Set canonical + og:url to that clean URL.
- Distribute copies of the URL with UTMs for campaigns.
- Ensure templates strip UTMs from canonical/og tags even when the request URI has them.
Hub: SEO URL & Meta Ops.
Frequently Asked Questions
Can canonical include UTM parameters?
Avoid it. Canonical should be the clean preferred URL so search consolidates signals.
Should og:url include UTMs?
Usually no. Share the clean URL; put UTMs on the links you distribute in ads/email.
What if CMS adds UTMs to every URL?
Fix templates so canonical and og:url stay clean even when visitors arrive with UTMs.