Marketing ToolsA little help for every day

Search by name or task, such as JSON or percentage.

Marketing Tools

UTM Campaign URL Builder

Add utm_source, utm_medium, utm_campaign, term, content and utm_id to any landing page URL. Values are encoded and lowercased, and old UTM tags are replaced.

View all tools
ResultUpdates as you type
https://example.com/landing-page?utm_source=google&utm_medium=cpc&utm_campaign=spring_sale

3 UTM parameter(s) added; the link is 90 characters long.

How to use UTM Campaign URL Builder

Enter the landing page URL and at least utm_source, ideally with medium and campaign. Add term, content or a campaign ID if needed and choose how spaces are written. The tagged link updates as you type.

  1. Enter the landing pagePaste the full page URL; https:// is added if missing and existing non-UTM parameters are kept.
  2. Fill in the UTM fieldsEnter source, medium and campaign, plus term, content or utm_id for paid search keywords or ad variants.
  3. Copy the tagged linkCheck any warnings, then copy the final URL into your ad, email or social post.

Naming UTM parameters so GA4 groups them correctly

utm_source names where the traffic comes from (google, newsletter, facebook), utm_medium the type of channel (cpc, email, social) and utm_campaign the promotion. GA4's default channel grouping relies on recognisable medium values; a medium such as newsletter may not be recognised and can end up as Unassigned, so the builder warns you and suggests common values: cpc, email, social, referral, display and affiliate. Analytics reports are case-sensitive, so Google and google count as two sources; lowercasing is on by default to keep reports tidy.

Encoding, spaces and existing parameters

Values are URL-encoded, so a campaign called Autumn Sale 2026 becomes autumn%20sale%202026 by default. You can encode spaces as + instead, or replace them with hyphens or underscores for cleaner links such as autumn_sale. If the URL already carries utm_ parameters they are replaced, while other parameters such as colour=red stay. A # fragment stays at the very end, after the UTM tags, so they remain in the query string where analytics tools read them. A note shows how many parameters were added and the final link length.

Accuracy and data handling

Use the same date range, attribution method and currency when comparing campaigns. The calculation runs in your current browser; the tool code does not send the input to a processing API.

Often Used Together

Next step

FAQ

Which UTM parameters are required?

The builder requires only utm_source, but add utm_medium and utm_campaign too, otherwise reports show only the source. utm_term, utm_content and utm_id are optional.

Should UTM values be lowercase?

Consistency matters most, and lowercase is the easiest way to keep it. Reports treat Google and google as different sources, so values are lowercased by default and capitals trigger a warning if you turn that off.

Should I use UTM tags on internal links?

Avoid it. UTM tags on links between your own pages overwrite the original traffic source in analytics. Use them for links placed elsewhere, such as ads, emails and social posts.

How are spaces handled in UTM values?

By default they are encoded as %20. You can choose + instead, or replace spaces with - or _ so that spring sale becomes spring_sale.

More Marketing Tools

Related tools