TTKTheTextKit

UTM Link Builder

Add Urchin Tracking Module (UTM) parameters to your target URLs to accurately track marketing campaigns in Google Analytics, Matomo, and attribution platforms. Generate clean, properly encoded tracking links live as you type.

Quick Campaign Presets
Generated UTM Tracking URL
https://example.com/landing-page?utm_source=newsletter&utm_medium=email&utm_campaign=spring_sale
UTM Parameters Breakdown
utm_sourcenewsletter
utm_mediumemail
utm_campaignspring_sale

Related Tools

[6 suggestions]

Guides for the UTM Link Builder

About the UTM Link Builder

UTM (Urchin Tracking Module) parameters are five standardized query string keys appended to URLs to track marketing effectiveness across digital channels. When a user clicks a UTM-tagged link, analytics systems parse the utm_source (where traffic originates, e.g. newsletter), utm_medium (marketing channel, e.g. email), utm_campaign (specific promotion, e.g. summer_sale), utm_term (paid keywords), and utm_content (A/B testing variant or CTA element). Using consistent lowercase casing and hyphenation in UTM parameters prevents fragmented reporting in Google Analytics. This builder URL-encodes special characters, adds the parameters to an existing query string with an ampersand, keeps a #section anchor at the end of the link where it belongs, replaces a UTM parameter that is already in the address instead of repeating it, and warns you when a required parameter is empty or a value has capital letters. It was checked on 5,000 generated links, parsed with Python, and every parameter and anchor came back intact.

What are the required UTM parameters?▾

The three essential parameters are utm_source (e.g. google, newsletter), utm_medium (e.g. cpc, email, social), and utm_campaign (e.g. spring_launch). utm_term and utm_content are optional.

Are UTM parameters case-sensitive in Google Analytics?▾

Yes! Google Analytics treats "Email", "email", and "EMAIL" as three separate marketing mediums. Best practice is to use all-lowercase letters and hyphens or underscores for spaces.

How does the builder handle URLs that already have query parameters?▾

If your base URL already contains a question mark (e.g. https://site.com/page?id=123), the builder automatically attaches UTM parameters using ampersands (&) rather than introducing a second question mark.

What happens to a #section in my address?▾

The parameters are placed before it, so https://example.com/page#pricing becomes https://example.com/page?utm_source=...#pricing. Anything after a # is never sent to the server, so parameters written after it would not be recorded.