webtrajans
en

UTM Builder (Campaign URL Generator)

Fill in the campaign fields to get a tagged URL that Google Analytics can attribute correctly, with checks for missing values, capital letters and spaces.

Options
Campaign URLOpen in new tab
Sources

This tool runs entirely in your browser; your data is never sent to a server.

Written and reviewed by the Webin Agency Editorial Team · Last updated: December 1, 2026How we build our tools

How to use

  1. 1Paste the landing page URL.
  2. 2Fill in source, medium and campaign (required), and optionally ID, term, content and source platform.
  3. 3Keep lowercase conversion on and choose how spaces are replaced.
  4. 4Copy the campaign URL or open it to test; the likely GA4 channel is shown below.

What each UTM parameter means

According to the Google Analytics documentation: utm_source is the referrer (google, newsletter4, billboard), utm_medium the marketing medium (cpc, banner, email), utm_campaign the product, slogan or promo code (spring_sale), utm_id the campaign ID used for data import, utm_term the paid keyword, utm_content distinguishes creatives such as two links in the same email, and utm_source_platform the platform that directed the traffic.

Best practices for clean reports

Google says to always use utm_source, utm_medium and utm_campaign; missing parameters show as “(not set)”. Values are case sensitive, so “Google” and “google” become two sources; the tool converts to lowercase by default. Spaces are replaced with _ or - so links stay readable. Use UTM tags only on external campaign links, never on internal links within your own site, because they overwrite the original source of the visit.

Medium values and GA4 default channels

GA4 sorts traffic into default channel groups mostly by medium: email → Email, affiliate → Affiliates, display, banner or cpm → Display, social or sm → Organic Social, referral → Referral, and mediums such as cpc, ppc or paid_social → Paid Search or Paid Social depending on whether the source is a search engine or social site. The tool shows the likely channel so you can avoid traffic ending up in “Unassigned”.

Frequently asked questions

Which UTM parameters are required?

Google recommends always setting utm_source, utm_medium and utm_campaign. The others are optional.

Are UTM parameters case sensitive?

Yes. utm_source=Google and utm_source=google are reported as different sources, so use lowercase consistently.

What happens to existing parameters in my URL?

Other query parameters are kept. Existing utm_ parameters are replaced by the new values, and a #fragment stays at the end.

Should I use UTM tags on internal links?

No. Use them only for links from external campaigns; tagging internal links overwrites the original source of the visit.

Add this tool to your website

Paste the code below into your site’s HTML; the tool runs on your page and stays up to date automatically.

Widget builder →Free to use. Please keep the source link below the widget.

Not happy with the results?

Talk to Webin Agency about fast, SEO-friendly websites, e-commerce and Google Ads management.

Get free advice

Related tools