UTM Parser
Try UTM Parser
Loading calculator. If this message stays visible, enable JavaScript and reload.
Your result
The UTM parser reads campaign tags already embedded in a complete HTTP or HTTPS address. Paste the campaign link and run the tool. It shows the values for source, medium, campaign, term and content. It also decodes ordinary query-string encodings, so a label written as Campus+News in the link appears as Campus News in its field.
Use the parsed fields to compare a link with a campaign plan or inspect what arrived in an email preview. The parser reads the string you provide. It does not visit the destination, follow any redirect or report campaign performance. Keep the original link when repeated parameters or spelling differences are part of the question.
Checking campaign tags in a link you already have
Which fields does the UTM parser display?
The UTM parser shows five values under the result heading Campaign tags. It looks for the exact lowercased parameter keys utm_source, utm_medium, utm_campaign, utm_term and utm_content in the query. It displays the first parsed value for each supported key. A missing or empty value appears as Not set.
A source commonly names the place or publisher that sent the visit. A medium describes the acquisition channel. A campaign groups related distributions. A term can identify a paid keyword and content can distinguish versions of a creative or link placement. Google Analytics documents examples such as email for medium and different calls to action for content. Apply your project's documented meanings when reading results for your own links. See Google Analytics guidance on campaign parameters.
Other analytics tags can be present in a URL without appearing in these five rows. You may also see search filters, page view settings or partner-specific parameters mixed into the query. The tool's absence of a dedicated row does not imply that a parameter was absent from the original address. Compare the whole source URL when investigating a field beyond the supported five.
How can I inspect a campaign link before sharing it?
- Copy the underlying URL of the link from the final editor or preview. The display label may only say “Register” while the full address holds the campaign terms.
- Paste the complete address into Campaign URL and select Calculate / Run.
- Compare all five named fields with your campaign record. Check case, spaces and any tag that should be blank or missing.
- Keep the original URL with the test notes. If a sender or redirect service rewrites the link, check the expected final navigation as a separate test.
For an approval workflow, record where you captured the link. An address copied from the link builder shows what was prepared. An address copied from a test email can show what the sender actually delivered. A browser's address bar after opening a link can show the destination after a redirect. These can all refer to the same campaign while holding different visible strings.
Compare campaign links from several placements one by one. Use a row for each placement and columns for the five fields. Read the values in those columns as text. Colour, placement or button copy can be reflected in a content label only if the campaign record intentionally names it that way. The parser extracts what was written and leaves the decision about accuracy to the person approving the campaign.
For a test email, give each tested placement a familiar description. Record “header link,” “first story” or “footer button” before copying its address. These descriptions come from the email reader's experience. Compare them with the Content values approved for the campaign. A header link and footer button can point to the same event and share source, medium and campaign while using different content labels. If the tags are swapped between buttons, the platform can still accept both strings. Only a comparison to the published placement can show the mismatch.
What does a worked campaign link show?
Paste the following address. It uses a plus-encoded space in source, a percent-encoded space in campaign, and a literal plus sign encoded in content.
https://example.com/event?utm_source=Campus+News&utm_medium=email&utm_campaign=June%20Launch&utm_content=button%2Bone#agenda | Output field | Parsed value | Notes |
|---|---|---|
| Source | Campus News | The plus is decoded as a space. |
| Medium | The original string contains no special encoding. | |
| Campaign | June Launch | %20 also represents a space. |
| Term | Not set | The query has no term value. |
| Content | button+one | %2B represents a literal plus sign. |
The #agenda fragment follows the query and is outside the tagged fields. A site could use that fragment to open a specific section. The parser reads campaign parameters from the query only. If you need to confirm that the fragment exists or points to the intended section of a page, check the destination in a controlled preview.
Keep the original encodings in your evidence when comparing a built link with a copied result. Two different encodings can resolve to the same field value. For a routine campaign label review, compare the parsed values. For a link-format test that cares about exact characters, compare the original strings as well.
How does it handle repeated or missing keys?
The implementation uses URLSearchParams.get, which returns the first value for a matching name. For example, paste https://example.com/?utm_source=first&utm_source=second&utm_medium=&utm_campaign=reading_week. Source shows first, Medium shows Not set, and Campaign shows reading_week. An earlier empty value can lead to the same missing display even when a later duplicate has content.
The output does not flag duplicates or tell you whether each Not set row corresponds to a missing key or a blank value. For that extra detail, use the URL parser to inspect the whole query. Look for the exact supported names separated by ampersands. Preserve the order when recording a duplicate because another system may select a different value or reject the URL.
A label consisting only of an encoded space is a separate case from an empty value. The accessor can return a space character, so the row may look blank without the Not set label. Check the raw query before deciding what happened. To avoid such cases, use the approved nonempty labels in the link you send.
Keep provenance for a duplicate before rebuilding the link. It may have been introduced by a team member copying an already tagged address or by a campaign platform appending its own values. Capture the output before and after each handoff so you can find the first copy with the repeated key. In the test note, include both source values and their order as shown in the query. Reporting only the first one will leave the next reviewer without the evidence needed to confirm the duplication.
Why might a tag in the address fail to appear in the result?
Check the exact name and position. The lookup is case sensitive. A parameter spelled UTM_Source is a different key from utm_source. A campaign-like string inside a fragment such as #utm_term=summer also falls outside the query. An address with only those two examples would show the five supported fields as Not set.
Check whether the characters arrived from HTML source. The underlying link usually contains ordinary ampersands between parameter pairs. Markup may represent them with &. When copied verbatim into the URL field, that spelling can become a different parameter name after the ampersand split. Use the rendered link address where possible. The HTML decoder can help confirm what an HTML reference means in a separate short example.
Look at wrappers and link redirects. An outer URL can include the complete destination as an encoded parameter. In that case the tags may belong to the nested address instead of the outer query. Read the approved destination from the campaign record or use the appropriate tools for inspecting one encoded value. The URL decoder can help with a known component. Decoding a full address indiscriminately can change its delimiter structure.
How can I use the parsed fields to review campaign consistency?
Compare the values with a controlled list agreed before the campaign. Group all placements under the intended campaign name and use source or medium to distinguish their distribution. Check whether similar-looking labels use different spaces, case or punctuation. A parser can extract the strings, while the campaign record tells you which spelling you approved.
Keep a brief note of legitimate variants. An email link and partner link can reasonably have different source and medium values while belonging to the same campaign. Two links in one email can share source and medium while using content labels to identify placement. This is easier to verify from columns in a campaign sheet than from several long URLs pasted into the body of a message.
Use the UTM builder to rebuild a link when the approved source, medium or campaign must change. Start with the correct destination and verify whether existing term or content values should remain. Parse the rebuilt address again and compare each item against the plan before replacing any published link.
Will a successful parse confirm that tracking works?
Parsing shows what's encoded in the provided address and which of the supported labels the parser can read. It cannot determine whether the receiving site keeps those values through redirects, starts measurement or classifies the visit as expected. A successful preview also cannot certify what happens after people open the link in every browser or through every messaging service.
If a report is missing an expected campaign, trace the link from its original draft through publication to the intended destination. Check whether a sender rewrote it, confirm the query on the final arrival where appropriate, and consult the receiving analytics project's settings and reporting scope. Record the date and test environment so a later reviewer can distinguish a link defect from ordinary differences in when a report receives data.
Use an approved test campaign where possible. The URL parser can support a structure check, while analytics verification should happen through the organisation's documented process. Avoid putting personal information in query values or in screenshots of test links. Share an example address that preserves the shape of the issue when another reviewer does not need the real labels.
Separate the stages when writing up a discrepancy. “The delivered link contains a medium value” is a link observation. “The visit appeared in the expected report” is an analytics observation. “The visit reached the correct product page” is a destination observation. Keep all three where the test concerns campaign performance. A problem with any one stage can require a different repair and a different reviewer. The parsed tag list provides evidence about the link stage and can serve as the starting point for a more complete test.
How do I preserve the destination when only the tags need attention?
Start with the source address and list which details must remain intact. The route, unrelated query settings and fragment can all affect the intended link experience. Record which values belong to the campaign and which belong to the destination. Answer that question using the product or campaign documentation when an unfamiliar parameter serves both roles.
For route adjustments, prepare a candidate slug with the SEO slug generator if you are planning a new address. Check the published route before creating campaign links. A change to a slug affects where visitors go. A change to a tag usually changes the reporting label for that visit. Confirm both decisions separately when a page is relaunched.
The WHATWG URL Standard defines how the query-parameter interface returns the first matching value and decodes its representation. Keep that distinction in mind when reviewing a URL format, an analytics result or a redirect. Each check answers a different part of the campaign verification.
If a scheduled post contains an outdated route, record the new destination as a separate change. The old snapshot may be needed to understand visits already recorded under a previous campaign. Check both the new route and its labels after editing the post. It is possible to fix a route and introduce an unrelated label change when switching links between documents. An approved link history makes those changes clear without asking the next person to infer intent from the stored URL alone.
UTM parser FAQs
Will a tag after a hash be parsed?
The parser reads the query. A tag-like string placed after the fragment delimiter belongs to the fragment and will not appear as a campaign tag.
Can I extract custom tracking fields?
The tool reports source, medium, campaign, term and content. Inspect the full query to review other UTM keys or settings from the site or sharing platform.
Which source do I see if there are two?
The first value for the exact utm_source key is read. If you suspect a duplicate, keep the original URL and inspect its full query before fixing the address.
Does this normalize case in the values?
The parser shows the decoded label with its case intact. Apply your own campaign naming rules when comparing the values with an approved list.
What if the address starts with a path only?
Supply a complete HTTP or HTTPS URL with the intended host. The relative path alone cannot be parsed by a form that has no base URL field.
Does the parser resolve a redirect?
It reads the address supplied to the form. If a link actually redirects, inspect the intended resolved address through a separate approved test and parse that address when needed.