UTM Builder
Try UTM Builder
Loading calculator. If this message stays visible, enable JavaScript and reload.
Your result
The UTM builder adds source, medium and campaign tags to a complete HTTP or HTTPS address. Enter the destination and your three campaign labels, then run the form to get a tagged URL. UTM parameters are name-value pairs in the query string. A configured analytics product can read them when the link is used.
Use a separate tagged link for each placement you want to compare. Keep the campaign name consistent across the placements that belong together. Review the destination and tags before sending the link in an email, posting it or handing it to a partner. The result is an ordinary URL you can inspect and copy.
Adding campaign labels to a destination URL
What does the UTM builder add to a URL?
The UTM builder sets utm_source, utm_medium and utm_campaign. It reads the destination with the browser's URL parser and modifies the query. If any of those names already occur, the builder replaces the existing value with the one you enter. Existing URL components such as the path and fragment remain part of the result.
A source tells you where the link was distributed. A medium describes the channel or method. A campaign label groups links that belong to the same effort. An organisation could use book_club as the source of a newsletter, email as the medium and reading_week as the campaign. The same campaign can have a distinct source and medium for a web partner or a social post.
The tool builds a tagged address. Attribution requires the destination's analytics setup and real visits that can be measured. Tracking behavior can depend on redirects, browser settings, blockers and the receiving site's configuration. Before using a launch report, confirm that your own measurement process reads the parameters and groups them as intended.
How do I create and review my first campaign link?
- Copy the approved destination into Destination URL. Include
https://orhttp://, the full path and any existing query or fragment needed for the page. - Fill utm_source, utm_medium and utm_campaign with the agreed labels. Enter ordinary text in these fields and let the builder serialize it.
- Select Calculate / Run and review the resulting address. Check the host and path first, then check each campaign field.
- Copy the output into your unpublished campaign or tracking sheet. Inspect the link in a test message or preview, including any changes the sending platform makes.
Each of the three tag fields is required by this implementation. Leading and trailing whitespace is trimmed, and a value that becomes empty gives a field-specific error. Check the agreed value when a tag is missing rather than filling it with a temporary guess. A guessed label can be hard to reconcile in a report after several placements go live.
For links shared by multiple people, keep the destination and tag values visible in the same approval record. A long URL is easy to mix up in a spreadsheet. Separate columns make it easier to catch a campaign name that belongs to a different project before anyone copies the finished link.
For example, a library promoting a reading week may plan three placements. Its newsletter can use source book_club and medium email. A partner's announcement can use the partner's short name and whatever medium the team's plan uses for referrals. A social post can use its own source and medium. Keep reading_week in the campaign field across all three. That gives the reviewer one intended grouping with distinct placement labels. The builder produces each link in a separate run. Record the destination when all three placements should point to the same event page, then verify it every time.
What happens when the destination already has query parameters?
Consider an event page that starts with a view parameter, two older source values and a fragment for the schedule. Enter this address as the destination.
https://example.com/events?view=calendar&utm_source=old&utm_source=retired#schedule Set source to book_club, medium to email and campaign to reading_week. The checked result is:
https://example.com/events?view=calendar&utm_source=book_club&utm_medium=email&utm_campaign=reading_week#schedule | Part of the original link | Result | Why it matters |
|---|---|---|
view=calendar | Still in the query | A non-UTM setting can affect the intended page view. |
Two utm_source entries | One source set to book_club | Setting the supported field removes duplicate occurrences of the same exact key. |
| No original medium or campaign | The new values appear | The builder adds the remaining supported labels. |
#schedule | Still at the end | The fragment stays separate from the query. |
Review any old campaign tags before passing the address around. The builder changes the three supported keys. An existing term or content label can remain even if it belonged to the previous placement. Copy the appropriate base destination from the site instead of assuming that a previously tagged link is the right starting point.
Other query values generally remain but may be reserialized. For example, a space encoded as %20 can appear as + after the query is updated. Do not modify a signed or intentionally fixed-format URL without checking the receiving application's requirements. Changing the query text can affect how such an address is verified.
How should I name source, medium and campaign?
Begin with the question your team needs a report to answer. If the question is which newsletter or partner generated visits, use sources that distinguish those distributions. Use a medium value that groups comparable placements across teams. Keep a stable campaign label for all placements under the same launch or publication. Document the intended meaning of each field before copying the link.
Case, spaces and separators matter because different strings can appear as separate values in reports. The builder trims whitespace at the edges and keeps the spelling and case inside the field. If your team wants lowercase values and underscores, apply that convention when you enter each label. Discuss abbreviations and dates in the same convention. A vague term such as “June” can identify different campaigns depending on where it is seen later.
Use values someone can read months later. A source name that matches the publisher or newsletter often stays clearer than a shorthand understood by a single colleague. A campaign might need an edition or release label if it recurs. Establish that choice in a short campaign register so you can reuse existing spellings consistently. Google's documentation on collecting campaign data with custom URLs describes the role of the different tags.
Make an explicit decision about repeated runs. A weekly email can share one campaign label for every issue if the report is meant to measure the series. If the team needs comparable reporting by issue, choose a documented label pattern for the issue or an approved additional tag where the analytics setup supports it. Consider how someone will distinguish a recurring edition from a genuinely new campaign. Record the choice before publishing, while the labels can still be changed as a group.
How does the builder represent spaces and punctuation?
The tool uses the platform's query-parameter API. For example, the source value Campus News becomes Campus+News in the URL. A campaign value of spring & summer appears as spring+%26+summer. That encoding keeps the ampersand in the value instead of treating it as the start of another parameter.
Enter the raw value rather than entering your own percent escapes in the label field. If a literal plus sign belongs inside a label, the query serializer represents it as %2B. An editor that later reads named parameters can recover the literal sign. The WHATWG URLSearchParams definition describes the API and its query serialization rules.
When the response looks different from the labels you typed, read it with the UTM parser. Compare the parsed values to the campaign register. Keep the finished URL intact when you post it. Editing an encoded delimiter directly can change the meaning of the query or remove part of a value.
Inspect complete values when testing international characters. The query serializer represents a character such as ☕ with percent-encoded bytes. A correctly decoded view can show the original symbol. If the receiving report or naming convention expects ASCII labels, choose an agreed wording before building the link. Changing the percent escapes by hand could create different text. Test how the label appears in the system where the campaign will be reviewed, especially when links are being generated for multiple regions.
What should I check before handing off a campaign URL?
Compare the generated address with the approved destination. Check the scheme, hostname and path. Then confirm the query values and that any fragment still follows the query. The URL parser displays those components separately. It is useful when you inherit an address with a number of unrelated parameters and need to find which ones are genuinely part of campaign attribution.
Open a test copy of your campaign using the same editor and sharing channel that recipients will use. Some email or advertising systems wrap the destination in another address, while others rewrite links in their preview. Test whether the final navigation reaches the intended page and whether the required tags survive any redirect before measuring a real campaign.
Record the expected labels with the approved placement. A sender needs to know whether a link belongs in a headline, a button or a partner's post. An analytics reviewer needs to know which source and medium were allocated to that placement. A copy-and-paste check against the campaign register can catch two URLs that were accidentally swapped.
When publishing several links, review a draft with the placements in their final order. Copy each address after the content has been previewed and compare its path and labels with the same row of the register. A selective sample is efficient for testing the convention, but a last-minute copy error can affect just one placement. Keep the base link and finished tagged link in separate cells so someone fixing the campaign can return to the approved destination without carrying old tags forward.
When should I use a different kind of URL tool?
Use the builder when you are adding its three supported campaign tags to a known destination. A campaign may also require utm_term or utm_content, which this form does not add. Use your approved campaign workflow for extra tags, then verify the final query. The result should preserve the approved URL and follow the reporting convention of the receiving project.
If the actual page does not yet have a route, choose its candidate path first with the SEO slug generator if appropriate. Verify the published URL before tagging it. If the task is examining how a component was represented, the URL encoder and URL decoder serve component-level tasks. The builder already encodes the label values it accepts.
For a link that must be shortened, follow the organisation's approved service and test the final destination. The builder returns the full tagged address. Keep that original address available so the tags can still be audited even when a reader sees only the short label or a redirect URL.
What data belongs in a campaign tag?
Use a label for the campaign or its placement. Campaign parameters are part of the visible address and can be copied, shared or stored in logs. Avoid email addresses, account IDs or private notes in a tag. A source such as book_club is useful for a campaign report without identifying a person receiving the message.
Keep tags and operational records separate. If the team needs to connect a send to a particular approved activity, record that relationship in its campaign system. The public address only needs the labels the destination analytics process expects. Check spelling and data exposure before a link leaves the draft environment.
For internal navigation, choose the measurement method your analytics documentation recommends. Campaign labels describe an acquisition source and can introduce new attribution data when used on navigational links inside the same site. Ask the person who controls the site's reporting how internal placements should be recorded and test the intended behavior before distributing a batch of links.
UTM builder FAQs
Which fields must I enter?
Enter a complete HTTP or HTTPS destination and values for source, medium and campaign. Each tag value must remain nonempty after the form trims whitespace.
Can I keep an existing fragment?
Yes. The fragment remains after the query in the result. Test the destination preview if the fragment is supposed to scroll to a particular section or select a view.
Will running the form record a visit?
Generating the address does not visit it. Measurement depends on the destination and the analytics setup when someone uses the link.
What if I start with an older tagged link?
The builder sets the three supported keys using the new labels you entered. Review other parameters that remain in the address, including any term or content labels carried over from the older link.
Should I type a plus sign where I want a space?
Type the ordinary space if that is what the label means. The builder encodes it for the query. A literal plus sign has a separate encoding and decodes back to a plus.
Can I see campaign performance in the tool?
The result is the tagged URL. Use the receiving analytics product for visits or conversions after confirming that the link and destination can be measured as intended.