Text utilities

UTM Link Builder

Add source, medium and campaign tracking parameters to an HTTP or HTTPS link.

Text stays in your browserCopy your result
Data workspace
Data workspace

Check delimiters and structure before downloading the output.

See the method

Your source data

Runs on your device

Your transformed data

Your result

Let’s calculate.

Use the Calculate button to see your result.

Your content is processed locally.

How to use this tool

  1. Enter destination url, campaign source, campaign medium, campaign name.
  2. Select Update result to view the result.
  3. Check the method and assumptions below before using the result.

Input reference and sample values

Use the units and choices shown for each field. Sample values are provided for practice, not as recommendations.

InputFormat and unitsSample
Destination URLKeep the structure and separators shown in the sample. Line breaks are retained in this input.https://example.com/guide/
Campaign sourceKeep the structure and separators shown in the sample. Line breaks are retained in this input.newsletter
Campaign mediumKeep the structure and separators shown in the sample. Line breaks are retained in this input.email
Campaign nameKeep the structure and separators shown in the sample. Line breaks are retained in this input.autumn-guide

Result for these sample inputs

https://example.com/guide/?utm_source=newsletter&utm_medium=email&utm_campaign=autumn-guide

Select Try the example in the form to load these values and calculate them again. This replaces the current form inputs. Compare the result with the method and worked explanation below.

The method, explained

Parse the destination URL, replace utm_source, utm_medium and utm_campaign with your values, and preserve other query parameters and the fragment.

A WORKED EXAMPLE

Source newsletter, medium email and campaign autumn-guide add three utm_ parameters to the destination link.

What to keep in mind

Tracking works only if the destination analytics system supports and collects these parameters. Never put personal information or secrets into a campaign URL.

Common questions

Does generating a link enable Google Analytics?

No. The destination needs its own configured analytics. This tool only builds the URL text.

Is my content uploaded?

No. This tool processes the text in your browser. Copy only the result you intend to share.

Methodology maintained by ClarityKit. How these tools are built and checked.