What Are UTM Parameters?
UTM (Urchin Tracking Module) parameters are tags appended to the end of a URL that tell Google Analytics (and other analytics platforms) where a visitor came from. When someone clicks a link with UTM parameters, the analytics tool reads those tags and attributes the session to the correct campaign, source, and medium. Without UTM parameters, most email and social media traffic appears as 'Direct' — effectively invisible to analysis.
The Five UTM Parameters
utm_source identifies the traffic origin: google, facebook, newsletter, partner-site. utm_medium describes the marketing channel: cpc (cost-per-click), email, social, banner, affiliate. utm_campaign names the specific campaign: summer_sale, product_launch_q1, weekly_digest. utm_term captures paid search keywords: running+shoes, buy+laptop. utm_content differentiates links within the same ad or email: hero_button, footer_link, image_banner. The first three are required for meaningful attribution; the last two add precision.
Naming Conventions That Save You Later
UTM parameters are case-sensitive — 'Email' and 'email' appear as separate sources in your reports. Establish and document a naming convention before you start. Use lowercase everywhere. Use underscores or hyphens instead of spaces (spaces get encoded as %20, making reports messy). Date your campaigns if they recur: newsletter_2025-10 is clearer than newsletter_october. The UTM Builder at allio.tools auto-encodes all values correctly, preventing accidental spaces and special characters.
Email Marketing Attribution
Email traffic is notoriously misattributed. Many email clients strip referrer headers, causing clicks to land as Direct traffic. Adding UTM parameters to every link in your emails solves this completely. Use utm_source=newsletter (or your email platform name), utm_medium=email, and utm_campaign with a descriptive campaign name. For A/B testing subject lines or button colors, use utm_content to distinguish the variants.
Social Media and Dark Social
Links shared in messaging apps (WhatsApp, Telegram, iMessage), private groups, and DMs are called 'dark social' — they arrive with no referrer data and appear as Direct. If you tag your social posts with UTM parameters, clicks from anyone who copies and shares that link will still carry the attribution. This is especially important for content you expect to go viral or be widely shared.
Common Mistakes to Avoid
Never add UTM parameters to internal links on your own website — this resets the session source mid-visit and breaks attribution for existing visitors. Do not add UTMs to your homepage URL in your Google My Business listing or social media bio; this turns all organic brand searches into paid-looking traffic. Always test your tagged URLs before launching a campaign — click the link yourself and verify the parameters appear correctly in your analytics real-time view.