Help article
UTM parameters with short links
Combine UTM tags with yhor short links to measure campaigns in Google Analytics while hiding long URLs from users.
Why pair UTM with short links
UTM parameters are appended to a URL so Google Analytics knows which channel and campaign sent the visitor. URLs carrying UTMs are long and ugly when shared on Facebook or LINE. Wrapping them in a short link keeps the share clean while preserving every campaign tag.
The five core UTM parameters
utm_source names the origin like facebook, line, or newsletter. utm_medium names the channel type like social, email, or cpc. utm_campaign names the promotion like summer-sale-2026, while utm_term tracks paid keywords and utm_content distinguishes A/B variants or link positions on the same page.
yhor does not auto-append UTM
You build the destination URL with UTMs first, then shorten it. Example: https://example.com/sale?utm_source=line&utm_medium=social&utm_campaign=launch. Use the Google Campaign URL Builder to avoid typos. We store the full URL and 307-redirect with the UTM string intact.
One short link per channel
Create a separate short link for each channel: one for utm_source=facebook, another for utm_source=line. This lets you compare per-channel performance both in yhor stats and in GA. Pair it with a custom alias like yhor.xyz/sale-fb and yhor.xyz/sale-line for memorable links.
Cross-check both reports
yhor records every click's referer with timestamp, IP, and user agent on the stats page. Google Analytics groups sessions by utm_campaign under Acquisition > Campaigns. The two will not match exactly because GA only counts visitors who loaded the script, but together they confirm trends and expose bot traffic.
Naming pitfalls to avoid
Stick to lowercase and use the same spelling across the entire campaign. GA treats facebook and Facebook as different sources. Replace spaces with hyphens like summer-sale, not summer sale. Never put personal data such as emails in UTMs because they leak through the destination site's referer.