How to Create a Custom UTM Link for Your Next Campaign
You just spent $5,000 on three different marketing channels: a sponsored newsletter, a Facebook ad campaign, and an influencer shoutout on Twitter.
A week later, you open Google Analytics. Your traffic spiked, but 80% of it is categorized as "Direct / None."
You have absolutely no idea which of the three channels actually drove sales, meaning you have no idea where to allocate your next $5,000.
This is the "dark traffic" problem. And the only way to solve it is by learning how to UTM builder.
Why You Lose Referral Data
When a user clicks a link from one website to another, the browser usually sends a "referrer" header, telling the destination where the user came from.
However, this data is routinely stripped out in modern web environments:
- Mobile Apps: When a user clicks a link inside the Twitter or Facebook mobile app and it opens in Safari or Chrome, the referrer is lost.
- Email Clients: Desktop Outlook, Apple Mail, and Gmail strip referral data for privacy.
- HTTPS to HTTP: If your site is HTTP (which it shouldn't be) and the source is HTTPS, referral data is dropped.
If you don't explicitly tag your URLs, almost all your expensive marketing efforts will show up in analytics as "Direct traffic" — as if the user magically typed your URL into their browser.
The Anatomy of a UTM Link
UTM (Urchin Tracking Module) parameters are simply tags added to the end of a URL. Google Analytics and PostHog read these tags and correctly categorize the traffic.
The three mandatory tags for any campaign are:
- Source (
utm_source): The specific entity sending traffic (e.g.,twitter,newsletter,google). - Medium (
utm_medium): The marketing channel or delivery method (e.g.,social,email,cpc). - Campaign (
utm_campaign): The specific promotion or strategy (e.g.,black_friday_2026,retargeting_q3).
The Danger of Typing Links Manually
Many marketers try to construct these links by manually typing ?utm_source=twitter&utm_medium=social at the end of their URLs.
This is a terrible idea for one reason: The Typo Tax.
Analytics platforms are case-sensitive. If you type utm_medium=Email on Monday and utm_medium=email on Tuesday, Google Analytics will create two entirely separate channels. If you accidentally use a ? instead of an & between tags, the entire link breaks, and you lose all tracking for that campaign.
The Golden Rules of UTM Naming
To keep your analytics dashboard clean, you need strict naming conventions:
- Always use lowercase. Never capitalize sources or mediums.
- Never use spaces. Use underscores (
summer_sale) or hyphens (summer-sale), and stick to one convention across your whole company. - Keep it simple. Don't use
utm_source=facebook.com/ads. Just usefacebook.
By using a dedicated UTM campaign builder, you eliminate syntax errors. You paste your URL, fill in the fields, and the tool generates a perfectly encoded link with the correct ? and & placements.
Stop guessing your ROI. Tag every link before you publish it.
Loading comments...