GA4 Campaign UTM Link Builder

Build clean, properly encoded utm_source, utm_medium, utm_campaign, utm_term, and utm_content links for GA4 attribution.

How It Works & Reference

Use lowercase consistently (e.g. utm_source=zhihu, utm_medium=social, utm_campaign=devtools_launch) so GA4 doesn't split identical channels by case.

GA4 Standard UTM Parameters

ParameterRequiredExample Values
utm_sourceYesgoogle, zhihu, github, newsletter
utm_mediumYescpc, social, referral, email
utm_campaignYesspring_launch, ai_tools
utm_contentOptionalbanner_top, text_cta

Frequently Asked Questions

Which UTM parameters are required?

utm_source, utm_medium, and utm_campaign are the core trio recognized by GA4 Default Channel Grouping.

Should I use UTM tags on internal links?

Never use UTM parameters on internal links—doing so overwrites the visitor's original acquisition source in GA4.

Does it preserve existing query parameters and #hash?

Yes, standard browser URL parsing appends UTM parameters cleanly while keeping existing parameters and fragments intact.

Related Tools