Toolvito

Works on this device

Campaign URL Builder

Build a link for a campaign: the UTM parameters, a campaign ID, other parameters that you name, and placeholders that an ad platform fills in. One naming rule keeps every value in the same form. Build one link, or one for each channel of a campaign. Nothing is fetched or sent.

Enter your values

UTM parameters, a campaign ID and your own parameters in one link, with one naming rule for the values.

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. An ID of the campaign, for example to join visits with cost data you import.

Optional. The paid search keyword.

Optional. What tells apart two links or ads to the same page.

One rule for every UTM value, so that reports do not split one value into several.

Removes other characters, such as & ! or quotation marks, after the naming rule.

Some ad platforms fill in text such as {ad_id} or {{ad.name}} when the ad is clicked. Check your platform's help for its exact placeholders.

Other parameters

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 campaign URL builder

  1. Type the full address of the page, such as https://www.example.com/spring-sale.
  2. Type the source, the medium and the campaign name. Add a campaign ID, a term and a content value if you use them.
  3. Under Other parameters, add the names and values of any further parameters, such as ad_id with the placeholder {ad_id}. Leave the rows empty for none.
  4. Choose a naming rule, such as Small letters, and _ in place of spaces. The link is built while you type; copy it or download it.
  5. For a campaign that runs in several channels, choose One campaign, one link for each channel and type one row for each channel.

What goes into the link

  • The five standard UTM parameters: utm_source, utm_medium, utm_campaign, utm_term and utm_content, as in the UTM Builder. For the same five values, no other parameters and the rule Keep the values as typed, both tools build the same link.
  • utm_id, the campaign ID. Some analytics tools use it to join visits with cost data that you import; check the help of yours.
  • Other parameters that you name: a parameter your own site reads, or a parameter with a placeholder for an ad platform. Their values are kept as typed.
  • Parameters that the address already has are kept. A UTM parameter that you set again is taken out of the address and written once.

Naming rules and placeholders

  • Analytics tools often count Spring Sale, spring sale and spring_sale as three different campaigns. A naming rule writes every UTM value in one form: as typed, in small letters, or in small letters with _ or - in place of spaces.
  • Keep only letters, digits and - _ . removes every other character from the UTM values after the rule, such as &, ! and quotation marks.
  • A placeholder is a word in braces, such as {ad_id} or {{ad.name}}, that some ad platforms replace with a real value when the ad is clicked. With Keep {placeholders} as typed it is not encoded and not changed by the naming rule. Names of placeholders differ between platforms, so check the help of yours.
  • Every other character is written in UTF-8 and percent-encoded: everything other than A to Z, a to z, 0 to 9 and - . _ ~ becomes % and two hexadecimal digits.

Worked example

Address: https://www.example.com/spring-sale. Source: Facebook. Medium: Paid Social. Campaign: Spring Sale. Campaign ID: cmp_42. Other parameter: ad_id with {ad_id}. Rule: small letters, and _ in place of spaces.

The link is https://www.example.com/spring-sale?utm_source=facebook&utm_medium=paid_social&utm_campaign=spring_sale&utm_id=cmp_42&ad_id={ad_id}, 131 characters. The placeholder stays in braces, so the platform can fill it in.

Limits you should know

  • The tool writes text only. It does not open the link, check the page, or send anything to an ad platform or an analytics tool.
  • The naming rule changes the UTM values only. The other parameters keep their values as typed, because they are often IDs.
  • A link with placeholders works only where an ad platform fills them in. Opened anywhere else, the braces stay as typed.
  • To read a campaign link back into its parts, use the UTM Parser. To make the campaign names themselves from parts, use the Campaign Naming Generator.
  • At most 30 other parameters and 100 channels.

Related tools