Agenvix Enterprise Suite
Free UTM Code & Link Generator

UTM Builder & Generator: Create UTM Codes, Links & Campaign URLs for GA4

Create UTM codes and tracking links for Google Analytics 4 in seconds: enter the URL, source, medium and campaign and the UTM generator builds the campaign URL with utm_source, utm_medium, utm_campaign, utm_term, utm_content and utm_id - lowercase and naming rules applied, one link per channel.

How It Works
GA4 & Google Analytics
Naming Rules Enforced
Bulk Links + CSV
Free, Online, Private
Agenvix Studio v2.0
Tracking-Readyutm_* parameters
URL:
https://example.com/pricing/
UTM source / medium:
newsletter / email
UTM link:
…/pricing/?utm_source=newsletter&utm_medium=email&utm_campaign=spring-sale
● Lowercase enforcedSpaces → hyphens
Quick Test Presets:Click to load
Lowercase enforced
100% Free

UTM Code & Link Generator

Fill in the website URL, UTM source, medium and campaign; optional term, content and campaign ID refine the report breakdown. The UTM link updates as you type.

UTM link
https://example.com/pricing/?utm_source=newsletter&utm_medium=email&utm_campaign=spring-sale-2026
Parameter breakdown
utm_source
newsletter
utm_medium
email
utm_campaign
spring-sale-2026
Links
1
Length
97
Issues
0
Ready to use. Paste the UTM link into your email, ad or post; never use it on internal links.

Why Marketers Use the Agenvix UTM Generator

Clean UTM codes mean clean reports; the builder prevents the typos that fragment campaign data.

UTM Codes That Stay Consistent

Lowercasing and space replacement are applied automatically so Facebook, facebook and FaceBook never show up as three sources.

One UTM Link per Channel

Enter several sources separated by commas and copy - or download as CSV - a ready-made list of UTM links for every newsletter, network and partner.

Built for GA4 & Google Analytics

Supports utm_id plus the GA4-only utm_source_platform, utm_creative_format and utm_marketing_tactic, and warns when a medium will not map to a default channel group.

Free, Online, Private

No sign-up and no quota. Unlaunched landing pages and campaign names never leave your browser.

Simple as 1-2-3

How the UTM Link Generator Works

Three steps from a plain URL to a trackable UTM link.

01

Paste the Landing Page URL

Enter the full destination URL. Existing query strings and fragments are preserved; old UTM parameters can be stripped.

02

Add UTM Source, Medium & Campaign

Pick a medium from the GA4 list, enter the source and campaign name, and add term, content or a campaign ID when you need finer breakdowns.

03

Copy the UTM Code or Link

Copy the single URL, the whole multi-source list or a CSV for your spreadsheet. Shorten the links afterwards if you need vanity URLs.

Parameter Reference

UTM Parameter Reference

What each parameter means in Google Analytics 4 and when to use it.

Feature / SpecificationBest Use CaseEngine / Output StandardPrivacy & SecurityPerformance RatingAction
utm_sourceWhere traffic comes fromgoogle, newsletter, linkedinRequiredRequired
utm_mediumMarketing channel typecpc, email, social, displayRequiredRequired
utm_campaignPromotion or initiativespring-sale-2026RequiredRequired
utm_idJoin with cost data importsGA4 campaign IDOptionalGA4
utm_termPaid keywordrunning-shoesOptionalPaid search
utm_contentA/B creative or link positionhero-button, footer-linkOptionalTesting
utm_source_platformBuying platform (GA4 only)google-ads, dv360, manualOptionalGA4
utm_creative_formatAd format (GA4 only)display, video, nativeOptionalGA4
utm_marketing_tacticTargeting tactic (GA4 only)remarketing, prospectingOptionalGA4
Comprehensive SEO Guide

UTM Codes, Links & Parameters Explained for GA4

1. UTM builder, generator, creator, maker: same tool, different names

A UTM builder, UTM generator, UTM code creator, UTM link maker and campaign URL builder all do one job: append utm_ parameters to a URL so that analytics can attribute the click to a source, medium and campaign. Whether you call the result a UTM code, a UTM link, a tracking link or a campaign URL, it is the same tagged address, and GA4 does not care which tool produced it - only that the values are consistent.

2. How to create a UTM link step by step

Paste the landing page URL, enter the UTM source, medium and campaign, and copy the result. For a newsletter promoting a spring sale the generator produces:

https://example.com/pricing/?utm_source=newsletter&utm_medium=email&utm_campaign=spring-sale

Add utm_term for a paid keyword, utm_content to tell two buttons or creatives apart, and utm_id when you import cost data into GA4. The builder lowercases values, turns spaces into hyphens, keeps any existing query string and warns when a medium will be reported as Unassigned.

3. What UTM parameters actually do

UTM parameters are query-string tags that analytics tools read when a visitor lands on your page. They override automatic referrer detection, which is why a newsletter click can be reported as newsletter / email instead of direct. GA4 reads utm_source, utm_medium, utm_campaign, utm_term, utm_content and utm_id - plus the GA4-only utm_source_platform, utm_creative_format and utm_marketing_tactic - and uses source and medium to assign sessions to default channel groups such as Paid Search, Email and Organic Social.

4. Naming conventions that keep reports clean

Parameters are case sensitive, so decide on lowercase and never deviate. Replace spaces with hyphens or underscores, keep a shared spreadsheet of campaign names and avoid putting dates in sources or mediums.

  • UTM source names the platform or publisher: google, bing, newsletter, partner-site.
  • UTM medium names the channel type and should match GA4 vocabulary: cpc, email, social, paid_social, display, affiliate.
  • UTM campaign names the initiative: black-friday-2026, product-launch, webinar-q4.

5. GA4 channel grouping rules

GA4 maps medium values to channels with pattern rules: cpc, ppc and paidsearch become Paid Search when the source is a search engine; social, social-network and social-media become Organic Social; email and e-mail become Email; display, banner and cpm become Display. A medium outside these patterns falls into Unassigned, which is the most common cause of unexplained traffic in GA4 reports. The builder warns when a custom medium will not match.

6. How to see UTM campaigns in Google Analytics 4

GA4 reads the parameters automatically - nothing to configure. Open Reports → Acquisition → Traffic acquisition and switch the primary dimension to Session source / medium or Session campaign; add Session manual term or Session manual ad content as a secondary dimension to see utm_term and utm_content. To test a new UTM link, open it in a private window and watch the Realtime report pick up the session within seconds.

7. Google's Campaign URL Builder vs this UTM generator

Google's own Campaign URL Builder (part of the GA Dev Tools) still exists and produces exactly the same utm_ parameters, one link at a time. This generator adds what teams usually need on top: lowercase and spacing rules, warnings for mediums that break channel grouping, several sources in one pass, CSV export and the GA4-only parameters. If you run Google Ads with auto-tagging, the gclid already handles attribution for that traffic; manual UTMs matter for email, social, partners, print and every other platform.

8. Bulk UTM links, spreadsheets and naming templates

Turn on Multiple sources to generate one UTM link per channel - newsletter, facebook, linkedin, partner - and download the table as CSV for Excel or Google Sheets. A simple UTM template is one row per link with columns for URL, source, medium, campaign, term and content, plus a tab of approved values so everyone picks from the same list instead of inventing new spellings.

9. Where not to use UTMs

Never add UTM parameters to internal links. Clicking a tagged internal link starts a new session attributed to the fake campaign and erases the real acquisition source. Use them only on links that enter your site from outside: emails, ads, social posts, partner pages, printed QR codes and offline materials. For SEO, make sure the canonical tag points at the parameter-free URL so tagged variants do not get indexed as duplicates.

Frequently Asked Questions

Everything you need to know about UTM Codes & Links

Creating UTM links, required fields, GA4 behaviour, naming and privacy.

Is a UTM generator the same as a UTM builder?

Yes. UTM builder, UTM generator, UTM code creator, UTM link maker and campaign URL builder all describe the same job: adding utm_ parameters to a URL so analytics can attribute the click. This page does that job for single links and for bulk lists.

How do I create a UTM code or UTM link?

Paste the landing page URL, enter the UTM source, medium and campaign, and copy the generated link - for example https://example.com/pricing/?utm_source=newsletter&utm_medium=email&utm_campaign=spring-sale. Add term, content or a campaign ID only when you need finer breakdowns.

Which UTM parameters are required?

utm_source, utm_medium and utm_campaign. GA4 will still record a hit with only utm_source, but without medium the session may land in Unassigned and without campaign you cannot compare initiatives.

What is a UTM source, and what should I put in it?

utm_source names where the traffic comes from: the website, app, search engine or newsletter that carries the link - google, bing, facebook, linkedin, newsletter, partner-site. Keep it lowercase and reuse exactly the same value every time.

What is the difference between utm_source and utm_medium?

Source is the specific sender (google, newsletter, linkedin); medium is the channel type (cpc, email, social). GA4 combines them into Session source / medium, so google / cpc is paid search and newsletter / email is email marketing.

Are UTM parameters case sensitive?

Yes. Email and email are reported as two different mediums. The builder lowercases values by default; keep the setting on unless your organisation has a different documented convention.

What is utm_id?

utm_id is the campaign ID parameter GA4 uses to join sessions with imported cost data. It is optional for most teams but required if you upload cost data for non-Google campaigns.

What are utm_source_platform, utm_creative_format and utm_marketing_tactic?

Three extra parameters GA4 understands beyond the classic five: the buying platform (Google Ads, DV360, SA360 or Manual), the ad format (display, video, native, search) and the targeting tactic (remarketing, prospecting). Turn on Advanced GA4 parameters in the builder to add them.

How do I check UTM traffic in Google Analytics 4?

Open Reports > Acquisition > Traffic acquisition and set the primary dimension to Session source / medium or Session campaign; Session manual term and Session manual ad content show utm_term and utm_content. GA4 reads the parameters automatically - no configuration is needed.

Does Google still have a UTM builder?

Yes. Google's Campaign URL Builder in the GA Dev Tools still works and creates the same utm_ parameters. This generator adds lowercase and spacing rules, GA4 channel warnings, several sources at once, CSV export and the GA4-only parameters.

Can I generate UTM links in bulk or for a spreadsheet?

Yes. Turn on Multiple sources, enter the sources separated by commas - for example newsletter, facebook, linkedin - and every link is listed in a table you can copy or download as CSV for Excel or Google Sheets. One URL is generated per source with the same medium and campaign.

Can I add UTM parameters to a URL that already has a query string?

Yes. The builder keeps existing parameters and appends the utm_ values with an ampersand. Fragments such as #pricing are moved after the query string so they continue to work.

Do UTM parameters affect SEO?

Not directly, but tagged URLs can be indexed as duplicates if people link to them. Use a self-referencing canonical on the landing page and never use UTMs on internal links.

Should I shorten UTM links?

Shorteners such as Bitly preserve the parameters through the redirect, so they are fine for social posts and print. Keep the long form in email where length does not matter.

Do UTM codes only work with Google Analytics?

No. The utm_ names come from Urchin, the product Google turned into Google Analytics, but Matomo, Adobe Analytics, HubSpot, Mixpanel and most email and ad platforms read the same parameters.

Is my campaign data stored?

No. Links are assembled in your browser and are never transmitted or logged by Agenvix. The CSV download is generated locally as well.

Contextual Workflows

Related Developer Utilities

Discover companion utilities engineered for zero-log speed and browser-side execution.