ETEvoraTools
SEO & Website Tools

UTM Builder

UTM Builder parses an absolute Website URL and sets exactly three query parameters from the manual fields: utm_source, utm_medium, and utm_campaign. Existing values for those names are replaced; unrelated parameters and the fragment remain, and blank fields are still written as empty values. It does not add utm_term or utm_content, validate campaign taxonomy, shorten or test the URL, follow redirects, send an analytics hit, or confirm how an analytics platform attributes the visit.

Runs locally — files stay on your device
Quick answer

Which UTM fields does this page add?

utm_source, utm_medium, and utm_campaign.

UTM parameters are labels interpreted downstream

Campaign parameters travel in the query string. Analytics behavior depends on collection code, redirects, consent, session rules, attribution models, and a consistent naming taxonomy.

How it works

The browser URL parser loads the entered absolute URL, URLSearchParams.set writes the three exact lowercase keys, and the serialized URL is displayed.

Key concepts

Existing values are replaced

set leaves one value for each of the three names.

Other URL state remains

Unrelated query parameters and the fragment are preserved.

When to use it

  • Create a reviewed campaign link with source, medium, and campaign.
  • Replace those three UTM values on an existing URL.
  • Standardize basic marketing-link construction.

When not to use it

  • Do not expect term or content fields.
  • Do not place secrets or personal data in campaign parameters.
  • Do not assume a generated link has been tracked or tested.

Worked examples

Email campaign

Input
https://example.com/offer; source newsletter; medium email; campaign summer
Expected output
URL with three utm_ parameters

The values are URL-serialized.

Existing query

Input
https://example.com/?id=4
Expected output
id=4 remains alongside UTM values

Unrelated parameters are retained.

Blank source

Input
Source field empty
Expected output
utm_source=

The field is set rather than omitted.

Common mistakes

Inconsistent naming

Email, e-mail, and Email fragment reports. Correction: Maintain a controlled taxonomy.

Assuming analytics validation

No request or analytics lookup occurs. Correction: Test collection in the destination platform.

Adding sensitive data

Query strings can leak through logs and referrers. Correction: Use nonpersonal campaign labels.

Best practices

  • Define lowercase naming conventions.
  • Test redirects and analytics collection.
  • Review the final URL for existing parameters and sensitive data.

Related operations and differences

URL Cleaner

Choose URL Cleaner when you need to remove fragments and common tracking parameters.; use UTM Builder specifically for utm.

URL Query Sorter

Choose URL Query Sorter when you need to sort query parameters alphabetically.; use UTM Builder specifically for utm.

UTM URL Parser

Choose UTM URL Parser when you need to extract campaign tracking fields from a URL.; use UTM Builder specifically for utm.

Canonical Tag Generator

Choose Canonical Tag Generator when you need to generate a canonical link element from a URL.; use UTM Builder specifically for utm.

External Link Extractor

Choose External Link Extractor when you need to extract links pointing away from a hostname.; use UTM Builder specifically for utm.

FAQ Schema Generator

Choose FAQ Schema Generator when you need to generate FAQPage JSON-LD from question-answer blocks.; use UTM Builder specifically for utm.

Limitations and privacy

  • Absolute URL plus three fixed UTM fields only.
  • No term/content, taxonomy, consent, privacy, redirect, reachability, shortening, analytics-hit, attribution, or deployment validation.

The pasted text or URL is processed locally in this browser and is not fetched or submitted by the tool.

Frequently asked questions

Are utm_term and utm_content added?

No.

Are existing UTM values replaced?

The three supported names are set to the entered values.

Are other parameters removed?

No.

Does generation send an analytics event?

No.

References