Boneyard Tools

UTM Link Builder

Add UTM parameters to any URL so your analytics can attribute traffic to the right source, medium, and campaign. Values are URL-encoded and existing query strings are respected.

How to build a UTM link

  1. Paste your destination URL.
  2. Fill in source, medium, and campaign, plus optional term and content.
  3. Copy the generated tracking link and use it in your campaign.

Examples

Tag a newsletter link

https://example.com/landing + newsletter / email / spring sale
https://example.com/landing?utm_source=newsletter&utm_medium=email&utm_campaign=spring%20sale

Frequently asked questions

Which UTM parameters are required?

utm_source, utm_medium, and utm_campaign are required. utm_term and utm_content are optional and are skipped when left blank.

Does it handle a URL that already has query parameters?

Yes. If your URL already contains a question mark, the UTM parameters are appended with an ampersand so the existing query stays intact.

Are values encoded correctly?

Yes. Spaces and special characters are URL-encoded, so a campaign like spring sale becomes spring%20sale.

What happens to a URL fragment?

A trailing fragment like #section is preserved and kept at the end, after the UTM parameters.

Is my data private?

Yes. The link is built entirely in your browser and nothing is uploaded.

Related tools