About this utm link generator
UTM parameters identify the source of a visit when an analytics system reads a campaign link. This generator adds utm_source, utm_medium and utm_campaign to an HTTP or HTTPS website address. Source typically names the referring publisher or platform, medium describes the channel, and campaign groups links belonging to the same promotion or initiative.
Term and content are optional. Term often records a keyword, while content can distinguish two creative variations pointing to the same landing page. Existing query parameters are preserved, and a fragment such as a section anchor stays at the end. Existing values for the five standard UTM keys are replaced; leaving an optional field blank removes that key instead of retaining an old value.
Use consistent names and capitalization across your campaign links so reports remain easy to compare. Spaces and special characters are encoded automatically. The generator does not install analytics, verify your destination or guarantee attribution: your site's measurement setup must read the parameters. Avoid adding UTM links to internal navigation, where they may confuse acquisition reporting. Do not put personal or confidential information into publicly shared tracking parameters.
Which controls should I check first?
The UTM Link Generator form labels its controls as Website URL; Campaign source; Campaign medium; Campaign name; Campaign term (optional); Campaign content (optional); Result. Use those labels to keep the source and settings separate. A sample argument that selects a mode is not additional source text. Choose the setting matching your intended operation before copying a result, and change it explicitly when comparing another mode. The labels describe what this form accepts; the worked examples below demonstrate only the stated supplied values.
Worked helper values
These values come from the reproducible calculation examples supplied with this tool. Each row identifies the complete supplied arguments and the returned value. A visible ↵ denotes a line break and ⇥ denotes a tab in text examples. Settings appear alongside source data so that a different mode is not mistaken for an identical input. These are helper calculations, not observations of a live device, fetched target, image decoder, browser preview or downloaded file. Use the stated method above to relate the returned fields to the actual operation.
| Supplied values | Calculated return value |
|---|---|
| example.com/path?x=1&utm_term=old#part; news; email; spring sale; ; A&B | https://example.com/path?x=1&utm_source=news&utm_medium=email&utm_campaign=spring+sale&utm_content=A%26B#part |
What does generating a link actually do?
A link generator assembles a destination address and encodes the values supplied in its fields. It does not send a message, create a transaction, register an account or verify the recipient. Read the resulting destination and parameters before placing the link in a document. Keep a distinction between creating the link as text and opening it in an application. Opening can initiate a separate network workflow whose behavior belongs to the destination service. Use sample recipient values for demonstrations, and check a real destination deliberately before distributing a link that other people will use.
Why do separators need encoding?
A question mark introduces query data, an ampersand separates parameters and an equals sign separates a name from its value. Those characters can also occur inside a subject, message or campaign label. The generator encodes value characters so that they stay data rather than becoming structural delimiters. Spaces and line breaks likewise need the destination's representation. Inspect an example containing an ampersand rather than testing only plain letters, since simple text can conceal a boundary mistake. Avoid encoding the completed address again unless the outer context specifically requires another encoding layer.
Which fields identify the destination?
A recipient, username, telephone number or page address identifies where the link points. A message, amount or campaign label supplies additional data but cannot repair an incorrect destination. Check the destination first, then inspect the optional fields. A generated link can be syntactically well formed even when an account does not exist or the recipient is not who you intended. Preserve required country codes, currency codes and absolute URL conventions where the page asks for them. Do not infer missing information from the formatting of a local number or the appearance of an account label.
How should I handle existing query parameters?
A source URL may already contain application parameters and a fragment pointing to a section. Adding tracking values should not silently discard those unrelated components. Read the page's replacement rule for parameters that already have the same name. A blank optional field can mean omission or removal depending on that rule. After generating a link, compare the original path, existing nontracking parameters and final fragment with the result. Query parameter order can change without changing their meaning, so compare names and decoded values rather than relying only on identical source spelling.
How do I verify a link without overstating the result?
Inspect its scheme, host, recipient spelling, path and encoded values as text. A parsing or generation example demonstrates those properties only. To check application behavior, open a controlled sample in the intended environment and verify the populated fields there as a separate action. Browsers and installed clients can handle the same scheme differently. A mail link may open a chooser instead of a particular client, and an account link may require a login. A successful generator result does not prove that a message was delivered, a payment completed or a campaign recorded.
Are existing query parameters preserved?
Yes. Non-UTM parameters and the URL fragment remain; the five standard UTM keys are updated.
Which fields are required?
A website address, source, medium and campaign. Term and content are optional.
Does a UTM link install tracking?
No. Your destination site must already have an analytics system configured to read the parameters.