Campaign Parameters

The full URL of the page you want to track
Identifies which site sent the traffic
Identifies the marketing medium (channel)
The individual campaign name, slogan, or promo code
Identifies paid search keywords
Used for A/B testing and content-targeted ads

Generated URL

UTM URL Example

UTM URL Example

What Are UTM Parameters?

UTM (Urchin Tracking Module) parameters are tags appended to a URL that pass information to analytics tools like Google Analytics 4 (GA4). When someone clicks a link with UTM parameters, those values appear in your analytics reports, showing you exactly where traffic came from and which campaigns are performing best. You can build tagged URLs manually or use Google's official Campaign URL Builder — or this tool, which works the same way right in your browser.

There are five standard UTM parameters:

ParameterRequiredPurpose
utm_sourceRequiredIdentifies the traffic source (e.g. google, newsletter)
utm_mediumRequiredIdentifies the marketing channel (e.g. cpc, email)
utm_campaignRequiredThe campaign name or promotion code
utm_termOptionalPaid search keyword associated with the ad
utm_contentOptionalDifferentiates ads or links pointing to the same URL (A/B testing)

How to Use This Tool

1

Enter Your URL and Campaign Details

Fill in the Website URL and the three required fields: Source, Medium, and Campaign Name. The output URL updates as you type. UTM parameter values are appended following RFC 3986 URL syntax, so special characters are percent-encoded automatically.

2

Add Optional Parameters

For paid search campaigns, add utm_term. For A/B testing two versions of the same ad, use utm_content to distinguish them. The tool uses the browser's URL API to build and encode the final link safely.

3

Copy and Use

Click Copy to grab the URL. Paste it into your ad, email, or social post. Consider shortening it with the URL Shortener before sharing.

Example Output

Example: Email newsletter campaign link

Settings:

URL: https://example.com/pricing
Source: newsletter
Medium: email
Campaign: spring_sale_2024
Content: hero_cta

Generated UTM URL:

https://example.com/pricing?utm_source=newsletter&utm_medium=email&utm_campaign=spring_sale_2024&utm_content=hero_cta

Frequently Asked Questions

Does GA4 still support UTM parameters?

Yes. Google Analytics 4 fully supports all five UTM parameters. They appear in GA4 under Acquisition reports.

Should I use spaces or underscores in UTM values?

Avoid spaces — they get percent-encoded as %20 and make URLs messy. Use underscores (spring_sale) or hyphens (spring-sale) for multi-word values. This tool encodes values automatically.

Related Tools