A UTM link builder appends standardized query parameters (utm_source, utm_medium, utm_campaign, utm_term, and utm_content) to your destination URLs so Google Analytics 4 (GA4) and Shopify Analytics attribute every click and purchase to the exact ad, email, or creator post that drove it. Consistent UTM hygiene eliminates mysterious "Unassigned" and "Direct" traffic buckets.
Use the free UTM Link Builder above to generate properly encoded, lowercase tracking URLs ready for Meta Ads, Klaviyo, influencers, and Google campaigns.
Complete GA4 UTM Parameter Reference
| Parameter | Required | Clean Example | GA4 Reporting Role |
|---|---|---|---|
utm_source |
Yes | meta, klaviyo, tiktok |
Identifies the specific platform or partner |
utm_medium |
Yes | paid_social, email, cpc |
Maps traffic into GA4 Default Channel Groups |
utm_campaign |
Yes | bfcm_2026_vip |
Groups clicks for a specific sale or launch |
utm_content |
Optional | ugc_hook_b, hero_cta |
Splits creative variations or link placements |
utm_term |
Optional | organic_dog_treats |
Captures paid keywords or audience segments |
Worked Example: Meta UGC Ad URL
Suppose you are running a Black Friday UGC video ad on Instagram targeting cold buyers:
- Base URL:
https://yourstore.com/products/serum - Source:
instagram| Medium:paid_social| Campaign:bfcm_2026_prospecting| Content:ugc_creator_maya_v2 - Final Tagged URL:
https://yourstore.com/products/serum?utm_source=instagram&utm_medium=paid_social&utm_campaign=bfcm_2026_prospecting&utm_content=ugc_creator_maya_v2
4 Golden Rules for Clean Attribution
- Enforce Lowercase & Underscores: Always standardize on lowercase letters with underscores or hyphens (
paid_social, neverPaid Social). - Match GA4 Channel Definitions: Use
email,sms,cpc,paid_social, andaffiliateso GA4 avoids dumping sessions into "Unassigned." - Never Tag Internal Links: Keep UTMs strictly on external links pointing INTO your store.
- Measure Channel Profitability: Once tagged conversions flow into GA4, analyze campaign returns with our ROAS Calculator, Email ROI Calculator, and Influencer ROI Calculator.