A UTM link generator creates a campaign URL by adding up to five traditional UTM parameters to a complete HTTP or HTTPS destination URL.
A useful campaign link does more than append a few tags. It identifies where traffic came from, preserves destination details that may affect the page or application, and gives your reporting team labels it can group consistently. The UTM Link Builder handles that construction in your browser without sending the destination URL or campaign labels to a server.
The result is ready to copy into an ad, newsletter, social post, partner placement, QR code, or another campaign destination. It is a URL constructor, however, not a test of your analytics installation or a guarantee that traffic will appear in a particular report.

What goes into a campaign URL
The builder manages only the five traditional UTM keys: utm_source, utm_medium, utm_campaign, utm_term, and utm_content. It does not add other GA4 campaign parameters.
| Parameter | Required? | What to enter | Example |
|---|---|---|---|
| utm_source | Yes | A source label for where the traffic originates | |
| utm_medium | Yes | A channel label for the marketing method | cpc |
| utm_campaign | Yes | The name of the campaign or initiative | spring-launch |
| utm_term | No | An optional term used in your reporting convention | running shoes |
| utm_content | No | An optional content or creative distinction | sidebar-banner |
Source, medium, and campaign name are required so the generated link does not omit the core manual-campaign fields. Term and content are optional. When either optional field is blank, the builder leaves that parameter out instead of adding an empty value, which keeps the finished link easier to inspect and reduces accidental variations in reporting labels.
For example, these three campaign values produce a destination beginning like this:
https://example.com/pricing?utm_source=google&utm_medium=cpc&utm_campaign=spring-launch
The example labels are illustrative rather than a prescribed naming policy. The builder trims accidental outer spaces from campaign values, but it does not invent a taxonomy, rewrite your wording, or change capitalization.
Build a UTM campaign URL
Use the browser-based builder when you have a final landing-page URL and a defined set of campaign labels. The process keeps URL construction separate from analytics validation.
- Paste the complete destination URL. Include the full http or https address, including its path, any existing query parameters, and a fragment if the destination has one. Start with the page visitors should reach, not a shortened or redirect URL you have not checked.
- Enter the source, medium, and campaign name. Populate utm_source, utm_medium, and utm_campaign with labels your reporting team recognizes. These three fields are required.
- Add term or content only when needed. Use utm_term for an optional term and utm_content for an optional content distinction when those dimensions are useful to you. Leave either field empty if it is not part of your reporting convention.
- Build the URL and inspect it. The finished URL appears immediately. Check the destination path, the new campaign values, any unrelated query parameters, and the fragment before copying it. Old copies of the five managed UTM keys are replaced rather than duplicated.
- Copy the result for its campaign placement. Put the complete tagged URL into the ad, email, social post, partner placement, QR code, or other destination. For an important campaign, test the copied link in your own browser and reporting setup before publishing it.
The output uses ordinary URL query encoding. A space in a campaign term is represented in a valid encoded form rather than being inserted as an unescaped space. Review the displayed result rather than trying to reconstruct the encoding by hand.
Preserve the rest of the destination
Campaign URLs often begin with parameters that already have a purpose. A landing page might contain ref=homepage, gclid, a language setting, or another application-specific value. The builder preserves unrelated query parameters instead of replacing the entire query string.
| URL component | What the builder does |
|---|---|
| Destination path | Retains the page or application path supplied in the original URL |
| Unrelated query parameters | Keeps values such as ref, gclid, language settings, and other application-specific parameters |
| Fragment | Retains a fragment included in the destination URL |
| Five managed UTM keys | Removes old copies and inserts the values entered in the form |
| Blank optional UTM field | Omits the corresponding term or content parameter |
| Query encoding | Normalizes the URL using ordinary browser query encoding |
For example, a destination such as https://example.com/pricing?ref=homepage&language=en#plans retains its path, unrelated parameters, and fragment. If it already contains old campaign tags, those five managed keys are replaced. This avoids duplicate values such as two utm_source parameters and lets you refresh a campaign link without rebuilding the destination by hand.
Preservation does not mean that every character remains byte-for-byte identical. Query encoding is normalized, so the displayed URL may use a different but equivalent encoding representation. Existing signing systems can be affected by that normalization.
Choose labels your team can report on
A campaign URL is most useful when related links use consistent meanings. Treat the source as the origin label, the medium as the marketing channel, and the campaign as the shared initiative name. A team might use google as a source, cpc as a medium, and spring-launch as a campaign name. Another team may follow a different documented policy.
Use the same values for links that belong to the same campaign dimension. Avoid spelling changes, unnecessary capitalization, and interchangeable labels that fragment a report. Add term or content only when your team has a clear reason to distinguish those values. The builder supplies the fields but cannot determine which taxonomy will be most useful for your business.
Keep personal information out of every UTM field. Names, email addresses, phone numbers, account numbers, and similar details can appear in browser history, referral logs, analytics systems, or shared links. A campaign value should describe the marketing placement, not identify a person.
Check the supported inputs before publishing
The builder has a deliberately narrow scope. Use these limits before adding a URL to a live campaign:
- Use a complete web URL. Relative paths, email links, file-transfer links, and other non-web protocols are rejected. A destination such as https://example.com/pricing is suitable.
- Do not embed credentials. Destinations containing username or password credentials are not accepted.
- Avoid signed and pre-signed URLs. Browser URL normalization can alter query encoding and invalidate a signature. Start with an ordinary destination URL instead.
- Do not treat construction as tracking validation. The tool does not check whether a Google Analytics property exists, auto-tagging is active, a redirect preserves parameters, the destination loads, consent is configured correctly, or future traffic will be attributed to a specific report.
- Test important links. Open the final copied URL in a browser and confirm the relevant behavior in your own reporting configuration before it goes live.
These restrictions do not prevent normal campaign-link construction. They ensure the URL you build is suitable for ordinary web destinations and prevent the result from being mistaken for a verified tracking implementation.
Use and maintain the finished link
The generated URL can be copied directly into an advertisement, newsletter, social post, partner placement, QR code, or other campaign destination. Retain a simple campaign record outside the link so your team can recall which source, medium, campaign name, term, and content were used.
When a campaign changes, paste the existing tagged link into the destination field and enter the replacement values. The builder removes the old copies of the five managed UTM keys and adds the new values while leaving unrelated parameters in place. This makes it possible to refresh a known link without manually editing a long query string.
If a short public-facing URL is required, use a trusted redirect or short-link service only after confirming that it preserves the complete query string. The builder constructs the campaign URL but does not test how a redirect or shortening service will handle it.
Used with those boundaries in mind, a UTM link generator removes the error-prone work of assembling campaign parameters while leaving the final validation and publishing decisions in your hands.
If you're weighing options, Bulk URL Generator Errors: What to Check First covers this in detail.