UTM Parameter Builder
Add source, medium and campaign to any URL to build a tracked link for Google Analytics.
How to use UTM Parameter Builder
- Enter your website URL, campaign source, medium and campaign name (all required).
- Add a campaign term or content value if you're tracking that level of detail.
- Copy the finished tracking link.
Frequently asked questions
What happens if my URL already has query parameters, like ?ref=abc?
The tool always appends a fresh "?" before the UTM parameters, so a URL that already has a query string ends up with two question marks (e.g. ?ref=abc?utm_source=...), which isn't valid. You'd need to change that second "?" to "&" by hand before using the link.
How are spaces in a campaign name encoded?
As a plus sign (+), not %20 — the query string is built with URLSearchParams, which follows the application/x-www-form-urlencoded convention rather than raw percent-encoding.
Which fields are actually required?
Website URL, Campaign Source, Campaign Medium, and Campaign Name — the generated link only appears once all four are filled in. Term and Content stay optional.
Community
Loading...