ShoryakuAI

UTM Parameters: How to Set Up and Check Campaign Links in GA4

Marketing7 min

UTM parameters label a link with its traffic source and campaign. They help you distinguish visits from an email and a social post even when both point to the same page.

Start with the comparison you need to make. Then create the links, open them from the actual distribution channel, and check the resulting data in GA4.

Google's UTM documentation explains how campaign parameters identify incoming traffic. The core fields describe the source, medium, and campaign; content can distinguish individual links.

Field Decision Illustrative value
utm_source Where you place the link newsletter
utm_medium The type of marketing channel email
utm_campaign The initiative product_guide
utm_content The link or creative within it intro_button

This is an illustrative URL, not a live campaign:

https://example.com/guide?utm_source=newsletter&utm_medium=email&utm_campaign=product_guide&utm_content=intro_button

Use ? before the first query parameter and & between parameters. If the destination already has a query string, append with &. Put query parameters before a fragment beginning with #.

UTMs do not install GA4. If the destination is not collecting analytics, begin with Search Console and GA4 setup.

Keep a small naming table

Use consistent spelling and capitalization. Our suggested convention uses lowercase and underscores. These are planning examples, not measured results:

Placement source medium campaign content
Email introduction newsletter email product_guide intro_button
Same email's footer newsletter email product_guide footer_link
Organic X post x social product_guide problem_post
Instagram profile instagram social product_guide profile

Keep campaign consistent for one initiative, and use content for meaningful variations. Separate initiatives with different purposes. Check Google's default channel rules before inventing medium values, then verify the actual classification.

Check the full path to GA4

Use the Traffic acquisition report for session acquisition. User acquisition answers a different question about first acquisition.

  1. Open the link from the email or post preview that will actually be distributed.
  2. Check the destination and whether redirects preserve the parameters.
  3. Select the correct GA4 property and a period covering the test visit.
  4. Look for the intended Session source / medium and Session campaign values.
  5. If comparing outcomes, select the same relevant key event and measurement definition.

Report navigation can vary. Ask an editor to check report visibility if needed. Allow processing time before treating a missing row as a failure. UTM strings are also omitted from some page dimensions, including Landing page + query string; their absence there does not establish that campaign collection failed.

Avoid misleading campaign data

Internal links: Use a click-event design to distinguish movement from a blog to a pricing page. Avoid labeling that movement as external acquisition. GA4 does not start a new session merely because campaign information changes during a session, but it can use the information for event attribution. See campaign processing.

Google Ads: Review linking and auto-tagging before changing URLs. Manual UTMs can have a separate reporting purpose; do not replace or remove an existing setup indiscriminately.

Customer data: Use shared campaign and creative names rather than names, email addresses, or inquiry details.

Clicks versus sessions: Distribution-platform clicks and GA4 sessions measure different things. Repeat clicks, loading, and consent can affect the comparison. Verify attribution and comparable conditions rather than forcing equality.

A reusable delivery checklist

Campaign purpose:
Placements and links to compare:
Destination URL:
utm_source:
utm_medium:
utm_campaign:
utm_content:

Checks:
- Opened from the actual distribution interface?
- Parameters preserved at the destination?
- Correct GA4 property and reporting period?
- Expected session source / medium and campaign?
- Which key event will measure the outcome?
- Does the comparison cross a naming-rule change?

For an AI review, add:

Find inconsistencies between these campaign URLs and the naming table.
Check spelling variations, duplicate parameters, and UTMs on internal links.
Explain proposed corrections.
Do not infer successful GA4 collection or classification from URL syntax alone.

Prepare and test the links for your next distribution. Shoryaku AI can use connected GA4 source/medium visit data in marketing conversations. Check detailed campaign tagging in GA4, then use the findings to decide what to improve. See Shoryaku AI's features.