Skip to main content

Google Analytics UTM Builder

GA4 uses UTM parameters in Acquisition reports. Build consistent tagged URLs so sessions appear under the right source, medium, and campaign.

Build your tagged URL

UTM URL builder form

Non-UTM query parameters are kept. UTM fields you enter replace existing UTM keys on this URL.

https://example.com/landing?utm_source=google&utm_medium=cpc

Need the full toolkit? Use our free UTM builder on the homepage.

Why GA4 users need a Google Analytics UTM builder

GA4 attributes sessions using parameters present on the first page load. A Google Analytics UTM builder ensures every outbound link—ads, email, affiliates—carries consistent source, medium, and campaign values that map cleanly to Acquisition reports. Manual string editing causes encoding errors that show up as (not set) rows, silently hiding campaign ROI.

How GA4 reads UTM parameters

When a tagged URL loads, the GA4 configuration tag reads query parameters and sets session dimensions: session source, session medium, session campaign name, session manual term, and session manual ad content. These persist for the session unless overwritten by a new campaign hit—another reason not to tag internal links.

DebugView workflow

  1. Enable debug mode via GTM preview or the GA Debugger extension.
  2. Open your generated URL in a fresh browser profile.
  3. Confirm parameters under Latest events → session_start.
  4. Roll out to production ads only after validation.

GA4 reports to monitor

  • Traffic acquisition → Session source/medium
  • User acquisition → First user campaign
  • Explorations → Free-form pivot on campaign and content
  • Advertising snapshot when Google Ads is linked

UTM vs Google Ads auto-tagging

Auto-tagging adds gclid for Google Ads clicks. GA4 can import cost and click data when accounts are linked. UTMs still help when you need human-readable labels in exports, compare Google Ads with Bing in one view, or feed BigQuery with explicit dimensions. Avoid contradictory mediums: if Ads uses cpc, do not randomly switch to ppc in UTMs.

Best practices for GA4 UTM tracking

Document parameter definitions in a shared wiki. Use the source, medium, and campaign guides for onboarding. Register conversions as key events and segment by session campaign for funnel analysis.

Common GA4 UTM mistakes

  • Testing only in Realtime while ignoring 24h reporting latency for standard reports
  • Tagging the wrong hostname (staging vs production)
  • Missing GA tag on the landing template used by ads
  • Using GA4 while stakeholders still read Universal Analytics column names

Example URLs for GA4 testing

https://www.yoursite.com/?utm_source=newsletter&utm_medium=email&utm_campaign=launch-verify
https://www.yoursite.com/pricing?utm_source=google&utm_medium=cpc&utm_campaign=brand-us&utm_term=utm+builder

BigQuery and GA4 explorations

Exporting GA4 to BigQuery unlocks session-level SQL. Filter events where collected_traffic_source manual campaign name matches your utm_campaign slugs. Join with ad spend tables on campaign ID when naming aligns. Document timezone offsets between ad platforms (often account timezone) and GA4 property timezone to avoid daily mismatch in executive summaries.

Sample exploration questions

  • Which campaign drove the most key events last month?
  • Do email sessions convert faster than paid social for the same campaign slug?
  • Which utm_content values underperform within a single Facebook campaign?

Consent Mode and tagged traffic

In regulated regions, analytics tags may fire only after consent. UTMs remain in the URL regardless; ensure your tag fires on the first permitted page view so session attribution still captures campaign parameters. Test denied vs granted consent paths in staging.

Cross-linking your tracking stack

Pair GA4 UTMs with channel guides: email, Facebook Ads. Build links on the homepage tool.

Frequently Asked Questions

Where do UTMs appear in GA4?
Session source, medium, campaign, term, and content appear in Acquisition reports and explorations after a tagged landing hit.
Do UTMs override Google Ads auto-tagging?
Both can coexist. Validate in DebugView; avoid contradictory medium values that confuse channel grouping.
How fast do UTM dimensions show in GA4?
Standard reports may take 24–48 hours; DebugView and real-time show tagged sessions within minutes for testing.