{"id":209,"date":"2022-03-16T21:15:19","date_gmt":"2022-03-16T21:15:19","guid":{"rendered":"https:\/\/theatlass.com\/resources\/?post_type=blog&#038;p=209"},"modified":"2022-03-23T14:11:35","modified_gmt":"2022-03-23T14:11:35","slug":"tracking-parameter-and-utms","status":"publish","type":"blog","link":"https:\/\/theatlass.com\/resources\/blog\/tracking-parameter-and-utms\/","title":{"rendered":"Tracking parameters and UTMs explained"},"content":{"rendered":"\n<p>What are URL parameters?<\/p>\n\n\n\n<p>There are 4 key components that form a URL: the scheme ( https ), a host ( the domain ), a path ( \/category\/product ) and a query string.<\/p>\n\n\n\n<p>We are going to focus on the last one. A query string is a serie of parameters used to track information on a website ( campaing=my-first-campaing ). These parameters are separated from the base of the link with the question mark ( ? )<\/p>\n\n\n<div class=\"wp-block-lazyblock-bootstrap-alert lazyblock-bootstrap-alert-1vm6ql\"><div class=\"alert alert-danger \" role=\"alert\">\n    A valid URL link can only have one single question mark ( ? )\n<\/div><\/div>\n\n\n<p>The URL parameters are formed out of pairs of key and value, connected with the = sign, for example <strong><strong>campaign<\/strong>=my-first-<strong>campaign<\/strong><\/strong>, where the <strong>campaign<\/strong> is the key and <strong>my-first-<strong>campaign<\/strong><\/strong> is the value.<\/p>\n\n\n\n<p>Multiple pairs can be added, connected with the and sign ( &amp; ): <code>campaing=my-first-campaign&amp;ad=myfirst-ad<\/code><\/p>\n\n\n\n<p>UTM stands for Urchin Traffic Monitor and were created by a web analyst that worked on the Google Analytics project.<\/p>\n\n\n\n<p>There are five different UTM parameters. The first 3 are by far the most used parameters (Source, Medium, Campaign), but for additional insights you may also choose to track all 5. Here&#8217;s exactly what you can track with each:<\/p>\n\n\n\n<h3>1.&nbsp;<strong>Traffic Source<\/strong><\/h3>\n\n\n\n<p>The <strong>utm_source<\/strong> parameter allows you to track&nbsp;<em>where<\/em>&nbsp;the traffic originated from: facebook, google, bing, inbound.org, or the name of an email list.<\/p>\n\n\n\n<p>Example:&nbsp;<strong>&amp;utm_source=instagram<\/strong><\/p>\n\n\n\n<h3>2.&nbsp;<strong>Medium<\/strong><\/h3>\n\n\n\n<p>The <strong>utm_medium<\/strong> parameter tracks what&nbsp;<em>type<\/em>&nbsp;of traffic the visitor originated from: cpc, email, social, referral, display, etc.<\/p>\n\n\n\n<p>Example:&nbsp;<strong>&amp;utm_medium=cpc<\/strong><\/p>\n\n\n\n<h3>3.&nbsp;<strong>Campaign Name<\/strong><\/h3>\n\n\n\n<p>The <strong>utm_campaign<\/strong> parameter allows you to track the traffic by campaign name.<\/p>\n\n\n\n<p>Example:&nbsp;<strong>&amp;utm_campaign=example-campaign<\/strong><\/p>\n\n\n\n<h3>4.&nbsp;<strong>Content<\/strong><\/h3>\n\n\n\n<p>The <strong>utm_content<\/strong> parameters allows you to segment the traffic, for example when doing A\/B tests. <\/p>\n\n\n\n<p>Example:&nbsp;<strong>&amp;utm_content=navlink<\/strong><\/p>\n\n\n\n<h3>5.&nbsp;<strong>Keyword Term<\/strong><\/h3>\n\n\n\n<p>The <strong>utm_term<\/strong> parameter allows you to track which paid keyword term a website visitor came from.<\/p>\n\n\n\n<p>Example:&nbsp;<strong>&amp;utm_term=scale-business-hack<\/strong><\/p>\n\n\n\n<h2>How to Use the UTM parameters<\/h2>\n\n\n\n<p>You can use these codes in any combination as long as you separate each parameter with the &#8216;&amp;&#8217; sign, as we spoke above.<\/p>\n\n\n\n<h2>How to create UTM parameters ?<\/h2>\n\n\n\n<p>You can create UTM parameters manually, by adding the key=value pairs and separate them with &#8216;&amp;&#8217; sign.<\/p>\n\n\n\n<p>You can also use the Google URL Builder from <a rel=\"noreferrer noopener\" href=\"https:\/\/ga-dev-tools.web.app\/campaign-url-builder\/\" target=\"_blank\">here<\/a><\/p>\n\n\n\n<h2>How to track UTM parameters?<\/h2>\n\n\n\n<p>You can track a particular URL parameter using the watcher from your Atlass account. <\/p>\n\n\n\n<p>Atlass also tracks each parameter individually and you can group the traffic based off of them in the Analyze and Engagement section.<\/p>\n\n\n\n<p>You can also tag each lead that clicks on a link that contains a particular parameter you set using a watcher. Check that out below.<\/p>\n\n\n<div class=\"wp-block-lazyblock-post lazyblock-post-12wqm7\">      <h3 class=\"accordion-button\" data-ac-target=\"set-up-a-watcher\" > Set up a watcher <\/h3>\n    <div id=\"set-up-a-watcher\" class=\"col-12 accordion-content accordion-content-closed\" > \n<h3>What is a watcher?<\/h3>\n\n\n\n<p>A watcher is a feature inside Atlass that allows you to tag your traffic based on a dynamic value of a URL tracking parameter.<\/p>\n\n\n\n<p>For example, if you set up a watcher for the <strong>utm_campaign<\/strong> parameter, when someone clicks on a link with &#8230;&amp;<strong>utm_campaing=Example-campaign,<\/strong> he will be tagged with <strong>@Example-campaign<\/strong>.<\/p>\n\n\n\n<h3>How to set up a watcher?<\/h3>\n\n\n\n<p>Log into your Atlass account, then go to Setup -> Watchers and click on create new.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"1024\" height=\"553\" src=\"https:\/\/theatlass.com\/resources\/wp-content\/uploads\/2022\/03\/image-1024x553.png\" alt=\"\" class=\"wp-image-215\" srcset=\"https:\/\/theatlass.com\/resources\/wp-content\/uploads\/2022\/03\/image-1024x553.png 1024w, https:\/\/theatlass.com\/resources\/wp-content\/uploads\/2022\/03\/image-300x162.png 300w, https:\/\/theatlass.com\/resources\/wp-content\/uploads\/2022\/03\/image-768x415.png 768w, https:\/\/theatlass.com\/resources\/wp-content\/uploads\/2022\/03\/image.png 1322w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Add a name and the parameter to watch and click save.<\/p>\n <\/div>\n  <\/div>\n\n\n<h2>How to set up other Atlass parameters?<\/h2>\n\n\n\n<p>Now that we covered what tracking parameters and UTM parameters are, let&#8217;s cover the Atlass designated tracking parameters.<\/p>\n\n\n\n<p>For our designated integrations, we require implementing special parameters, which can be found below:<\/p>\n\n\n<div class=\"wp-block-lazyblock-post lazyblock-post-ZYhbGM\">      <h3 class=\"accordion-button\" data-ac-target=\"install-tracking-on-ads-section\" > Install tracking on ads section <\/h3>\n    <div id=\"install-tracking-on-ads-section\" class=\"col-12 accordion-content accordion-content-closed\" > <div class=\"wp-block-lazyblock-post lazyblock-post-Z11mO4\">      <h3 class=\"accordion-button\" data-ac-target=\"set-up-facebook-ads\" > Set up Facebook ads <\/h3>\n    <div id=\"set-up-facebook-ads\" class=\"col-12 accordion-content accordion-content-closed\" > \n<p>Go to your Facebook Ads Manager, and go to Ads tab.<\/p>\n\n\n\n<p>Select all ads using the checkbox in the header and click on Edit ads. This will edit all ads, in bulk<\/p>\n\n\n\n<p>Copy this code <code>fbadid={{ad.id}}&amp;fbadname={{ad.name}}<\/code> and paste it in the URL parameters field<\/p>\n\n\n\n<p>If you have other parameters, such as <code>utm_campaign={{fb.campaign_name}}&amp;source=facebook <\/code>, merge them by adding <code>&amp;fbadid={{ad.id}}&amp;fbadname={{ad.name}}<\/code><\/p>\n\n\n\n<p>Don&#8217;t forget to save the new change<\/p>\n\n\n<div class=\"wp-block-lazyblock-bootstrap-alert lazyblock-bootstrap-alert-1mFe5A\"><div class=\"alert alert-danger \" role=\"alert\">\n    IMPORTANT! Keep in mind that this will send the ad into review, but it won&#8217;t have any effect on your ad \n<\/div><\/div>\n\n\n<p>Next, make sure to integrate Facebook if you haven&#8217;t done that already!<\/p>\n\n\n<div class=\"wp-block-lazyblock-next-doc lazyblock-next-doc-Z2oXScK\">  <a href=\"https:\/\/theatlass.com\/resources\/docs\/integrate-facebook\/\"  class=\"alert d-block card-link p-2\" role=\"alert\">\n    <div class=\"card-link-body\" >\n      NEXT: Facebook Integration    <\/div>\n    <div class=\"card-link-icon\">\n      <i class=\"fa fa-arrow-right\" ><\/i>\n    <\/div>\n<\/a>\n<\/div> <\/div>\n  <\/div>\n\n<div class=\"wp-block-lazyblock-post lazyblock-post-uUGBS\">      <h3 class=\"accordion-button\" data-ac-target=\"set-up-google-ads\" > Set up Google ads <\/h3>\n    <div id=\"set-up-google-ads\" class=\"col-12 accordion-content accordion-content-closed\" > \n<p>Go to your Google Ads Manager, and go to Ads section.<\/p>\n\n\n\n<p>Click on the Tools icon and click on Scripts ( under Bulk Actions ) and click on the plus icon to create a new script.<\/p>\n\n\n\n<p>Copy the code below and paste in the new script<\/p>\n\n\n<div class=\"wp-block-lazyblock-script-code-block lazyblock-script-code-block-ZJvKon\"><div class=\"code-block w-100\" >\n<pre class=\"wp-block-code\" id=\"Google-ads-script\" >\n  function main() {\n            var adIterator = AdsApp.ads().get();\n                while (adIterator.hasNext()) {\n                var ad = adIterator.next();\n                var adgroup = ad.getAdGroup().getName().replace(\/[^a-zA-Z0-9- ]\/g, \"\");\n                var campaign = ad.getCampaign().getName().replace(\/[^a-zA-Z0-9- ]\/g, \"\");\n                \/\/var adHeadline = ad.getLongHeadline().replace(\/[^a-zA-Z0-9- ]\/g, \"\");\n                var adID = ad.getId();\n                var name = campaign + \" \" + adgroup+ \" \" + adID;\n                name = name.replace(\/\\s\/g,'-');\n                \/\/Logger.log( name );\n                ad.getCampaign().urls().setCustomParameters({adname:name});\n            }\n  }<\/pre>\n<a data-copy=\"Google-ads-script\" class=\"btn-copy-script\"> <i class=\"far fa-copy\"><\/i>  <\/a>\n<\/div>\n<\/div>\n\n\n<p>Don&#8217;t forget to name the script, for example &#8220;Atlass ad name generator&#8221; and click on save. Before navigating, make sure to click run.<\/p>\n\n\n\n<p>Next, go to All campaigns, click on Settings button, then Account settings and open the tracking section.<\/p>\n\n\n\n<p>Copy this code <code>{lpurl}?gadid={creative}&amp;gadname={_adname}<\/code> and paste it in the Tracking Template field<\/p>\n\n\n\n<p>Don&#8217;t forget to save the new change<\/p>\n\n\n\n<p>Now, make sure to set up the Google Ads integration if you haven&#8217;t done that already.<\/p>\n\n\n<div class=\"wp-block-lazyblock-next-doc lazyblock-next-doc-nuNch\">  <a href=\"https:\/\/theatlass.com\/resources\/docs\/google-ads-integration\/\"  class=\"alert d-block card-link p-2\" role=\"alert\">\n    <div class=\"card-link-body\" >\n      NEXT: Google Ads Integration    <\/div>\n    <div class=\"card-link-icon\">\n      <i class=\"fa fa-arrow-right\" ><\/i>\n    <\/div>\n<\/a>\n<\/div> <\/div>\n  <\/div>\n\n<div class=\"wp-block-lazyblock-post lazyblock-post-Z1lX4Aw\">      <h3 class=\"accordion-button\" data-ac-target=\"set-up-tiktok-ads\" > Set up TikTok ads <\/h3>\n    <div id=\"set-up-tiktok-ads\" class=\"col-12 accordion-content accordion-content-closed\" > \n<p>Go to your TikTok Ads Manager, and go to Ads tab.<\/p>\n\n\n\n<p>Select all ads using the checkbox in the header and click on Edit ads. This will edit all ads, in bulk<\/p>\n\n\n\n<p>Add the following parameters to the URL of every add: <code>ttadid=__CID__&amp;ttadname=__CID_NAME__<\/code>&nbsp;<\/p>\n\n\n\n<p>Don\u2019t forget to save the new change<\/p>\n\n\n\n<p>Now, make sure to set up the TikTok integration, if you haven&#8217;t done that already<\/p>\n\n\n<div class=\"wp-block-lazyblock-next-doc lazyblock-next-doc-cDC8H\">  <a href=\"https:\/\/theatlass.com\/resources\/docs\/tiktok-integration\/\"  class=\"alert d-block card-link p-2\" role=\"alert\">\n    <div class=\"card-link-body\" >\n      NEXT: TikTok Integration    <\/div>\n    <div class=\"card-link-icon\">\n      <i class=\"fa fa-arrow-right\" ><\/i>\n    <\/div>\n<\/a>\n<\/div> <\/div>\n  <\/div>\n\n<div class=\"wp-block-lazyblock-post lazyblock-post-2gFs4L\">      <h3 class=\"accordion-button\" data-ac-target=\"set-up-email-tracking\" > Set up Email Tracking <\/h3>\n    <div id=\"set-up-email-tracking\" class=\"col-12 accordion-content accordion-content-closed\" > \n<p>Go to your Email Service provider and edit the email templates in use.<\/p>\n\n\n\n<p>Edit the CTA link within the body of the email<\/p>\n\n\n\n<p>Add the tracking parameters to the existing link <code>?atl_campaign=%email.subject%<\/code><\/p>\n\n\n\n<p>First make sure you change the <code>%email.subject% <\/code>, depending on your ESP. <\/p>\n\n\n<div class=\"wp-block-lazyblock-bootstrap-alert lazyblock-bootstrap-alert-Z29L9xu\"><div class=\"alert alert-warning \" role=\"alert\">\n    If the ESP does not provide the option to dynamically insert it, please make sure to change the &#8220;name-of-email-campaign&#8221; with the actual name of the campaign.\n<\/div><\/div>\n\n\n<p>For <strong>MailChimp<\/strong>, use he code below: <\/p>\n\n\n<div class=\"wp-block-lazyblock-script-code-block lazyblock-script-code-block-Z168uWx\"><div class=\"code-block w-100\" >\n<pre class=\"wp-block-code\" id=\"MailChimp-tracking-params\" >\n   ?mc_cid=*|CAMPAIGN_UID|*<\/pre>\n<a data-copy=\"MailChimp-tracking-params\" class=\"btn-copy-script\"> <i class=\"far fa-copy\"><\/i>  <\/a>\n<\/div>\n<\/div>\n\n\n<p>( More details <a rel=\"noreferrer noopener\" href=\"https:\/\/mailchimp.com\/help\/all-the-merge-tags-cheat-sheet\/\" target=\"_blank\">here<\/a> )<\/p>\n\n\n\n<p>For <strong>ActiveCampaign<\/strong>, use he code below: <\/p>\n\n\n<div class=\"wp-block-lazyblock-script-code-block lazyblock-script-code-block-ZFRPqX\"><div class=\"code-block w-100\" >\n<pre class=\"wp-block-code\" id=\"ActiveCampaign-tracking-params\" >\n  ?ac_cid=%CAMPAIGNID%<\/pre>\n<a data-copy=\"ActiveCampaign-tracking-params\" class=\"btn-copy-script\"> <i class=\"far fa-copy\"><\/i>  <\/a>\n<\/div>\n<\/div>\n\n\n<p>( More details <a rel=\"noreferrer noopener\" href=\"https:\/\/help.activecampaign.com\/hc\/en-us\/articles\/220709307-Personalization-Tags\" target=\"_blank\">here<\/a> )<\/p>\n\n\n\n<p>For <strong>Drip<\/strong>, use he code below:<\/p>\n\n\n<div class=\"wp-block-lazyblock-script-code-block lazyblock-script-code-block-29pGhW\"><div class=\"code-block w-100\" >\n<pre class=\"wp-block-code\" id=\"Drip-tracking-params\" >\n  ?atl_campaign={{campaign.name}}<\/pre>\n<a data-copy=\"Drip-tracking-params\" class=\"btn-copy-script\"> <i class=\"far fa-copy\"><\/i>  <\/a>\n<\/div>\n<\/div>\n\n\n<p>For <strong>ConvertKit<\/strong>, use the code below: <\/p>\n\n\n<div class=\"wp-block-lazyblock-script-code-block lazyblock-script-code-block-SUvF4\"><div class=\"code-block w-100\" >\n<pre class=\"wp-block-code\" id=\"ConvertKit-tracking-params\" >\n  ?atl_campaign=name-of-email-campaign<\/pre>\n<a data-copy=\"ConvertKit-tracking-params\" class=\"btn-copy-script\"> <i class=\"far fa-copy\"><\/i>  <\/a>\n<\/div>\n<\/div>\n\n\n<p>For <strong>Klaviyo<\/strong>, use the code below:<\/p>\n\n\n<div class=\"wp-block-lazyblock-script-code-block lazyblock-script-code-block-GfqLX\"><div class=\"code-block w-100\" >\n<pre class=\"wp-block-code\" id=\"Klaviyo-tracking-params\" >\n  ?atl_campaign=name-of-email-campaign<\/pre>\n<a data-copy=\"Klaviyo-tracking-params\" class=\"btn-copy-script\"> <i class=\"far fa-copy\"><\/i>  <\/a>\n<\/div>\n<\/div>\n\n\n<p>For <strong>Aweber<\/strong>, use the code below:<\/p>\n\n\n<div class=\"wp-block-lazyblock-script-code-block lazyblock-script-code-block-cuz8N\"><div class=\"code-block w-100\" >\n<pre class=\"wp-block-code\" id=\"Aweber-tracking-params\" >\n  ?atl_campaign=name-of-email-campaign<\/pre>\n<a data-copy=\"Aweber-tracking-params\" class=\"btn-copy-script\"> <i class=\"far fa-copy\"><\/i>  <\/a>\n<\/div>\n<\/div>\n\n\n<p>For <strong>SendGrid<\/strong>, use the code below:<\/p>\n\n\n<div class=\"wp-block-lazyblock-script-code-block lazyblock-script-code-block-Og4EV\"><div class=\"code-block w-100\" >\n<pre class=\"wp-block-code\" id=\"SendGrid-tracking-params\" >\n  ?atl_campaign=name-of-email-campaign<\/pre>\n<a data-copy=\"SendGrid-tracking-params\" class=\"btn-copy-script\"> <i class=\"far fa-copy\"><\/i>  <\/a>\n<\/div>\n<\/div>\n\n\n<p>Don&#8217;t forget to save the new change<\/p>\n <\/div>\n  <\/div> <\/div>\n  <\/div>\n\n\n<p>Now that you set up a watcher, get more familiar with Atlass.<\/p>\n\n\n<div class=\"wp-block-lazyblock-next-doc lazyblock-next-doc-4gc4B\">  <a href=\"https:\/\/theatlass.com\/resources\/docs\/atlass-explained\/\"  class=\"alert d-block card-link p-2\" role=\"alert\">\n    <div class=\"card-link-body\" >\n      NEXT: Atlass explained    <\/div>\n    <div class=\"card-link-icon\">\n      <i class=\"fa fa-arrow-right\" ><\/i>\n    <\/div>\n<\/a>\n<\/div>\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>What are URL parameters? There are 4 key components that form a URL: the scheme ( https ), a host ( the domain ), a path ( \/category\/product ) and a query string. We are going to focus on the last one. A query string is a serie of parameters used to track information on [&hellip;]<\/p>\n","protected":false},"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/theatlass.com\/resources\/wp-json\/wp\/v2\/blog\/209"}],"collection":[{"href":"https:\/\/theatlass.com\/resources\/wp-json\/wp\/v2\/blog"}],"about":[{"href":"https:\/\/theatlass.com\/resources\/wp-json\/wp\/v2\/types\/blog"}],"replies":[{"embeddable":true,"href":"https:\/\/theatlass.com\/resources\/wp-json\/wp\/v2\/comments?post=209"}],"wp:attachment":[{"href":"https:\/\/theatlass.com\/resources\/wp-json\/wp\/v2\/media?parent=209"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}