Toolvito

Works on this device

UTM Builder

Type the address of a page and the campaign details, and get the link with UTM parameters, encoded the right way. Build one link, or many at once from rows that you type or paste from a spreadsheet. Nothing is fetched or sent.

Enter your values

Adds utm_source, utm_medium, utm_campaign, utm_term and utm_content to the address of a page.

Your values

The full address of the page that the link opens, with https://. Parameters and a # part that it already has are kept.

Where the visit comes from, such as google, facebook or newsletter.

The kind of marketing, such as email, cpc or social.

The name of the campaign or offer, such as spring_sale.

Optional. The paid search keyword.

Optional. What tells apart two links or ads to the same page, such as header_button.

Many analytics tools count Email and email as two different values.

More options

Check that your analytics tool reads + as a space before you choose it.

Your values are worked out in this browser. They are not sent to a server.

Your result will show here

Fill in the values, then choose the button below them.

How to use the UTM builder

  1. Type the full address of the page, such as https://www.example.com/spring-sale. Parameters and a # part that it already has are kept.
  2. Type the campaign source (utm_source). Add the medium and the campaign name; the term and the content are optional.
  3. The link is built while you type. Read the checks under it, then copy the link or download it as a text file.
  4. For many links, choose Build several links from rows. Type one link in each row, or copy the cells from a spreadsheet and use Paste rows from a spreadsheet. Download every link as a CSV file or a text file.

The five UTM parameters

UTM parameters tell an analytics tool where a visit came from. Their names are written in small letters, and each one holds one value.

Standard UTM parameters
Parameter What it holds Example value
utm_source Where the visit comes from: a site, a search engine or a newsletter newsletter
utm_medium The kind of marketing email
utm_campaign The name of the campaign or offer spring_sale
utm_term The paid search keyword (optional) running shoes
utm_content What tells apart two ads or links to the same page (optional) header_button

How the link is built

  • The address is kept as you typed it. The UTM parameters are added after its own parameters, with & between them, and before a # part, because in an address the query comes before the fragment (RFC 3986, section 3).
  • If the address already has a UTM parameter that you set, such as utm_source=old, it is taken out and your new value is written once. The checks say so.
  • Each value is written in UTF-8 and percent-encoded: every character other than A to Z, a to z, 0 to 9 and - . _ ~ becomes % and two hexadecimal digits. So spring sale becomes spring%20sale, & becomes %26 and é becomes %C3%A9.
  • Under More options you can write a space as + (the form rule) and put all the UTM parameters inside one parameter, such as referrer of an app store link. Then the UTM text is encoded once more as that value.
  • Change the values to small letters makes Email and email the same value before it is encoded. The address itself is not changed.

Worked example

Address: https://www.example.com/shoes?size=42#reviews. Source: newsletter. Medium: email. Campaign: spring sale.

The link is https://www.example.com/shoes?size=42&utm_source=newsletter&utm_medium=email&utm_campaign=spring%20sale#reviews, 111 characters. The parameter size=42 is kept, the space in the campaign name becomes %20, and #reviews stays at the end. The checks point out that the campaign name has a space.

Read a link back, or build a wider campaign link

  • To take a link with UTM parameters apart again, use the UTM Parser. It gives back the same values that you typed here.
  • To add a campaign ID, your own parameters or placeholders that an ad platform fills in, and to apply a naming rule to every value, use the Campaign URL Builder. With the same five values, no other parameters and its rule Keep the values as typed, it builds the same link.
  • To make campaign names from parts with one pattern, use the Campaign Naming Generator.

Limits you should know

  • The tool writes text only. It does not open the link, check that the page exists, or send anything to an analytics tool.
  • The base address must start with http:// or https:// and have no spaces. It is not checked or changed in any other way.
  • The meaning of each parameter is the common one. How your analytics tool reads, groups and shows the values is set by that tool, so check its help.
  • Google Play reading UTM parameters from referrer is an example; check the current help of your app store before you use that option.
  • Rows: at most 200 links at once.

Related tools