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
Check these values
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.
Your result
How it was worked out
How to use the campaign URL builder
- Type the full address of the page, such as
https://www.example.com/spring-sale. - Type the source, the medium and the campaign name. Add a campaign ID, a term and a content value if you use them.
- Under Other parameters, add the names and values of any further parameters, such as
ad_idwith the placeholder{ad_id}. Leave the rows empty for none. - 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.
- 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 saleandspring_saleas 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.