UTM link builder
UTM parameters are tags appended to a URL that let analytics tools — Google Analytics, Plausible, and others — attribute a visit to the exact campaign, source and medium that produced it. This builder takes your destination URL and a few campaign details and assembles a clean, ready-to-share tracking link, entirely in your browser.
How it works
You enter a destination URL and the campaign fields. The builder separates any
existing #fragment, parses the existing query string with URLSearchParams,
then merges in the five standard parameters for any field you filled in:
| Parameter | Purpose | Example |
|---|---|---|
| utm_source | Where traffic comes from | newsletter |
| utm_medium | Channel type | |
| utm_campaign | Campaign name | spring_sale |
| utm_term | Paid keyword (optional) | running_shoes |
| utm_content | Creative / variant (optional) | header_cta |
Empty optional fields are skipped, existing parameters and the fragment are
preserved, and values can be forced to lowercase so reports don’t split across
Email and email.
Example
Starting from https://shop.example.com/sale, filling in source newsletter,
medium email and campaign spring_sale produces:
https://shop.example.com/sale?utm_source=newsletter&utm_medium=email&utm_campaign=spring_sale
If the URL already had ?ref=vip#offers, the result keeps ref=vip, adds the UTM
tags, and reattaches #offers at the end.
Everything runs in your browser — your URLs and campaign names never leave your device.