UTM Link Builder

Add UTM campaign parameters to any URL for analytics tracking. Source, medium, campaign, term and content — encoded correctly and ready to share. Runs entirely in your browser.

Tagged URL

About this tool

The UTM Link Builder adds campaign-tracking parameters to any URL so your web analytics can attribute visits to the right marketing source. Fill in the destination URL and the campaign details, and the tool appends the standard UTM query parameters, correctly URL-encoded and ready to share.

What are UTM parameters?

UTM parameters are tags added to a link's query string that analytics tools (Google Analytics and most others) read to report where traffic came from. The five standard ones are:

Source, medium and campaign are required; term and content are optional.

For Google Analytics 4 there are four more optional fields, all supported here:

How it works

Everything runs locally in your browser — your URLs are never uploaded.

FAQ

What if my URL already has UTM tags on it?

Existing utm_* parameters are replaced with the values you enter, while non-UTM query parameters and the #fragment stay untouched. Re-tagging the same link is therefore safe — you never end up with duplicate UTM parameters.

Why do spaces become + instead of %20?

Values are encoded as application/x-www-form-urlencoded, the format Google Analytics and other platforms expect for query strings: spaces become + and reserved characters are percent-encoded. Both forms decode to the same value.

Which fields are required and which are the GA4 extras?

Source, medium and campaign are required; term and content are optional. The four GA4-specific fields — utm_id, utm_source_platform, utm_creative_format and utm_marketing_tactic — are also optional, and any field left blank is simply omitted from the final URL.

Should I turn on "Lowercase parameter values"?

Usually yes. UTM values are case-sensitive in analytics reports, so Email and email show up as two different sources. The option lowercases every value before building the link, keeping your reports consolidated.

Developer & Automation Access

Run it from the terminal

Same engine as this page, headless — via the gizza CLI:

gizza tool utm-link-builder "https://example.com/landing-page" 'source=google' 'medium=cpc' 'campaign=spring_sale'

New to the CLI? Get gizza →

Open it by URL

Pre-fill and auto-run this tool with query parameters — the names match the API/CLI:

https://gizza.ai/tools/utm-link-builder/?url=https%3A%2F%2Fexample.com%2Flanding-page&source=google&medium=cpc&campaign=spring_sale&term=running%20shoes&content=logolink&id=abc.123&source_platform=Google%20Ads&creative_format=display&marketing_tactic=remarketing&lowercase=true

Machine-readable descriptor: tool.json — title + parameters JSON Schema for agents.