# UTM Builder

> Tag any URL for Google Analytics / GA4. Saved presets, shareable form links, case-sensitivity validation, GA mapping preview. No ads, no signup.

Free UTM builder for Google Analytics / GA4. Tag any URL with source, medium, campaign, content, and term. Saved presets remember your team's taxonomy, validation catches uppercase + spaces before they fragment your reports, and 'Share this form' pre-fills the builder for a teammate. No ads, no signup.

## Command line (recommended for agents)

npx @brandstack/cli utm-builder <destination-url> --source … --medium … --campaign … [--term --content --id] [--json] — offline; same validation and output URL as the web form. Also accepts a "Share this form" settings link in place of flags.

The CLI runs the same engine as this page — same logic, same output contract — with no browser and no account. Browser automation below is the fallback.

## How to use it

1. Agents: run `npx @brandstack/cli utm-builder https://example.com/launch --source newsletter --medium email --campaign q3-launch`. Validation warnings (uppercase, spaces) print to stderr; the tagged URL prints to stdout.
2. In the browser: enter the destination URL and the UTM values (source, medium, campaign, and optionally term and content). Validation flags uppercase and spaces before they fragment GA reports.
3. Copy the tagged URL from the result box.
4. To hand a taxonomy to a teammate or an agent, use "Share this form": the link pre-fills the builder via the URL parameters below — and the CLI accepts the same link directly.

## URL parameters

The page reads these query parameters on load, so a link can carry a complete setup:

- `dest`: Destination URL to pre-fill
- `utm_source, utm_medium, utm_campaign, utm_term, utm_content`: Standard UTM fields, pre-filled verbatim into the form

## Output

A fully tagged campaign URL, plus a shareable form link that reproduces the current form state.

## Links

- Use the tool: https://www.brandstack.dev/tools/utm-builder
- All free tools: https://www.brandstack.dev/tools (markdown: https://www.brandstack.dev/tools.md)
- Agent index: https://www.brandstack.dev/llms.txt

UTM Builder is a free tool by Brand Stack, the AI photo studio for
product marketing. No ads, no signup. Start free: https://www.brandstack.dev/sign-up
