{"id":173,"date":"2023-04-26T14:43:04","date_gmt":"2023-04-26T14:43:04","guid":{"rendered":"https:\/\/theoptimizer.io\/help\/?post_type=ht_kb&#038;p=173"},"modified":"2023-04-28T14:01:54","modified_gmt":"2023-04-28T14:01:54","slug":"using-google-analytics-concatenated-tracking-tokens","status":"publish","type":"ht_kb","link":"https:\/\/theoptimizer.io\/help\/knowledge-base\/using-google-analytics-concatenated-tracking-tokens\/","title":{"rendered":"Using Google Analytics Concatenated Tracking Tokens"},"content":{"rendered":"\n<p>This article will guide you on how to use concatenated tracking tokens for your Google Analytics tracking integration.<\/p>\n\n\n\n<p><sub><img loading=\"lazy\" decoding=\"async\" width=\"25\" height=\"25\" class=\"wp-image-378\" style=\"width: 25px;\" src=\"https:\/\/theoptimizer.io\/help\/wp-content\/uploads\/2023\/04\/losid_berberi_mail-1635938764.png\" alt=\"\" srcset=\"https:\/\/theoptimizer.io\/help\/wp-content\/uploads\/2023\/04\/losid_berberi_mail-1635938764.png 128w, https:\/\/theoptimizer.io\/help\/wp-content\/uploads\/2023\/04\/losid_berberi_mail-1635938764-50x50.png 50w\" sizes=\"auto, (max-width: 25px) 100vw, 25px\" \/><\/sub> Written by\u00a0Losid Berberi.\u00a0Updated over a week ago<\/p>\n\n\n\n<p>By using Google Analytics, you are not only able to track your website visitors&#8217; journey (like pages views, avg. time on page, sessions, bounces, goals completed, etc), but you can also keep track of <a href=\"https:\/\/www.google.com\/adsense\/start\/\" target=\"_blank\" rel=\"noreferrer noopener\">Google AdSense<\/a> revenue too.<\/p>\n\n\n\n<p><em><a href=\"https:\/\/support.google.com\/adsense\/answer\/6084409?hl=en\" target=\"_blank\" rel=\"noreferrer noopener\">Check out this guide<\/a> on how to integrate Google AdSense revenue reporting in Analytics<\/em><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h_75bf7bf91f\">Commonly used tracking methods and known issues for paid traffic<\/h2>\n\n\n\n<p>When tracking the performance of paid traffic campaigns with Google Analytics, usually agencies and marketers pass the campaign name, ad name, or some combination of various values to the standard <a href=\"https:\/\/support.google.com\/analytics\/answer\/1033863\" target=\"_blank\" rel=\"noreferrer noopener\">UTM parameters<\/a>. Doing so matching large amounts of data from the ad network (traffic source) to GA becomes challenging.<\/p>\n\n\n\n<p>Example:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">https:\/\/theoptimizer.io?utm_campaign=start_free_trial&amp;utm_source=taboola&amp;utm_medium=Washington+Post&amp;utm_content=ad-variant-1 <\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The first and most common issues are typos in the campaign name, or campaign tracking settings that are made while setting up the campaign and its tracking settings.<\/li>\n\n\n\n<li>Second, is the fact that quite often, publisher site names may be reported with slight character changes, something which in GA reporting will result in two different entities.<\/li>\n<\/ul>\n\n\n\n<p>Due to the above-mentioned issues, but not limited to, TheOptimizer uses unique IDs to match the statistics of your campaigns between the ad network (traffic source) and Google Analytics. This way even if the ad network reports the publisher site name with a slight variation under the same unique ID, it will be counted as one entity and not two or more entities.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h_3a96e0c335\"><\/h2>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h_be8793b782\">Solution &#8211; Updating your URL tracking settings<\/h2>\n\n\n\n<p>The most straightforward way of solving the above-mentioned data matching issue would be to simply update and remap your UTM tracking parameters. However, this is a challenging procedure for various reasons like:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Internal reporting tools rely on a current personalized tracking template, so the main UTM parameters cannot be changed.<\/li>\n\n\n\n<li>Changing UTM parameters from entity names to unique IDs makes statistics hard to read in GA.<\/li>\n\n\n\n<li>Updating UTM parameters will force re-submitting campaigns for approval.<\/li>\n<\/ul>\n\n\n\n<p>The next least bothersome option would be to pass all required tracking information in a specific UTM parameter like <strong><em>utm_term<\/em><\/strong> and map your GA integration to that following the below steps.<\/p>\n\n\n\n<p><strong>Step 1.<\/strong> Update your paid traffic campaign tracking settings, by adding\/appending a concatenated tracking template on one of the available standard UTM parameters.<\/p>\n\n\n\n<p>Example: <code>...&amp;utm_term={campaign_id}|{site}|{campaign_item_id}<\/code><\/p>\n\n\n\n<p><strong>Step 2.<\/strong> Go over the Account Wizzard process to correctly update the tracking parameter references inside TheOptimizer<\/p>\n\n\n\n<p><em>a. <\/em>Select one of the connected ad networks (traffic sources) in the first step.<\/p>\n\n\n\n<p><br><em>b.<\/em> Select or Add Google Analytics in the second step.<br><br><em>c.<\/em> Click on your existing connected GA property or connect a new one.<\/p>\n\n\n\n<p><strong>Step 3.<\/strong> Enable Custom Tracking then specify the concatenated tracking string and the UTM parameter it will be sent to.<\/p>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" width=\"550\" height=\"540\" class=\"wp-image-400\" style=\"width: 550px;\" src=\"https:\/\/theoptimizer.io\/help\/wp-content\/uploads\/2023\/04\/62.png\" alt=\"\" srcset=\"https:\/\/theoptimizer.io\/help\/wp-content\/uploads\/2023\/04\/62.png 788w, https:\/\/theoptimizer.io\/help\/wp-content\/uploads\/2023\/04\/62-300x294.png 300w, https:\/\/theoptimizer.io\/help\/wp-content\/uploads\/2023\/04\/62-768x753.png 768w, https:\/\/theoptimizer.io\/help\/wp-content\/uploads\/2023\/04\/62-50x50.png 50w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/p>\n\n\n\n<p>Click on <strong>Add<\/strong>, then <strong>Finish <\/strong>to finalize the account wizard process.<\/p>\n\n\n\n<p>Once the above procedure is finished, new tracking data flowing to your GA account will be compliant with the concatenated tracking template and easily usable in TheOptimizer.<\/p>\n\n\n\n<p>Below you may find a list of concatenated tracking templates we recommend using on your GA tracked campaigns.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Taboola:<\/strong> &amp;utm_term={campaign_id}|{site}|{campaign_item_id}<\/li>\n\n\n\n<li><strong>Outbrain:<\/strong> &amp;utm_term={{campaign_id}}|{{publisher_id}}|{{section_id}}|{{ad_id}}<\/li>\n\n\n\n<li><strong>RevContent: <\/strong>&amp;utm_term={boost_id}|{content_id}|{adv_targets}|{widget_id}<\/li>\n\n\n\n<li><strong>Content.ad:<\/strong> &amp;utm_term=[cid]|[did]|[adid]<\/li>\n\n\n\n<li><strong>Yahoo Gemini:<\/strong> &amp;utm_term={campaignid}|${pubid}|{device}|${SUPPLY_NAME}|{adgroupid}|{adid}<\/li>\n\n\n\n<li><strong>MGID: <\/strong>&amp;utm_term={campaign_id}|{widget_id}|{teaser_id}<\/li>\n\n\n\n<li><strong>AdsKeeper: <\/strong>&amp;utm_term={campaign_id}|{widget_id}|{teaser_id}<\/li>\n\n\n\n<li><strong>VoluumDSP: <\/strong>&amp;utm_term={campaign.id}|{dsp.creative.id}|{dsp.widget.id}|{dsp.site.url}|{dsp.adexchange}<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>This article will guide you on how to use concatenated tracking tokens for your Google Analytics tracking integration. Written by\u00a0Losid Berberi.\u00a0Updated over a week ago By using Google Analytics, you are not only able to track your website visitors&#8217; journey (like pages views, avg. time on page, sessions, bounces, goals&#8230;<\/p>\n","protected":false},"author":1,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[13],"ht-kb-tag":[],"class_list":["post-173","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-tracking-platform-setup"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/theoptimizer.io\/help\/wp-json\/wp\/v2\/ht-kb\/173","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/theoptimizer.io\/help\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/theoptimizer.io\/help\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/theoptimizer.io\/help\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/theoptimizer.io\/help\/wp-json\/wp\/v2\/comments?post=173"}],"version-history":[{"count":3,"href":"https:\/\/theoptimizer.io\/help\/wp-json\/wp\/v2\/ht-kb\/173\/revisions"}],"predecessor-version":[{"id":709,"href":"https:\/\/theoptimizer.io\/help\/wp-json\/wp\/v2\/ht-kb\/173\/revisions\/709"}],"wp:attachment":[{"href":"https:\/\/theoptimizer.io\/help\/wp-json\/wp\/v2\/media?parent=173"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/theoptimizer.io\/help\/wp-json\/wp\/v2\/ht-kb-category?post=173"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/theoptimizer.io\/help\/wp-json\/wp\/v2\/ht-kb-tag?post=173"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}