Analytics

How to prepare UTM links for campaigns

A campaign workflow for creating readable UTM links, checking query parameters, testing redirects, and preparing shareable URLs.

Campaign tracking breaks when UTM names are inconsistent, redirects drop query strings, or final URLs are copied from the wrong environment.

Prepare the URL, parse it, test the redirect path, and only then use it in email, paid campaigns, QR codes, or partner placements.

Use a naming convention

Keep source, medium, campaign, content, and term values lowercase and predictable.

Document allowed medium values such as email, cpc, social, referral, display, affiliate, or qr.

Verify the final URL

Parse the generated URL to confirm every UTM parameter is present exactly once and correctly encoded.

Run the URL through redirect checks to make sure query parameters survive the final landing page.

Prepare shareable variants

Use utm_content for creative, placement, button, or QR variants instead of creating unclear campaign names.

For QR codes, test the scanned URL and final landing page before printing or publishing.

Campaign URL checklist

  • Use lowercase UTM values and avoid spaces.
  • Keep source and medium values consistent across campaigns.
  • Parse the URL and confirm encoded parameters.
  • Check redirects preserve the query string.
  • Use content labels for creative, placement, or QR variants.

Related guides

Learn the workflow behind this tool and what to check next.

Related tools