{"id":72569,"date":"2026-11-28T13:18:13","date_gmt":"2026-11-28T07:48:13","guid":{"rendered":"https:\/\/www.quickonlinetips.com\/archives\/?page_id=72569"},"modified":"2026-11-28T13:18:13","modified_gmt":"2026-11-28T07:48:13","slug":"utm-link-builder","status":"publish","type":"page","link":"https:\/\/www.quickonlinetips.com\/archives\/tools\/utm-link-builder\/","title":{"rendered":"UTM Link Builder: Add Campaign Tracking to Any URL"},"content":{"rendered":"<p>Use this free <strong>UTM link builder<\/strong> to add campaign tracking tags to any web address. Fill in where the link will be shared and what the campaign is called, and you get a ready-to-use tracked link that shows up clearly in your analytics reports.<\/p>\n<div class=\"qt-tool\" id=\"qt-utm\"><p class=\"qt-label\" style=\"font-size:1.15em;margin:0 0 10px\"><strong>Step 1:<\/strong> Fill in your link and campaign details<\/p><div class=\"qt-field\"><label for=\"qt-utm-url\">Website link (required)<\/label><input type=\"text\" id=\"qt-utm-url\" value=\"\" placeholder=\"https:\/\/www.example.com\/page\" spellcheck=\"false\" autocapitalize=\"off\" autocomplete=\"off\" inputmode=\"url\"><\/div><div class=\"qt-field\"><label for=\"qt-utm-source\">Campaign source (required)<\/label><input type=\"text\" id=\"qt-utm-source\" list=\"qt-utm-sl\" placeholder=\"newsletter, facebook, partner_site\" autocomplete=\"off\"><datalist id=\"qt-utm-sl\"><option value=\"newsletter\"><option value=\"facebook\"><option value=\"instagram\"><option value=\"linkedin\"><option value=\"youtube\"><option value=\"pinterest\"><option value=\"whatsapp\"><\/datalist><\/div><div class=\"qt-field\"><label for=\"qt-utm-medium\">Campaign medium (required)<\/label><input type=\"text\" id=\"qt-utm-medium\" list=\"qt-utm-ml\" placeholder=\"email, social, cpc, banner\" autocomplete=\"off\"><datalist id=\"qt-utm-ml\"><option value=\"email\"><option value=\"social\"><option value=\"cpc\"><option value=\"banner\"><option value=\"referral\"><option value=\"affiliate\"><option value=\"qr\"><\/datalist><\/div><div class=\"qt-field\"><label for=\"qt-utm-campaign\">Campaign name (required)<\/label><input type=\"text\" id=\"qt-utm-campaign\" placeholder=\"spring_sale\" autocomplete=\"off\"><\/div><div class=\"qt-field\"><label for=\"qt-utm-term\">Campaign term (optional, for paid keywords)<\/label><input type=\"text\" id=\"qt-utm-term\" placeholder=\"running_shoes\" autocomplete=\"off\"><\/div><div class=\"qt-field\"><label for=\"qt-utm-content\">Campaign content (optional, to tell versions apart)<\/label><input type=\"text\" id=\"qt-utm-content\" placeholder=\"blue_button\" autocomplete=\"off\"><\/div><p><label><input type=\"checkbox\" id=\"qt-utm-low\" checked> Use lowercase and replace spaces with underscores (recommended)<\/label><\/p><p class=\"qt-label\" style=\"font-size:1.15em;margin:18px 0 10px\"><strong>Step 2:<\/strong> Press Build link, then read your link in the green box<\/p><div class=\"qt-row\"><button type=\"button\" class=\"qt-btn qt-btn-big\" id=\"qt-utm-go\">Build link<\/button><button type=\"button\" class=\"qt-btn qt-btn-ghost\" id=\"qt-utm-copy\">Copy link<\/button><button type=\"button\" class=\"qt-btn qt-btn-ghost qtx-nomark\" id=\"qt-utm-reset\">\u21ba Start over<\/button><\/div><div class=\"qt-status\" id=\"qt-utm-status\" aria-live=\"polite\"><\/div><div id=\"qt-utm-out\"><\/div><p class=\"qt-note\"><strong>Private by design:<\/strong> Your link is built in your browser. Nothing you type is sent to or stored on our server.<\/p><\/div>\n<script>(function () { function qtReady(fn) { if (document.readyState === 'loading') { document.addEventListener('DOMContentLoaded', fn); } else { fn(); } } function qtCopy(text, statusEl, okMsg) { function done(ok) { if (statusEl) { statusEl.textContent = ok ? (okMsg || 'Copied to clipboard.') : 'Press Ctrl+C (or Cmd+C) to copy.'; } } function fallback() { var ta = document.createElement('textarea'); ta.value = text; ta.setAttribute('readonly', ''); ta.style.position = 'fixed'; ta.style.top = '-1000px'; document.body.appendChild(ta); ta.select(); var ok = false; try { ok = document.execCommand('copy'); } catch (e) { ok = false; } document.body.removeChild(ta); done(ok); } if (navigator.clipboard) { if (window.isSecureContext) { navigator.clipboard.writeText(text).then(function () { done(true); }, fallback); return; } } fallback(); } function el(tag, cls, text) { var n = document.createElement(tag); if (cls) { n.className = cls; } if (text !== undefined) { n.textContent = text; } return n; } qtReady(function () { var url = document.getElementById('qt-utm-url'); if (!url) { return; } function $(id) { return document.getElementById(id); } var status = $('qt-utm-status'), out = $('qt-utm-out'), last = ''; var ids = ['source', 'medium', 'campaign', 'term', 'content']; function fail(msg) { status.textContent = msg; status.classList.add('qt-error'); } function clean(v, low) { v = v.trim(); if (low) { v = v.toLowerCase().split(' ').join('_'); } return v; } function build() { status.classList.remove('qt-error'); status.textContent = ''; out.textContent = ''; last = ''; var raw = url.value.trim(); if (!raw) { fail('Step 1 first: enter the website link you want to track.'); return; } if (raw.indexOf(':\/\/') === -1) { raw = 'https:\/\/' + raw; } var u = null; try { u = new URL(raw); } catch (e) { u = null; } if (!u) { fail('That link does not look right. Try something like https:\/\/www.example.com\/page'); return; } var okp = u.protocol === 'http:' ? true : u.protocol === 'https:'; if (!okp) { fail('Only http and https links can be tracked.'); return; } var low = $('qt-utm-low').checked, vals = {}; ids.forEach(function (k) { vals[k] = clean($('qt-utm-' + k).value, low); }); if (!vals.source) { fail('Step 1 first: fill in the campaign source (where the link will be shared).'); return; } if (!vals.medium) { fail('Step 1 first: fill in the campaign medium (the type of channel, such as email or social).'); return; } if (!vals.campaign) { fail('Step 1 first: fill in the campaign name.'); return; } ids.forEach(function (k) { if (vals[k]) { u.searchParams.set('utm_' + k, vals[k]); } }); last = u.toString(); var ans = el('div', 'qtx-answer'); var h = el('p', 'qtx-answer-h', 'Your answer: your tracked link'); ans.appendChild(h); var ta = el('textarea', ''); ta.readOnly = true; ta.rows = 4; ta.value = last; ta.style.width = '100%'; ta.style.boxSizing = 'border-box'; ta.style.fontFamily = 'monospace'; ta.setAttribute('aria-label', 'Your tracked link'); ans.appendChild(ta); var tbl = el('table', 'qt-table'); var tb = el('tbody'); tbl.appendChild(tb); ids.forEach(function (k) { if (vals[k]) { var tr = el('tr'); tr.appendChild(el('th', '', 'utm_' + k)); tr.appendChild(el('td', '', vals[k])); tb.appendChild(tr); } }); ans.appendChild(tbl); if (!low) { ans.appendChild(el('p', 'qt-note', 'Tracking values are case sensitive, so Email and email count as two different sources. Keeping everything lowercase avoids split reports.')); } out.appendChild(ans); status.textContent = 'Done. Press Copy link to copy it.'; } $('qt-utm-go').addEventListener('click', build); $('qt-utm-copy').addEventListener('click', function () { if (last) { qtCopy(last, status, 'Link copied.'); } else { status.textContent = 'Step 2 first: press Build link.'; } }); $('qt-utm-reset').addEventListener('click', function () { url.value = ''; ids.forEach(function (k) { $('qt-utm-' + k).value = ''; }); $('qt-utm-low').checked = true; out.textContent = ''; status.textContent = ''; status.classList.remove('qt-error'); last = ''; url.focus(); }); }); })();<\/script>\n<div class=\"qt-next\"><p class=\"qt-next-h\">Try another free tool<\/p><div class=\"qt-next-g\"><a href=\"https:\/\/www.quickonlinetips.com\/archives\/tools\/meta-tag-generator\/\">Meta Tag Generator<\/a><a href=\"https:\/\/www.quickonlinetips.com\/archives\/tools\/robots-txt-generator\/\">Robots.txt Generator<\/a><a href=\"https:\/\/www.quickonlinetips.com\/archives\/tools\/redirect-checker\/\">Redirect Checker<\/a><a href=\"https:\/\/www.quickonlinetips.com\/archives\/tools\/qr-code-generator\/\">QR Code Generator<\/a><a href=\"https:\/\/www.quickonlinetips.com\/archives\/tools\/url-expander\/\">URL Expander<\/a><a href=\"https:\/\/www.quickonlinetips.com\/archives\/tools\/character-counter\/\">Character Counter<\/a><\/div><\/div>\n<p><em>This tool only builds links in your browser. Whether and how the tags appear in your reports depends on your analytics tool. QuickOnlineTips is not affiliated with any analytics provider.<\/em><\/p>\n<p><strong>Quick answer:<\/strong> Enter your page link, then the source (where the link goes, such as <code>newsletter<\/code>), the medium (the type of channel, such as <code>email<\/code>) and a campaign name. Click <strong>Build link<\/strong> and copy the result.<\/p>\n<h2>How to build a UTM link<\/h2>\n<ol>\n<li>Enter the full link to the page you want people to land on.<\/li>\n<li>Fill in the three required boxes: source, medium and campaign name. Add a term or content value only if you need them.<\/li>\n<li>Leave the lowercase option ticked. It keeps your reports tidy.<\/li>\n<li>Click <strong>Build link<\/strong>, then <strong>Copy link<\/strong>, and use the new link in your email, post or ad.<\/li>\n<\/ol>\n<h2>What each tag means<\/h2>\n<table class=\"qt-ref\">\n<thead>\n<tr>\n<th>Tag<\/th>\n<th>What it tells you<\/th>\n<th>Example<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>utm_source<\/td>\n<td>Where the visitor came from<\/td>\n<td>newsletter, facebook<\/td>\n<\/tr>\n<tr>\n<td>utm_medium<\/td>\n<td>The type of channel<\/td>\n<td>email, social, cpc<\/td>\n<\/tr>\n<tr>\n<td>utm_campaign<\/td>\n<td>The name of the campaign<\/td>\n<td>spring_sale<\/td>\n<\/tr>\n<tr>\n<td>utm_term<\/td>\n<td>The paid keyword (optional)<\/td>\n<td>running_shoes<\/td>\n<\/tr>\n<tr>\n<td>utm_content<\/td>\n<td>Which ad or link version (optional)<\/td>\n<td>blue_button<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>Tips for clean tracking<\/h2>\n<ul>\n<li><strong>Pick a naming style and stick to it.<\/strong> Mixing Email, email and e-mail splits one channel into three lines in your reports.<\/li>\n<li><strong>Never use tagged links inside your own site.<\/strong> They can start a new visit and hide where people really came from.<\/li>\n<li><strong>Keep a list of what you used.<\/strong> A simple spreadsheet of campaign names saves confusion later.<\/li>\n<li><strong>Shorten long links<\/strong> before sharing them. See our list of the <a href=\"https:\/\/www.quickonlinetips.com\/archives\/2005\/06\/short-tiny-small-urls-links\/\">best free URL shorteners<\/a>.<\/li>\n<li><strong>Check your final link<\/strong> with the <a href=\"https:\/\/www.quickonlinetips.com\/archives\/tools\/redirect-checker\/\">Redirect Checker<\/a> to make sure the tags survive any redirects.<\/li>\n<\/ul>\n<h2>FAQ<\/h2>\n<h3>Is this UTM link builder free?<\/h3>\n<p>Yes. It is free, needs no sign-up, and runs in your browser. The links you build are not sent to or stored on our server.<\/p>\n<h3>Are UTM values case sensitive?<\/h3>\n<p>Yes. Email and email are counted as different sources. That is why the tool lowercases values by default.<\/p>\n<h3>Can I add UTM tags to a link that already has a question mark?<\/h3>\n<p>Yes. The tool adds the tags correctly whether or not the link already has other parameters or a section anchor.<\/p>\n<h3>Do UTM tags affect SEO?<\/h3>\n<p>Not directly, but tagged links can create duplicate-looking addresses. Pages normally handle this with a canonical tag. Our <a href=\"https:\/\/www.quickonlinetips.com\/archives\/tools\/meta-tag-generator\/\">meta tag generator<\/a> can write one for you.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Use this free UTM link builder to add campaign tracking tags to any web address. Fill in where the link will be shared and what the campaign is called, and you get a ready-to-use tracked link that shows up clearly in your analytics reports. This tool only builds links in your browser. Whether and how&#8230;<\/p>\n","protected":false},"author":7,"featured_media":72579,"parent":65595,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","footnotes":""},"class_list":["post-72569","page","type-page","status-publish","has-post-thumbnail","hentry"],"_links":{"self":[{"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/pages\/72569","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/comments?post=72569"}],"version-history":[{"count":1,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/pages\/72569\/revisions"}],"predecessor-version":[{"id":72583,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/pages\/72569\/revisions\/72583"}],"up":[{"embeddable":true,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/pages\/65595"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/media\/72579"}],"wp:attachment":[{"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/media?parent=72569"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}