How to Use UTM Parameters for Marketing Campaign Tracking
A step-by-step tutorial on using UTM parameters to track your marketing campaigns in Google Analytics — with a free UTM builder tool.
Try it yourself — free & instant
Every tool mentioned in this article is available on Xevon Tools. No sign-up, no uploads, no watermarks.
Browse all 150+ toolsWhat are UTM parameters?
UTM (Urchin Tracking Module) parameters are tags you add to the end of a URL to track where your website traffic comes from. When someone clicks a link with UTM parameters, those tags are sent to your analytics platform (typically Google Analytics), which then attributes the visit to the specific campaign, source, and medium you defined.
Without UTM parameters, your analytics might show traffic from "social" or "referral" without telling you which specific post, email, or ad drove the click. With them, you get granular attribution data that tells you exactly which marketing efforts are working.
The five UTM parameters
There are five standard UTM parameters. The first three are required; the last two are optional:
- utm_source — Identifies where the traffic comes from. Examples: google, facebook, newsletter, linkedin.
- utm_medium — Identifies the marketing medium. Examples: cpc (cost-per-click), email, social, banner.
- utm_campaign — Identifies the specific campaign. Examples: spring_sale, product_launch, weekly_digest.
- utm_term (optional) — Identifies paid search keywords. Example: running+shoes.
- utm_content (optional) — Differentiates between similar links in the same campaign. Useful for A/B testing. Examples: header_link, footer_link, blue_button.
Building UTM links with Xevon Tools
Constructing UTM URLs manually is tedious and error-prone. Forgetting to add a question mark, misplacing an ampersand, or leaving spaces in parameter values all lead to broken tracking. The UTM Builder at Xevon Tools handles the formatting for you:
- Enter your destination URL (the page you want to send people to).
- Fill in the UTM parameters — source, medium, campaign, and optionally term and content.
- The tool constructs the complete URL with all parameters properly formatted and encoded.
- Copy the URL and use it in your marketing materials.
The tool automatically handles special characters using proper URL encoding — the same encoding you can inspect with the URL Encoder/Decoder if you ever need to debug a UTM link.
Naming conventions that scale
The biggest mistake marketers make with UTM parameters is inconsistent naming. "Facebook", "facebook", "fb", and "FB" all create separate entries in your analytics. Establish conventions and stick to them:
- Use lowercase for everything. Google Analytics is case-sensitive, so standardizing on lowercase prevents duplicate entries.
- Use underscores or hyphens instead of spaces. Spaces get encoded as %20 and make URLs ugly and hard to read.
- Be specific but concise. "spring_sale_2026" is better than "sale" but "spring_2026_product_category_discount_email_campaign" is too long.
- Document your conventions. Keep a shared spreadsheet or document listing your standard source, medium, and campaign values.
Reading UTM data in Google Analytics
Once people click your UTM-tagged links, the data appears in Google Analytics under Acquisition reports. You can see:
- Which sources drive the most traffic.
- Which mediums have the highest conversion rates.
- Which campaigns generate the most revenue.
- Which content variations perform better in A/B tests.
This data lets you allocate your marketing budget to the channels and campaigns that actually deliver results, rather than guessing or relying on vanity metrics.
Common mistakes to avoid
Tagging internal links
Never use UTM parameters on links within your own website. Internal UTM tags override the original attribution — if someone arrived from Google and then clicks an internal UTM-tagged link, the source changes from "google" to whatever you put in the internal tag. Only use UTMs on external links pointing to your site.
Forgetting to encode special characters
If your campaign name contains spaces or special characters, they need to be URL-encoded. The UTM Builder handles this automatically, but if you are constructing URLs manually, use the URL Encoder/Decoder to encode parameter values.
Using UTMs for every single link
Not every link needs UTM parameters. Use them for links in marketing campaigns, email newsletters, social media posts, and paid ads. Organic search and direct traffic are tracked automatically by analytics platforms.
Start tracking today
UTM parameters are the simplest, most reliable way to understand which marketing efforts drive traffic and conversions. Spend five minutes building tagged URLs with the UTM Builder before launching your next campaign, and you will have the data you need to make smarter marketing decisions.
