Skip to content
Tools.Town
290+ free online tools

Evergreen concept

Guide

UTM 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.

16 August 2026 By Tools.Town Team 7 min read

Three URL concepts get mixed in marketing sites:

  1. UTM parameters — tracking query string for analytics
  2. Canonical URL — preferred URL for search engines
  3. og:url — preferred URL hint for social crawlers

They can describe the same page. They must not all carry campaign junk.

At a glance

SignalJobTypical value
UTM linkMeasure campaignshttps://example.com/launch?utm_source=email&…
CanonicalConsolidate SEOhttps://example.com/launch
og:urlSocial identityhttps://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

  1. Publish page at clean URL.
  2. Set canonical + og:url to that clean URL.
  3. Distribute copies of the URL with UTMs for campaigns.
  4. 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.