How to build reliable UTM links for campaigns
A naming and validation workflow for campaign links that remain readable, comparable, and useful in analytics reports.
UTM parameters are simple strings, so inconsistent spelling and casing can split one campaign into many rows. Decide the naming rules before generating links at scale.
Tags should explain traffic acquisition, not contain personal information. Anyone who receives the URL can read and share every parameter.
Define a naming convention
Use stable lowercase values for utm_source, utm_medium, and utm_campaign. Document separators, dates, markets, and abbreviations so another person can create the same name.
Reserve utm_content for creative or placement variants and utm_term for paid keyword use when your analytics setup expects it.
Build and encode the URL correctly
Preserve existing query parameters and encode individual values rather than encoding the entire completed URL. Avoid adding the same parameter twice.
Do not place emails, customer IDs, names, or other personal data in campaign parameters because URLs appear in logs, referrers, screenshots, and browser history.
Test the complete journey
Follow every redirect and confirm the final landing page retains the intended parameters without duplicating or rewriting them.
Open the link in a clean session, verify the analytics event, and test the exact shortened link or QR code used in the campaign.
UTM campaign checklist
- Use documented lowercase source, medium, and campaign names.
- Keep personal and confidential data out of URLs.
- Preserve existing query parameters without duplicates.
- Verify encoding and the final landing URL.
- Test redirects, short links, and QR codes end to end.
- Confirm the visit appears in analytics before launch.
Related guides
Learn the workflow behind this tool and what to check next.
How to build clean UTM campaign URLs
A simple naming workflow for utm_source, utm_medium, utm_campaign, utm_content, and utm_term that keeps analytics reports readable.
Technical SEO checks before submitting a site
A focused checklist for making sure search engines can discover, crawl, understand, and index important pages.