Your Definitive Guide to UTM Codes

&NewLine;<&excl;-- WP QUADS Content Ad Plugin v&period; 2&period;0&period;92 -->&NewLine;<div class&equals;"quads-location quads-ad1" id&equals;"quads-ad1" style&equals;"float&colon;none&semi;margin&colon;0px&semi;">&NewLine;&NewLine;<&sol;div>&NewLine;<p>&nbsp&semi;<&sol;p>&NewLine;<p>UTM stands for Urchin Tracking Module and is a string appended to a URL to allow Google Analytics properly attribute a visit to the correct source&comma; medium&comma; campaign&comma; and more&period; <a href&equals;"https&colon;&sol;&sol;ga-dev-tools&period;appspot&period;com&sol;campaign-url-builder&sol;" target&equals;"&lowbar;blank" rel&equals;"noopener noreferrer">You can find Google&&num;8217&semi;s tool to make your own UTM codes here&period;<&sol;a> Don&&num;8217&semi;t worry&period; They&&num;8217&semi;re pretty simple to figure out and invaluable when you start running campaigns&comma; want to see how visitors from specific sources interact with your website&comma; and more&period;<&sol;p>&NewLine;<p><strong><em>http&colon;&sol;&sol;marketinghackers&period;net&sol;&quest;utm&lowbar;source&equals;adwords&amp&semi;utm&lowbar;medium&equals;cpc&amp&semi;utm&lowbar;campaign&equals;example&amp&semi;utm&lowbar;term&equals;marketing&lowbar;hacks&amp&semi;utm&lowbar;content&equals;ad&lowbar;group&lowbar;one<&sol;em><&sol;strong> is an example URL with a UTM code appended to it&period;<&sol;p>&NewLine;<p>Lets go through the fields&period;<&sol;p>&NewLine;<ul>&NewLine;<li><em>http&colon;&sol;&sol;marketinghackers&period;net&sol;<&sol;em> is the <strong>base URL<&sol;strong> or <strong>Website URL<&sol;strong>&period; That&&num;8217&semi;s the actual link to the page&period; It can be any page on your website&period; I used the homepage for Marketing Hackers for the example&period;<&sol;li>&NewLine;<li><em>&quest;utm&lowbar;source&equals;adwords<&sol;em> is the <strong>Campaign Source<&sol;strong>&comma; or basically where you&&num;8217&semi;re telling Google Analytics that the click originated from&period; In this example I used Google AdWords or just &&num;8220&semi;adwords&period;&&num;8221&semi; It&&num;8217&semi;s the <strong>referrer<&sol;strong>&period; If you were putting this link on another website&comma; you&&num;8217&semi;d set the source to that website&&num;8217&semi;s name&period;<&sol;li>&NewLine;<li><em>utm&lowbar;medium&equals;cpc<&sol;em> is the <strong>Campaign Medium<&sol;strong>&comma; or the marketing medium by which the click was generated&period; In this example it&&num;8217&semi;s &&num;8220&semi;cpc&&num;8221&semi; or cost-per-click&comma; a standard way of buying and paying for display ads&period;<&sol;li>&NewLine;<li><em>&amp&semi;utm&lowbar;campaign&equals;example<&sol;em> is the <strong>Campaign Name<&sol;strong>&period; I named this campaign &&num;8220&semi;example&period;&&num;8221&semi; It&&num;8217&semi;s a good practice to name your campaigns in both your marketing dashboards&comma; Google Analytics&comma; and the dashboard of any paid campaigns you make in any 3rd party marketing platforms like Outbrain&comma; Facebook&comma; Twitter&comma; etc&period;<&sol;li>&NewLine;<li><em>&amp&semi;utm&lowbar;term&equals;marketing&lowbar;hacks<&sol;em> is the <strong>Campaign Term<&sol;strong>&period; In this example UTM string I used &&num;8220&semi;marketing&lowbar;hacks&&num;8221&semi; to denote that the AdWords keywords that initiated the click were &&num;8220&semi;marketing&&num;8221&semi; and &&num;8220&semi;hacks&period;&&num;8221&semi; This is a good way to measure a campaign&&num;8217&semi;s performance in Google Analytics by which keywords you used&period; If you ran an otherwide identical campaign except that your keywords in AdWords were &&num;8220&semi;marketing&&num;8221&semi; and &&num;8220&semi;hackers&comma;&&num;8221&semi; you could measure performance for each set individually&period;<&sol;li>&NewLine;<li><em>&amp&semi;utm&lowbar;content&equals;ad&lowbar;group&lowbar;one<&sol;em> is the <strong>Campaign Content<&sol;strong>&period; Basically this is used to differentiate otherwise identical ads except for the copy &lpar;both images and text&rpar;&period;<&sol;li>&NewLine;<&sol;ul>&NewLine;<p>Got a good handle on it all now&quest; You don&&num;8217&semi;t even have to only use Google&&num;8217&semi;s UTM codes and can set custom parameters as well that will show up as part of the URL in Google Analytics&period; A good use for this is measuring navigation on the site&period; Lets say you set the URL on the main menu of http&colon;&sol;&sol;marketinghackers&period;net&sol; to be &&num;8220&semi;http&colon;&sol;&sol;marketinghackers&period;net&sol;about&sol;&quest;ref&equals;TN&&num;8221&semi; instead of its default &&num;8220&semi;http&colon;&sol;&sol;marketinghackers&period;net&sol;about&sol;&period;&&num;8221&semi; &lpar;&quest;ref&equals;TN stands for Reference and Top Navigation&comma; respectively&rpar;&period; Now whenever someone clicks &&num;8220&semi;About&&num;8221&semi; on the homepage&comma; those pageviews would have their URLs have &&num;8220&semi;&quest;ref&equals;TN&&num;8221&semi; appended to them&comma; appear separately in Google Analytics&comma; and you would know how many visitors click to the about page during their visit&comma; and what page they were reading when they did&period; Make sense&quest;<&sol;p>&NewLine;<p>It&&num;8217&semi;s a good idea to keep all your UTM codes and ref codes in a spreadsheet to keep them tracked and organized&period; The UTM&sol;ref slug always starts with a &&num;8220&semi;&quest;&&num;8221&semi; and additional codes are added with &&num;8220&semi;&amp&semi;&&num;8221&semi; like in all the examples&period; Let me know in the comments if you have any questions or suggestions&excl;&NewLine;<&excl;-- WP QUADS Content Ad Plugin v&period; 2&period;0&period;92 -->&NewLine;<div class&equals;"quads-location quads-ad2" id&equals;"quads-ad2" style&equals;"float&colon;none&semi;margin&colon;0px&semi;">&NewLine;&NewLine;<&sol;div>&NewLine;<&sol;p>&NewLine;<h3><em><a href&equals;"http&colon;&sol;&sol;marketinghackers&period;net&sol;website-optimization&sol;definitive-new-website-checklist-results&sol;" target&equals;"&lowbar;blank" rel&equals;"noopener noreferrer">Also&comma; check out my article Your Definitive New Website Checklist for Results to supercharge your SEO and more&excl;<&sol;a><&sol;em><&sol;h3>&NewLine;&NewLine;

Mont has 10+ years experience in digital marketing. Experienced with LAMP, CMS and HTML5/CSS3 website development, Mont also excels at math and C/C++/C#. He has managed multi-million dollar media buys though Outbrain, Facebook, Taboola, Yahoo Native, Google AdWords and a number of other display advertising vendors. Mont's written work has regularly appeared on the first page of Google News results and the homepage of Yahoo! He has a B.Sc. in Business Administration with a concentration in Marketing from Drexel University.
Mont Cessna

Mont has 10+ years experience in digital marketing. Experienced with LAMP, CMS and HTML5/CSS3 website development, Mont also excels at math and C/C++/C#. He has managed multi-million dollar media buys though Outbrain, Facebook, Taboola, Yahoo Native, Google AdWords and a number of other display advertising vendors. Mont's written work has regularly appeared on the first page of Google News results and the homepage of Yahoo! He has a B.Sc. in Business Administration with a concentration in Marketing from Drexel University.

Leave a Comment

View Comments

Share
Published by
Mont Cessna

Recent Posts

The Top 5 Facebook Advertising Mistakes I See Clients Make

I spend a lot of money on Facebook advertising for both businesses and other marketing…

7 years ago

The Top 5 Mistakes I See Digital Marketing Clients Make

I've worked as a digital marketing consultant for dozens of businesses across different industries and…

7 years ago

Interview of F5Bot Founder Lewis Van Winkle

F5Bot is a free service that emails you when your selected keywords are mentioned on Reddit, Hacker…

8 years ago

How Marketing Hackers Turbocharge Growth Hacking

Marketing Hackers is a new media and digital marketing consulting company that focuses on growth…

8 years ago

Promising Opportunities for Marketers Using Crytocurrency

Marketers have often leveraged the internet's large platforms like social media for marketing. Nevertheless, increasing…

8 years ago

Blockchain Technology Is Disrupting Traditional Digital Advertising

In Laymen's terms, Blockchain Technology can be explained as spreadsheets or ledgers which are shared…

8 years ago