{"id":71565,"date":"2023-07-05T20:52:26","date_gmt":"2023-07-05T20:52:26","guid":{"rendered":"https:\/\/mailrelay.com\/glossary\/utm\/"},"modified":"2026-10-02T15:28:06","modified_gmt":"2026-10-02T15:28:06","slug":"utm","status":"publish","type":"glossary","link":"https:\/\/mailrelay.com\/en\/glossary\/utm\/","title":{"rendered":"UTM"},"content":{"rendered":"<p>UTM is basically a series of codes that are included at the end of URLs for tracking the origin of the traffic that websites receive.<\/p>\n<p>These are small fragments that are vital for web analytics, since they allow <a href=\"https:\/\/mailrelay.com\/en\/glossary\/google-analytics\/\" target=\"_blank\" rel=\"noopener\">Google Analytics<\/a> to offer complete traceability of the campaigns that the traffic comes from.<\/p>\n<h2>1. Origins of UTMs<\/h2>\n<p>UTM is the acronym of the term <em>Urchin Traffic Monitor<\/em> (Urchin Tracking Module). A company called Urchin developed measurement software with the same name.<\/p>\n<p>In 2005 it was bought by Google and this technology was used for creating what we know as Google Analytics.<\/p>\n<h2>2. Types of UTM codes<\/h2>\n<p>Depending on the information you want to collect using Google Analytics, you must use a different type of UTM code or parameter, each of which is used to identify each type of information. The most common ones are:<\/p>\n<h3>UTM campaign: utm_campaign<\/h3>\n<p>It is used to find out which campaign customers arrive through; the usual approach is to enter the name of the marketing campaign so it is easy to identify.<\/p>\n<p>For example: <code>utm_campaign=navidad_2023<\/code> (arrived from the Christmas campaign)<\/p>\n<h3>UTM medium: utm_medium<\/h3>\n<p>This UTM is used to find out the medium or channel through which people have reached your website. Such as <a href=\"https:\/\/mailrelay.com\/en\/glossary\/banner\/\" target=\"_blank\" rel=\"noopener\">banners<\/a>, pay per click (PPC), cost per click (<a href=\"https:\/\/mailrelay.com\/en\/glossary\/cpc-cost-per-click\/\" target=\"_blank\" rel=\"noopener\">CPC<\/a>), emails, social media (social), etc.<\/p>\n<p>For example: <code>utm_medium=social<\/code> (The user came from a social media platform).<\/p>\n<h3>UTM content: utm_content<\/h3>\n<p>It is used to find out which content brings the most visits to a website. Thus, it is a vital parameter for A\/B testing. It is optional, but its use is common.<\/p>\n<p>For example: <code>utm_content=asunto_con_CTA<\/code> &#038; <code>utm_content=asunto_sin_CTA_largo<\/code>. This allows you to find out which of the two brings more traffic, so you can keep using the one that performs best.<\/p>\n<h3>UTM term: utm_term<\/h3>\n<p>This optional parameter, which doesn&#8217;t always need to be used, collects the keyword people used to find you. It is very useful for finding out which keywords you rank best for, and for SEM campaigns.<\/p>\n<p>For example: <code>utm_term=glosario_marketing<\/code>.<\/p>\n<h3>UTM source: utm_source<\/h3>\n<p>In this case it is used to know the source through which the user has arrived. This source could be a search engine, a social network, an email or a referral from another website.<\/p>\n<p>For example: <code>utm_source=twitter<\/code> (lets you know the user came from Twitter).<\/p>\n<h2>3. How do you create a UTM?<\/h2>\n<p>We already know different types of UTM codes, now let&#8217;s see an example of a URL where you use all the ones shown above.<\/p>\n<p>This URL consists of our site&#8217;s URL, the campaign medium, name, source, terms and content.<\/p>\n<p><code>https:\/\/email.mailrelay.com\/?utm_medium=cpc&utm_campain=vacaciones_2023&utm_content=8000_gratius&utm_term=email_marketing&utm_source=adwords<\/code><\/p>\n\n<h2 class=\"wp-block-heading\">Related entries<\/h2>\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/mailrelay.com\/en\/glossary\/local-seo\/\">Local SEO<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/mailrelay.com\/en\/glossary\/negative-seo\/\">Negative SEO<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/mailrelay.com\/en\/glossary\/seo-search-engine-optimization\/\">SEO (Search Engine Optimization)<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/mailrelay.com\/en\/glossary\/serp-search-engine-results-page\/\">SERP (Search Engine Results Page)<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/mailrelay.com\/en\/glossary\/email-service\/\">Email Service<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/mailrelay.com\/en\/glossary\/email-server\/\">Email Server<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/mailrelay.com\/en\/glossary\/server\/\">Server<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/mailrelay.com\/en\/glossary\/dedicated-email-servers\/\">Dedicated email servers<\/a><\/li>\n<\/ul>\n\n<p class=\"wp-block-paragraph\">Find out how <a href=\"https:\/\/mailrelay.com\/en\/\">Mailrelay<\/a> can help you with your email marketing strategy.<\/p>\n","protected":false},"template":"","class_list":["post-71565","glossary","type-glossary","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>UTM - Mailrelay<\/title>\n<meta name=\"description\" content=\"UTM is basically a series of codes that are included at the end of URLs for tracking the origin of the traffic that websites receive.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/mailrelay.com\/en\/glossary\/utm\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"UTM - Mailrelay\" \/>\n<meta property=\"og:description\" content=\"UTM is basically a series of codes that are included at the end of URLs for tracking the origin of the traffic that websites receive.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/mailrelay.com\/en\/glossary\/utm\/\" \/>\n<meta property=\"og:site_name\" content=\"Mailrelay\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Mailrelay\/\" \/>\n<meta property=\"article:modified_time\" content=\"2026-10-02T15:28:06+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@mailrelay\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/mailrelay.com\\\/en\\\/glossary\\\/utm\\\/\",\"url\":\"https:\\\/\\\/mailrelay.com\\\/en\\\/glossary\\\/utm\\\/\",\"name\":\"UTM - Mailrelay\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/mailrelay.com\\\/en\\\/#website\"},\"datePublished\":\"2023-07-05T20:52:26+00:00\",\"dateModified\":\"2026-10-02T15:28:06+00:00\",\"description\":\"UTM is basically a series of codes that are included at the end of URLs for tracking the origin of the traffic that websites receive.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/mailrelay.com\\\/en\\\/glossary\\\/utm\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/mailrelay.com\\\/en\\\/glossary\\\/utm\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/mailrelay.com\\\/en\\\/glossary\\\/utm\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/mailrelay.com\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"UTM\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/mailrelay.com\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/mailrelay.com\\\/en\\\/\",\"name\":\"Mailrelay\",\"description\":\"Mailrelay.com - Email Marketing Software\",\"publisher\":{\"@id\":\"https:\\\/\\\/mailrelay.com\\\/en\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/mailrelay.com\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/mailrelay.com\\\/en\\\/#organization\",\"name\":\"Mailrelay\",\"url\":\"https:\\\/\\\/mailrelay.com\\\/en\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/mailrelay.com\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/mailrelay.com\\\/wp-content\\\/uploads\\\/2019\\\/05\\\/mailrelay-logo.jpg\",\"contentUrl\":\"https:\\\/\\\/mailrelay.com\\\/wp-content\\\/uploads\\\/2019\\\/05\\\/mailrelay-logo.jpg\",\"width\":613,\"height\":291,\"caption\":\"Mailrelay\"},\"image\":{\"@id\":\"https:\\\/\\\/mailrelay.com\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/Mailrelay\\\/\",\"https:\\\/\\\/x.com\\\/mailrelay\",\"https:\\\/\\\/www.youtube.com\\\/mailrelay-email-marketing\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"UTM - Mailrelay","description":"UTM is basically a series of codes that are included at the end of URLs for tracking the origin of the traffic that websites receive.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/mailrelay.com\/en\/glossary\/utm\/","og_locale":"en_US","og_type":"article","og_title":"UTM - Mailrelay","og_description":"UTM is basically a series of codes that are included at the end of URLs for tracking the origin of the traffic that websites receive.","og_url":"https:\/\/mailrelay.com\/en\/glossary\/utm\/","og_site_name":"Mailrelay","article_publisher":"https:\/\/www.facebook.com\/Mailrelay\/","article_modified_time":"2026-10-02T15:28:06+00:00","twitter_card":"summary_large_image","twitter_site":"@mailrelay","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/mailrelay.com\/en\/glossary\/utm\/","url":"https:\/\/mailrelay.com\/en\/glossary\/utm\/","name":"UTM - Mailrelay","isPartOf":{"@id":"https:\/\/mailrelay.com\/en\/#website"},"datePublished":"2023-07-05T20:52:26+00:00","dateModified":"2026-10-02T15:28:06+00:00","description":"UTM is basically a series of codes that are included at the end of URLs for tracking the origin of the traffic that websites receive.","breadcrumb":{"@id":"https:\/\/mailrelay.com\/en\/glossary\/utm\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/mailrelay.com\/en\/glossary\/utm\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/mailrelay.com\/en\/glossary\/utm\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/mailrelay.com\/en\/"},{"@type":"ListItem","position":2,"name":"UTM"}]},{"@type":"WebSite","@id":"https:\/\/mailrelay.com\/en\/#website","url":"https:\/\/mailrelay.com\/en\/","name":"Mailrelay","description":"Mailrelay.com - Email Marketing Software","publisher":{"@id":"https:\/\/mailrelay.com\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/mailrelay.com\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/mailrelay.com\/en\/#organization","name":"Mailrelay","url":"https:\/\/mailrelay.com\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/mailrelay.com\/en\/#\/schema\/logo\/image\/","url":"https:\/\/mailrelay.com\/wp-content\/uploads\/2019\/05\/mailrelay-logo.jpg","contentUrl":"https:\/\/mailrelay.com\/wp-content\/uploads\/2019\/05\/mailrelay-logo.jpg","width":613,"height":291,"caption":"Mailrelay"},"image":{"@id":"https:\/\/mailrelay.com\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/Mailrelay\/","https:\/\/x.com\/mailrelay","https:\/\/www.youtube.com\/mailrelay-email-marketing"]}]}},"uagb_featured_image_src":[],"uagb_author_info":{"display_name":"Jose Argudo","author_link":"https:\/\/mailrelay.com\/en\/blog\/author\/"},"uagb_comment_info":0,"uagb_excerpt":"UTM is basically a series of codes that are included at the end of URLs for tracking the origin of the traffic that websites receive. These are small fragments that are vital for web analytics, since they allow Google Analytics to offer complete traceability of the campaigns that the traffic comes from. 1. Origins of&hellip;","_links":{"self":[{"href":"https:\/\/mailrelay.com\/en\/wp-json\/wp\/v2\/glossary\/71565","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mailrelay.com\/en\/wp-json\/wp\/v2\/glossary"}],"about":[{"href":"https:\/\/mailrelay.com\/en\/wp-json\/wp\/v2\/types\/glossary"}],"version-history":[{"count":4,"href":"https:\/\/mailrelay.com\/en\/wp-json\/wp\/v2\/glossary\/71565\/revisions"}],"predecessor-version":[{"id":98354,"href":"https:\/\/mailrelay.com\/en\/wp-json\/wp\/v2\/glossary\/71565\/revisions\/98354"}],"wp:attachment":[{"href":"https:\/\/mailrelay.com\/en\/wp-json\/wp\/v2\/media?parent=71565"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}