{"id":1581,"date":"2023-02-14T12:45:39","date_gmt":"2023-02-14T04:45:39","guid":{"rendered":"https:\/\/leadsleap.com\/blog\/?p=1581"},"modified":"2023-02-14T12:45:40","modified_gmt":"2023-02-14T04:45:40","slug":"how-to-pass-traffic-source-as-a-variable-in-tracker","status":"publish","type":"post","link":"https:\/\/leadsleap.com\/blog\/how-to-pass-traffic-source-as-a-variable-in-tracker\/","title":{"rendered":"How To Pass Traffic Source As A Variable In Tracker"},"content":{"rendered":"\n<p>This is a feature request from our fellow member, Olaf. <\/p>\n\n\n\n<p>Here&#8217;s his request:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote\"><p><em>Is there a parameter to use the source info from a tracking link in the cloaked affiliate link so that<br><a href=\"http:\/\/llclick.com\/fm2foru\/TRAFFICSOURCE\">http:\/\/llclick.com\/fm2foru\/TRAFFICSOURCE<\/a><br>reached through to become<br><a href=\"https:\/\/xxxxx.hop.clickbank.net&amp;tid=TRAFFICSOURCE\">https:\/\/xxxxx.hop.clickbank.net&amp;tid=TRAFFICSOURCE<\/a><\/em><\/p><\/blockquote>\n\n\n\n<p>Last month, we introduced something similar in our Page Builder (read <strong><a href=\"https:\/\/leadsleap.com\/blog\/how-to-pass-traffic-source-as-a-variable\/\">How To Pass Traffic Source As A Variable In Page<\/a><\/strong>). We reckon we can just do the same for our tracker.<\/p>\n\n\n\n<p>So it&#8217;s done!<\/p>\n\n\n\n<h2>How To Pass Traffic Source As A Variable In Tracker<\/h2>\n\n\n\n<p>To pass the traffic source to the destination link, simply add ~source~ to the destination link.<\/p>\n\n\n\n<p>For example, say you want to track <\/p>\n\n\n\n<p><a href=\"https:\/\/xxxxx.hop.clickbank.net\">https:\/\/<em>xxxxx<\/em>.hop.clickbank.net<\/a><\/p>\n\n\n\n<p>and the link provider allows you to enter a traffic source, for example<\/p>\n\n\n\n<p><a href=\"https:\/\/xxxxx.hop.clickbank.net&amp;tid=\">https:\/\/<em>xxxxx<\/em>.hop.clickbank.net&amp;tid=[source]<\/a><\/p>\n\n\n\n<p>then you can enter the destination link as <\/p>\n\n\n\n<p><a href=\"https:\/\/xxxxx.hop.clickbank.net&amp;tid=~source~\">https:\/\/<em>xxxxx<\/em>.hop.clickbank.net&amp;tid=~source~<\/a><\/p>\n\n\n\n<p>That&#8217;s it.<\/p>\n\n\n\n<p>When our Tracker detects a traffic source or you&#8217;ve entered a &#8216;Source&#8217; tracker, the source will be passed on to the destination link.<\/p>\n\n\n\n<p>We&#8217;ve added a reminder below the URL field in the Link Tracker set up page (see screenshot below).<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" width=\"580\" height=\"129\" src=\"https:\/\/leadsleap.com\/blog\/wp-content\/uploads\/2023\/02\/linksource.jpg\" alt=\"\" class=\"wp-image-1585\" srcset=\"https:\/\/leadsleap.com\/blog\/wp-content\/uploads\/2023\/02\/linksource.jpg 580w, https:\/\/leadsleap.com\/blog\/wp-content\/uploads\/2023\/02\/linksource-300x67.jpg 300w\" sizes=\"(max-width: 580px) 100vw, 580px\" \/><\/figure>\n\n\n\n<h2>How LeadsLeap Tracker Detects Traffic Source?<\/h2>\n\n\n\n<p>If you are new to the source tracking function of LeadsLeap Tracker, please continue reading. Otherwise, you&#8217;re good to go.<\/p>\n\n\n\n<p>There are 2 ways traffic source can be detected.<\/p>\n\n\n\n<ol><li>You specify it.<\/li><li>The system detects the referral domain.<\/li><\/ol>\n\n\n\n<h3>1. You specify it<\/h3>\n\n\n\n<p>Say you know that you promote your Track Link in a soload or a website, let&#8217;s call it ABC, you can add a <strong>Source Tracker<\/strong> to your Track Link like this <\/p>\n\n\n\n<p><em><a href=\"http:\/\/llclick.com\/fm2foru\/TRAFFICSOURCE\">http:\/\/llclick.com\/fm2foru\/ABC<\/a><\/em><\/p>\n\n\n\n<p>In the traffic stats, you will see ABC as the traffic source.<\/p>\n\n\n\n<p>If you pass ~source~ to the destination URL using the above instruction, the destination URL will register ABC as the traffic source.<\/p>\n\n\n\n<p>Note that you add the <strong>Source Tracker<\/strong> <span style=\"text-decoration: underline;\">on the fly<\/span>, meaning no set up is needed. Say you suddenly feel like promoting in 123soload, just use <em><a href=\"http:\/\/llclick.com\/fm2foru\/TRAFFICSOURCE\">http:\/\/llclick.com\/fm2foru\/123soload.<\/a><\/em> 123soload will then be the source.<\/p>\n\n\n\n<h3>2. The system detects the referral domain<\/h3>\n\n\n\n<p>In the ABSENCE of a source tracker, the system will try to detect the referral domain.<\/p>\n\n\n\n<p>Say if someone visits your Track Link from xyz.com, and the system is able to detect it, then&#8230;<\/p>\n\n\n\n<p>In the traffic stats, you will see xyz.com as the traffic source. <\/p>\n\n\n\n<p>If you pass ~source~ to the destination URL using the above instruction, the destination URL will register xyz.com as the traffic source.<\/p>\n\n\n\n<p>Note that if you know the traffic source, it&#8217;s best to specify it yourself. Don&#8217;t rely on the system to detect it because it may not work. It may not work because of 2 reasons:<\/p>\n\n\n\n<p>1. Some traffic sources are technically not detectable. <\/p>\n\n\n\n<p>2. The visitors disable tracking in their browser.<\/p>\n\n\n\n<p>Don&#8217;t leave it to chance. If you know the traffic source, always add it to your Track Link.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is a feature request from our fellow member, Olaf. Here&#8217;s his request: Is there a parameter to use the source info from a tracking link in the cloaked affiliate link so thathttp:\/\/llclick.com\/fm2foru\/TRAFFICSOURCEreached through to becomehttps:\/\/xxxxx.hop.clickbank.net&amp;tid=TRAFFICSOURCE Last month, we introduced something similar in our Page Builder (read How To Pass Traffic Source As A Variable [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[231],"tags":[],"_links":{"self":[{"href":"https:\/\/leadsleap.com\/blog\/wp-json\/wp\/v2\/posts\/1581"}],"collection":[{"href":"https:\/\/leadsleap.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/leadsleap.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/leadsleap.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/leadsleap.com\/blog\/wp-json\/wp\/v2\/comments?post=1581"}],"version-history":[{"count":7,"href":"https:\/\/leadsleap.com\/blog\/wp-json\/wp\/v2\/posts\/1581\/revisions"}],"predecessor-version":[{"id":1589,"href":"https:\/\/leadsleap.com\/blog\/wp-json\/wp\/v2\/posts\/1581\/revisions\/1589"}],"wp:attachment":[{"href":"https:\/\/leadsleap.com\/blog\/wp-json\/wp\/v2\/media?parent=1581"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/leadsleap.com\/blog\/wp-json\/wp\/v2\/categories?post=1581"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/leadsleap.com\/blog\/wp-json\/wp\/v2\/tags?post=1581"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}