Marketing tools

UTM Builder

Create campaign URLs with UTM parameters so GA4 knows where each visit came from. Required fields, consistent naming checks and existing UTM tags are handled for you.

日本語

Runs in your browser

Build a tracked URL

Enter the landing page and where the traffic comes from to get a URL that GA4 can attribute. Nothing you type is sent or saved.

1Destination URL
2Source and medium

The platform or place, such as google, facebook or newsletter. Use the same value for the same source every time.

The kind of link, such as cpc, paid_social or email. Don’t swap it with the source.

See examples
  • Google Adssource = google / medium = cpc / campaign = spring_sale
  • Meta ads on Instagramsource = instagram / medium = paid_social / campaign = summer_sale
  • TikTok adssource = tiktok / medium = paid_social / campaign = launch_week
  • Email newslettersource = newsletter / medium = email / campaign = november_sale
  • QR code on a flyersource = flyer / medium = qr / campaign = winter_sale“qr” is not a medium in GA4’s default channel grouping, so it can appear as Unassigned.
3Campaign

The promotion or launch. Matching the campaign name in your ad account makes reports easier to compare.

4Advanced (optional)utm_term, utm_content, utm_id

Mostly for search ads, to tell which keyword brought the visit.

To tell apart creatives or link positions in the same campaign (for example banner_a, text_link).

To match a campaign ID from your ad platform or data import.

What this tool does

It adds UTM parameters to a landing page URL. GA4 reads utm_source, utm_medium and utm_campaign to sort sessions into channels and campaigns, so every link you share in ads, emails, social posts or printed QR codes can be measured separately.

How to fill in each parameter

  • utm_source: where the visit comes from, such as google, facebook, instagram, tiktok, bing or newsletter.
  • utm_medium: the type of traffic, such as cpc for search ads, paid_social for social ads, social for organic posts, email or referral.
  • utm_campaign: the promotion, such as spring_sale or launch_week. Match the name in your ad account where possible.
  • utm_term, utm_content and utm_id are optional: keyword, creative or link variant, and a campaign ID.

Keep values consistent

GA4 treats “Instagram” and “instagram” as two different values. The builder flags capital letters, spaces, full-width characters and mixed separators, and offers a one-click fix to lowercase. It never changes a value without asking.

About the “qr” medium

“qr” is not one of GA4’s default channel mediums, so depending on the source, QR traffic can show up as Unassigned. If you use it, you can still separate QR visits by source and campaign. The builder shows a short note about which default channel each medium usually maps to.

Existing UTM tags

If the destination URL already has UTM parameters, the builder lists them and replaces all of them with your values, so no parameter appears twice. Other query parameters and the #fragment are kept as they are.

FAQ

Which parameters are required?

utm_source, utm_medium and utm_campaign. Google recommends setting all three; the other three are optional.

Should I use uppercase or lowercase?

Lowercase is the safest choice. GA4 is case-sensitive, so mixing cases splits one source or campaign into several rows.

Can I use it for QR codes?

Yes. Build the URL, copy it, and paste it into any QR code generator. This page never passes the URL to another site automatically.

Which URLs are accepted?

Absolute http:// or https:// URLs up to 2,048 characters. URLs with a user name or password, or other schemes such as javascript:, are rejected.

MORE TOOLS

Related tools