Build a campaign link with clear labels
A UTM campaign URL attaches source, medium and campaign labels to an inbound link. This tool constructs the URL and an optional QR PNG locally in your browser. It does not install analytics, visit the destination or prove that a visit or conversion was recorded.
Use it for links in email, social posts, ads and partner campaigns. For internal navigation or button interactions, use your analytics event plan rather than tagging every link. The Marketing tools category includes related campaign utilities.
How to use the UTM Builder
For a direct chat destination, the WhatsApp Link Generator prepares a number, optional message and matching QR. Keep UTM attribution on your own landing-page URLs; a direct chat link does not verify sent messages or qualified leads.
- Enter an absolute
https://orhttp://destination. Include required query parameters and a fragment such as#register. - If the destination already has campaign tags, select Import tags from destination to fill the five fields from those tags. Otherwise enter your labels directly.
- Fill source, medium and campaign. Term and content are optional. Review the generated values because the tool trims labels, lowercases them and changes whitespace to hyphens.
- Correct errors, then Copy, Save campaign or Download QR when available. Test the final published link and your analytics separately.
Source, medium and campaign are required by this builder before any output action. This is a tool validation rule. Google Analytics recommends all relevant campaign parameters, including fields beyond these five; the builder does not implement every parameter Google supports.
Worked newsletter example
For a fictional webinar email, enter:
| Field | Value | Purpose |
|---|---|---|
| Destination | https://example.com/webinar?lang=en#register |
Landing page with language and section |
| Source | newsletter |
Sending list or publication |
| Medium | email |
Marketing channel |
| Campaign | october-webinar-2026 |
Shared promotion |
| Term | Leave empty | No paid keyword needed |
| Content | hero-button |
Link placement |
The generated URL is:
https://example.com/webinar?lang=en&utm_source=newsletter&utm_medium=email&utm_campaign=october-webinar-2026&utm_content=hero-button#register
The lang value and registration fragment remain. Saving and restoring this campaign retains both. The example assumes a registration section exists; the tool does not check it. For a footer link in the same email, retain source, medium and campaign and change content to footer-link.
Existing tags, duplicates and Import
The editor controls utm_source, utm_medium, utm_campaign, utm_term and utm_content. It removes all occurrences of those five names from the destination, ignoring name casing, and appends the nonempty normalized field values. This avoids competing UTM_SOURCE and utm_source tags. Clearing term or content removes an old tag; clearing a required field disables output actions until it is filled again.
Import takes the first occurrence of each supported name, ignoring name casing, and fills the editor. It removes those five tags from the destination field while retaining the path, other query values, repeated parameters and fragment. Import can load a partially tagged link; fill missing required fields before copying.
Other parameters remain, including utm_id, utm_source_platform and click IDs such as gclid. Review them when changing campaigns: retaining an old campaign ID or click ID may conflict with your new labels. The tool does not reconcile these values or manage advertising accounts.
Query values and their order outside the managed fields are preserved, but URL serialization can change encoding, for example %20 to +. The browser can also normalize the host or path. This is not byte-for-byte preservation; do not use signed URLs unless their signing system permits these changes.
Naming rules and channel presets
The tool normalizes labels: October Webinar_2026 becomes october-webinar_2026. Underscores stay unchanged. Google Analytics values are case-sensitive; normalization here is a consistent naming convention, not a platform requirement. Enter ordinary text rather than percent-encoded text. A literal %20 in a label is treated as text and encoded again.
| Preset | Source / medium |
|---|---|
| Twitter / X | twitter / social |
linkedin / social |
|
| Newsletter | newsletter / email |
| Google Ads | google / cpc |
| Facebook Ads | facebook / cpc |
| Affiliate | partner / affiliate |
Presets keep the destination and replace source and medium while clearing campaign, term and content. Complete a new campaign name and review the channel values against your team's reporting dictionary. Naming ideas use the device's current year and month; they do not retrieve account campaigns.
Save, restore and reset
The draft and up to 12 saved campaigns persist automatically in this browser's local storage. Saving a campaign with the same normalized name replaces its older entry; otherwise the newest entries remain up to the limit. These records do not sync between devices or form a shared campaign register.
Restoring a valid entry fills the editor from its complete stored URL. Other query values and the fragment remain, including in valid older entries. Review the result before sharing. Invalid stored records are omitted with a warning.
Reset empties the draft while saved campaigns remain. Delete saved entries individually. If storage is blocked, full or unavailable, a warning explains that changes or deletions may not survive a refresh. You can continue editing and copying in the current tab.
URL validation and QR limits
| Input or output | Tool limit or rule |
|---|---|
| Destination | Absolute HTTP/HTTPS; up to 8,192 characters |
| Each label | Up to 512 characters before and after normalization |
| Generated URL | Up to 16,384 characters after encoding |
| Required fields | Source, medium and campaign |
| URL restrictions | No credentials, control characters, backslashes, raw embedded spaces or incomplete percent escapes |
| QR output | 512 × 512 PNG with a four-module margin and M error correction, when encoding succeeds |
Character counts use JavaScript string length, so some Unicode characters count as two. A warning above 2,048 output characters is a compatibility caution, not a universal browser limit. HTTP destinations are accepted with a reminder to prefer HTTPS when supported. None of these checks tests availability or redirects.
QR encoding has its own capacity limit. A valid long link can remain copyable while QR generation fails. When the destination changes, the previous QR is hidden and its download disabled. On failure, shorten the URL or select Retry QR; no stale code is offered as the new result. Test a downloaded PNG on a real device and at the intended printed size. The separate QR Code Generator supports other QR tasks.
Verify campaign reporting
With working GA4 collection, inspect session source/medium and campaign in Acquisition → Traffic acquisition. Collection, consent settings, redirects and platform behavior affect what is recorded. Campaign labels do not measure every impression, offline influence or cross-device journey, and they do not establish incremental sales.
For integrated ad accounts, review auto-tagging before relying on manual UTMs. With both approaches, Analytics generally uses auto-tagged traffic-classification values while manual term and content populate their manual dimensions. Google documents a fallback to UTM values when a click ID cannot be used. The presets configure none of these integrations.
For a broader naming and reporting process, read Why UTM Links Still Matter for Campaign Attribution. Use the ROI Calculator with verified spend and return figures; this builder does not collect those figures.
Privacy and common mistakes
URL construction and QR encoding run locally without requesting the destination. The draft and saved URLs are stored automatically on this device. Existing tool usage events record operations and preset identifiers, not your destination or label text, and the interactive area is masked for session recording.
Avoid names, email addresses, customer identifiers, passwords and secrets in URLs or labels. Shared URLs and QR codes expose their destination and tags; the destination and other services may log them. Copy the finished link before closing a tab with a storage warning.
Common mistakes include pasting a bare domain without a scheme, leaving a required label empty, importing an old campaign ID without reviewing it, pre-encoding label text, relying on presets to configure analytics, and publishing a QR without scanning it. Use Open Graph Checker to inspect social-preview metadata separately. For equivalent tagged landing-page variants, the Canonical URL Generator can draft a canonical tag; it does not install or verify it.
Sources
Technical and reporting references reviewed October 8, 2026: