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.
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.
https://example.com/pricing/?utm_source=newsletter&utm_medium=email&utm_campaign=spring-sale-2026
- utm_source
- newsletter
- utm_medium
- utm_campaign
- spring-sale-2026
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.
Paste the Landing Page URL
Enter the full destination URL. Existing query strings and fragments are preserved; old UTM parameters can be stripped.
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.
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.
UTM Parameter Reference
What each parameter means in Google Analytics 4 and when to use it.
| Feature / Specification | Best Use Case | Engine / Output Standard | Privacy & Security | Performance Rating | Action |
|---|---|---|---|---|---|
| utm_source | Where traffic comes from | google, newsletter, linkedin | Required | Required | |
| utm_medium | Marketing channel type | cpc, email, social, display | Required | Required | |
| utm_campaign | Promotion or initiative | spring-sale-2026 | Required | Required | |
| utm_id | Join with cost data imports | GA4 campaign ID | Optional | GA4 | |
| utm_term | Paid keyword | running-shoes | Optional | Paid search | |
| utm_content | A/B creative or link position | hero-button, footer-link | Optional | Testing | |
| utm_source_platform | Buying platform (GA4 only) | google-ads, dv360, manual | Optional | GA4 | |
| utm_creative_format | Ad format (GA4 only) | display, video, native | Optional | GA4 | |
| utm_marketing_tactic | Targeting tactic (GA4 only) | remarketing, prospecting | Optional | GA4 |
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.
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.
Related Developer Utilities
Discover companion utilities engineered for zero-log speed and browser-side execution.
URL Encoder & Decoder
Percent encode URL components or whole links, and decode safely with UTF-8 handling.
Free QR Code Generator with Logo
Permanent static QR codes with custom logos, gradients, and lossless vector SVG export.
URL Slug Generator
Turn titles into clean, SEO-friendly URL slugs with transliteration, stop-word removal and bulk mode.
Meta Tag Generator
Write title tags and meta descriptions with a live Google SERP preview, pixel limits and Open Graph output.
Robots.txt Generator
Build a valid robots.txt with per-bot rules, AI crawler blocks, sitemap lines and instant syntax checks.
JSON to CSV Converter
Convert JSON arrays to RFC 4180 CSV with nested flattening, or parse CSV back into typed JSON.
More in Text & SEO
Specialized utilities within the same technical domain
