Formula and example checked against automated tests · 15 November 2026
Make campaign sources easier to understand
UTM parameters add campaign labels to a destination URL. Analytics services can read these labels when a visitor opens the link, provided your measurement is correctly configured and the visitor’s consent permits it. This builder creates a URL; it does not install analytics or collect clicks.
Choose consistent labels
Use source for the origin, such as newsletter or linkedin. Use medium for the channel, such as email, social, or cpc. Use campaign for a shared initiative, such as winter_launch. Term can identify a paid keyword, and content can distinguish two creatives or button placements. Labels are case-sensitive in many reports, so choose one naming convention and keep it.
A worked example
This link identifies visits from a newsletter email in the winter launch campaign. Existing query parameters and fragments are preserved. Any existing source, medium, campaign, term, and content UTM fields are replaced with your entries; empty optional fields remove those old values. Arabic text is safely URL-encoded.
Keep campaign links safe
Never put customer names, email addresses, phone numbers, credentials, or confidential identifiers in UTM labels. URLs can be visible in browser history, shared messages, server logs, and analytics. This tool accepts only HTTP and HTTPS destinations without embedded login details, but it does not visit or certify the destination.
Should I tag internal site links?
Use campaign tags for acquisition links. Tagging internal navigation can confuse campaign analysis; use appropriate internal interaction events instead.
Will the link track visitors automatically?
No. The destination must have correctly configured analytics. Blocking, missing configuration, redirects, attribution rules, and consent can all affect reports. Test your link in the destination’s approved analytics workflow.
Reference: Google’s Campaign URL Builder.