{"id":5700,"date":"2021-12-13T10:25:55","date_gmt":"2021-12-13T10:25:55","guid":{"rendered":"https:\/\/helptest.mainbrainer.com\/knowledge-base\/utm-code\/"},"modified":"2022-06-20T10:39:39","modified_gmt":"2022-06-20T10:39:39","slug":"utm-code","status":"publish","type":"ht_kb","link":"https:\/\/www.mainbrainer.com\/hc\/en_IN\/a-z-guide\/utm-code\/","title":{"rendered":"UTM Code"},"content":{"rendered":"<div class=\"aricle_container\">\n<div class=\"aricle_container\">\n<h2>What is a UTM code?<\/h2>\n<p>A UTM code is a portion of text appended to URLs that enables you to generate Google Analytics data and track visits to that URL. It is one of the most important tools used by marketers to track the effectiveness of marketing campaigns.<\/p>\n<div style=\"padding:14px 0\"><\/div>\n<h2>Why is it important?<\/h2>\n<p>While traffic source information is available by default in Google Analytics, UTM codes help you delve deeper and uncover the exact content that is driving traffic to your campaigns. Here&#8217;s how:<\/p>\n<p>A UTM code gets appended at the end of your URL and typically looks like this <em>(see the highlighted text in the URL):<\/em><\/p>\n<p><span style=\"color: black; background: white;\">https:\/\/Username.mypages.no\/Black_Friday_?<span style=\"background-color: #f7da64;\">utm_medium=email&amp;utm_source=email-software&amp;utm_campaign=black-friday-sale-Black+Friday+&#8211;2021-08-18&amp;utm_content=view-button<\/span><\/span><\/p>\n<p>As you can see in the above URL, the UTM Code consists of distinct sections or individual tags called UTM Parameters (utm_medium, utm_source, utm_campaign, and utm_content).<\/p>\n<p>Here&#8217;s what these UTM Parameters mean:<\/p>\n<div>\n<h2>1. UTM Campaign<\/h2>\n<p>This parameter is used to identify the marketing campaign tied to your URL.<\/p>\n<\/div>\n<p style=\"margin-left: 40px;\"><strong>Example<\/strong>: utm_campaign=black-friday-sale<\/p>\n<p style=\"margin-left: 40px;\">\n<h2><strong>2<\/strong>. <strong>UTM Medium<\/strong><\/h2>\n<p>This parameter is used to identify the medium used to share\/access your URL. It helps you track what <em>type<\/em> of traffic the visitor originated from \u2013 Email, social media, cost per click, etc.<\/p>\n<p style=\"margin-left: 40px;\"><strong>Example<\/strong>: utm_medium=email<\/p>\n<p style=\"margin-left: 40px;\">\n<div>\n<h2><strong>3. UTM Source<\/strong><\/h2>\n<p>This parameter is used to define your campaign source, i.e., the source from where your traffic originates. It could be a website name, a search engine, a social network, etc.<\/p>\n<p style=\"margin-left: 40px;\"><strong>Example<\/strong>: utm_source=google<\/p>\n<p style=\"margin-left: 40px;\">\n<\/div>\n<div>\n<h2><strong>4. UTM Content<\/strong><\/h2>\n<p>When you have multiple links pointing to the same URL (such as a landing page with two CTA buttons), this parameter is used to identify which link was clicked.<\/p>\n<p style=\"margin-left: 40px;\"><strong>Example<\/strong>: utm_content=cta-bottom<\/p>\n<p style=\"margin-left: 40px;\">\n<\/div>\n<div>\n<h2><strong>5. UTM Term<\/strong><\/h2>\n<p>This parameter is used to identify the search term (keyword) that resulted in a site visit (in the case of paid search campaigns to track relevant ad-based keywords).<\/p>\n<p style=\"margin-left: 40px;\"><strong>Example<\/strong>: utm_term=camping-gear<\/p>\n<\/div>\n<div style=\"padding:14px 0\"><\/div>\n<h2>How do UTM codes work?<\/h2>\n<p>When a click is received on a URL with a UTM code, the UTM parameters are returned to your Google Analytics account.<\/p>\n<h2><\/h2>\n<h2><strong>How does that help you?<\/strong><\/h2>\n<p>Let&#8217;s say you wish to share your Landing Page on your business&#8217;s social media profiles. At the same time, you wish to track which social media profile drove the most traffic to your landing page.<\/p>\n<p>You can do so by appending different UTM codes to your landing page URLs when sharing the URL on different social media profiles.<\/p>\n<blockquote class=\"elevio-box-success\"><p><strong>For example:<\/strong><\/p>\n<ul style=\"list-style-type: circle;\">\n<li>When sharing the Landing Page on Facebook, append the UTM code with <strong>facebook<\/strong> as the source parameter.<\/li>\n<li>When sharing the Landing Page on LinkedIn, append the UTM code with <strong>linkedin<\/strong> as the source parameter.<\/li>\n<\/ul>\n<p>You can then view the traffic break-up by source in your Google Analytics account.<\/p><\/blockquote>\n<p>This is a simplified example explaining how UTM codes can help you. To better grasp your visitors&#8217; behavior and understand what exactly is driving the traffic, we recommend that you use all the five parameters in your UTM code.<\/p>\n<p>Now that you are familiar with how UTM codes work, let&#8217;s proceed and look at how you can <a href=\"\/hc\/en_IN\/landing-pages\/send-lp\/utm-code-url\/\" target=\"_blank\" rel=\"noopener\">generate a URL with a UTM code for your Landing Page.<\/a><\/p>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>A UTM code is a portion of text appended to URLs that enables you to generate google analytics data and track visits to that URL.<\/p>\n","protected":false},"author":1,"comment_status":"closed","ping_status":"open","template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"ht-kb-category":[316],"ht-kb-tag":[],"class_list":["post-5700","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-a-z-guide"],"_links":{"self":[{"href":"https:\/\/www.mainbrainer.com\/hc\/en_IN\/wp-json\/wp\/v2\/ht-kb\/5700","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mainbrainer.com\/hc\/en_IN\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/www.mainbrainer.com\/hc\/en_IN\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.mainbrainer.com\/hc\/en_IN\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mainbrainer.com\/hc\/en_IN\/wp-json\/wp\/v2\/comments?post=5700"}],"version-history":[{"count":5,"href":"https:\/\/www.mainbrainer.com\/hc\/en_IN\/wp-json\/wp\/v2\/ht-kb\/5700\/revisions"}],"predecessor-version":[{"id":10604,"href":"https:\/\/www.mainbrainer.com\/hc\/en_IN\/wp-json\/wp\/v2\/ht-kb\/5700\/revisions\/10604"}],"wp:attachment":[{"href":"https:\/\/www.mainbrainer.com\/hc\/en_IN\/wp-json\/wp\/v2\/media?parent=5700"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.mainbrainer.com\/hc\/en_IN\/wp-json\/wp\/v2\/ht-kb-category?post=5700"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.mainbrainer.com\/hc\/en_IN\/wp-json\/wp\/v2\/ht-kb-tag?post=5700"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}