A UTM builder for beginners adds three required campaign fields—source, medium, and campaign—to a complete HTTP or HTTPS destination URL. These campaign values become query parameters beginning with utm_, giving you a consistent way to identify the marketing context of a visit. The UTM Link Builder handles the URL construction so you do not have to edit a long query string by hand. Enter the destination, supply source, medium, and campaign name, and add term or content only when your reporting convention needs them. The finished link appears immediately and can be copied. It retains the destination path, fragment, and unrelated query parameters while replacing only older copies of the five traditional UTM keys it manages. Everything happens in your browser: the destination and campaign labels are not sent to a server. That makes the construction step private and explicit, but it does not prove that analytics tracking, redirects, consent behavior, or campaign attribution are configured correctly. Beginners should therefore treat the builder as the URL-making step, then test important links in their own browser and reporting setup before publishing.

Choose the five campaign fields
UTM parameters are query-string labels that describe the marketing context of a destination URL. This builder supports a deliberately small set, so begin by separating the three core campaign fields from the two optional ones. These are the exact keys added to the link:
| Field | Requirement | Purpose | Illustrative value |
|---|---|---|---|
| utm_source | Required | Identifies the origin or referrer | |
| utm_medium | Required | Identifies the marketing channel | cpc |
| utm_campaign | Required | Identifies the campaign initiative | spring-launch |
| utm_term | Optional | Identifies a relevant term when useful | running shoes |
| utm_content | Optional | Distinguishes a creative or content variation | hero-a |
The source, medium, and campaign name are required because they provide the core manual-campaign fields described in Google Analytics guidance. Term and content are optional. If either optional box is blank, its parameter is omitted rather than added with an empty value. This keeps the finished URL easier to inspect and reduces accidental variations in reporting labels. The builder does not add other GA4 campaign parameters.
Set labels your reporting team can reuse
Consistency matters more than finding one theoretically perfect label. For example, a team might use google as the source, cpc as the medium, and spring-launch as the campaign. Another team may follow a different documented policy. The builder trims accidental outer spaces from submitted labels, but it preserves the remaining wording and case rather than inventing a taxonomy or changing capitalization.
If you want a compact field reference while completing the form, keep the five-parameter UTM cheat sheet nearby.
- Choose a source label that clearly identifies where the traffic originates.
- Use a medium label that distinguishes the marketing channel, such as a broad channel or a specific paid tactic.
- Give related campaign placements the same campaign name when they belong to one reporting initiative.
- Add term or content only when those fields have a useful role in your reporting convention.
Build your first UTM campaign link
- Paste the complete destination URL. Open the UTM Link Builder and enter the final HTTP or HTTPS address you want people to reach. For example, you could begin with https://example.com/pricing?ref=homepage#plans. A relative path, email link, file-transfer link, or other non-web protocol is rejected. URLs containing embedded username or password credentials are also outside the accepted input format.
- Enter the campaign values. Fill in campaign source, medium, and name because all three are required. Add a term for a relevant search or targeting term, or content for a meaningful creative variation, only when needed. If either optional field is empty, the builder leaves its UTM key out rather than appending an empty value.
- Build and inspect the result. Run the builder’s build action, then review the complete URL before copying it. Check that the destination path, unrelated parameters, and fragment are still present. Confirm that older copies of the five managed UTM keys have been replaced with your current values. Once the result looks right, copy it for your campaign destination.
Using the sample page with google as the source, cpc as the medium, and spring-launch as the campaign produces this URL structure: https://example.com/pricing?ref=homepage&utm_source=google&utm_medium=cpc&utm_campaign=spring-launch#plans. The original ref parameter and #plans fragment remain alongside the three new UTM parameters.
See what the builder changes
The builder preserves the useful parts of an existing web URL, but it does not promise a character-for-character copy of the original string. Ordinary query encoding is normalized during URL processing.
| URL component | Builder behavior |
|---|---|
| Destination type | Accepts only absolute HTTP or HTTPS URLs without embedded credentials. |
| Destination path | Retains the path to the intended page. |
| Unrelated query parameters | Retains values such as ref, gclid, language settings, or application-specific parameters. |
| Fragment | Retains the portion beginning with the # symbol. |
| Managed UTM keys | Removes old copies of only the five supported keys and appends the current non-empty values. |
| Query encoding | Uses normal URL encoding, including a valid representation for spaces in a campaign term. |
| Campaign label text | Trims outer spaces while otherwise preserving the supplied wording and case. |
Do not use the builder with signed or pre-signed URLs. The browser URL API can normalize query encoding, and that normalization can invalidate a signature. Start with an ordinary web destination instead.
Check the link in your own setup
A constructed URL is not an analytics test. The builder produces the campaign link, but several important checks remain outside its scope:
- Open the copied URL in your browser and confirm that it reaches the intended destination and fragment. The tool does not check whether the page loads.
- Follow any redirect and inspect the resulting address. The builder cannot verify that a redirect preserves your UTM parameters.
- Use your own analytics and reporting procedure to evaluate an important campaign link. The tool does not inspect whether a Google Analytics property exists, whether auto-tagging is active, or how future traffic will be attributed.
- Review the final labels against your campaign record before publishing. A syntactically correct URL can still contain an inconsistent or misleading campaign name.
Keep a record beyond the link
The finished URL can be copied for an ad, newsletter, social post, partner placement, QR code, or another campaign destination. URL construction completes the builder’s task, but retaining a simple record helps your team understand which destination and labels belong to the campaign later.
- Record the destination, source, medium, campaign, and any term or content values used.
- When revising a campaign, paste the existing link into the builder, replace the relevant managed values, and rebuild it. Unrelated parameters will remain in place.
- Avoid names, email addresses, phone numbers, account numbers, or other personal information in UTM fields because query parameters can appear in browser history, referral logs, analytics systems, and shared links.
- For a short public-facing URL, use a trusted redirect or short-link service only after verifying that it preserves the query string.
Related reading: Ads TXT Generator on Windows: Build and Publish the File.