<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1031763" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1031763</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/webmasters-corner/tracking-pixels#comment-1186265</link>
    <description> &lt;p&gt;We have the same type of thing with our site using AffiliateShop.com.&lt;/p&gt;
&lt;p&gt; However, even though it can do it, we did not set ours up for people to just sign up and spam away their affiliate link. We have sales people that set up appointments with business owners, or host free seminars that people sign up for, and they give the url out that way.&lt;/p&gt;
&lt;p&gt; On our initial home page, if you are using the affiliate&#039;s link, it will call an image from Affiliate shop, which activates a cookie. Then if you do sign up, on the &quot;confirmation&quot; page it calls another image, triggering the sale with Affiliate Shop. &lt;/p&gt;
&lt;p&gt; Our sales people can log into their accounts, and see how many people folowed their affiliate URL, and also how many signed up from it as well. It works pretty well in testing, ust need to get the &quot;recurring billing&quot; to properly call the image (they get $10 on initial signup, $5 each recurring payment until they cancel)&lt;/p&gt;
&lt;p&gt; Now of course, this all is based on the end user allowing cookies. Again, people can go to our site and sign up to become an affiliate, but mainly this is for the people directly presenting the software to people who sign up or request the information.&lt;/p&gt;
&lt;p&gt; I persoanally hate spam selling. However, I think this explanation will help others understand where the usefullness of this type of tracking comes into play.&lt;/p&gt;
&lt;p&gt;   Now, on to the question at hand, with PHP, this is possible to do. Assuming this is what you are talking about:&lt;br /&gt;
&lt;blockquote class=&quot;bb-quote-body&quot;&gt;Quote: &lt;a href=&quot;http://www.domain.com/?leadid=referrer1&quot; title=&quot;http://www.domain.com/?leadid=referrer1&quot;&gt;http://www.domain.com/?leadid=referrer1&lt;/a&gt;&lt;br /&gt;
   &lt;a href=&quot;http://www.domain.com/?leadid=referrer2&quot; class=&quot;bb-url&quot;&gt;http://www.domain.com/?leadid=referrer2&lt;/a&gt;&lt;br /&gt;
   &lt;a href=&quot;http://www.domain.com/?leadid=referrer3&quot; class=&quot;bb-url&quot;&gt;http://www.domain.com/?leadid=referrer3&lt;/a&gt;&lt;br /&gt;
   &lt;a href=&quot;http://www.domain.com/?leadid=referrer4&quot; class=&quot;bb-url&quot;&gt;http://www.domain.com/?leadid=referrer4&lt;/a&gt;&lt;/blockquote&gt;&lt;/p&gt;
&lt;p&gt;  then you could have soemthing like &lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;switch (&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$_POST&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;leadid&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;]) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; case &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;referrer1&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$refimage &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;http://www.referral1.com/pixel.gif&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; case &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;referrer2&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$refimage &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;http://www.referral2.com/pixel.gif&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; case &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;referrer3&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$refimage &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;http://www.referral3.com/pixel.gif&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; case &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;referrer4&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$refimage &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;http://www.referral4.com/pixel.gif&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; default:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #FF8000&quot;&gt;// Put a copy of a blank image on your site for displaying&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // when there is no referer.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$refimage &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;http://www.yourdomain.com/pixel.gif&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;img src&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=\&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;= &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$refimage&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt; \&quot; alt=\&quot;\&quot; height=\&quot;1\&quot; width=\&quot;1\&quot; border=\&quot;0\&quot;&amp;gt;&lt;br /&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;
 I think this should work. Note, if you have a ton of possible referers, you may want to use something other than the switch statement, perhaps check for it in a database, etc.&lt;/p&gt;
&lt;p&gt; Additionally, I would recomend setting it up to use &lt;a href=&quot;http://www.domain.com/referrer1&quot; class=&quot;bb-url&quot;&gt;http://www.domain.com/referrer1&lt;/a&gt; instead (if you want to do that, I&#039;ll look up the thread on here on how to do it and post a link)&lt;/p&gt;
&lt;p&gt;   -Greg&lt;/p&gt;
 </description>
     <pubDate>Tue, 22 Nov 2005 22:13:37 +0000</pubDate>
 <dc:creator>Greg K</dc:creator>
 <guid isPermaLink="false">comment 1186265 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/webmasters-corner/tracking-pixels#comment-1186251</link>
    <description> &lt;p&gt;A couple of things to keep in mind. One is that people don&#039;t like to be tracked like this and can become very irritated if they find out. The second is that it is easily blocked in email clients. Even Outlook 2003 by default blocks all images from being downloaded by default so as to avoid the tracking.&lt;/p&gt;
 </description>
     <pubDate>Tue, 22 Nov 2005 20:24:21 +0000</pubDate>
 <dc:creator>mairving</dc:creator>
 <guid isPermaLink="false">comment 1186251 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/webmasters-corner/tracking-pixels#comment-1186209</link>
    <description> &lt;p&gt;I understand and agree.  If it were my choice I would totally go with an affiliate script.  However, this is the request of existing clients.  Can&#039;t exactly turn away your customers&#039; requests.  I did find a way to accomplish this with PHP.  Thanks though for everyone&#039;s replies.&lt;/p&gt;
 </description>
     <pubDate>Tue, 22 Nov 2005 17:40:49 +0000</pubDate>
 <dc:creator>EliteRides</dc:creator>
 <guid isPermaLink="false">comment 1186209 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/webmasters-corner/tracking-pixels#comment-1186206</link>
    <description> &lt;p&gt;It&#039;s much easier and less risky with a database and let the affiliates have a logon to check their stats.&lt;/p&gt;
 </description>
     <pubDate>Tue, 22 Nov 2005 16:55:42 +0000</pubDate>
 <dc:creator>chrishirst</dc:creator>
 <guid isPermaLink="false">comment 1186206 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/webmasters-corner/tracking-pixels#comment-1186197</link>
    <description> &lt;p&gt;You&#039;re missing it though.  The clients of the company are requesting this so they can see the number of hits, that they referred, in their web logs.  If it were up to me, of course I would use a stats program.&lt;/p&gt;
&lt;p&gt;Is there a way to load an image (pixel) only if the url contains leadid=referrer1... then it would load referrer1.gif?  Maybe with some sort of php.  &lt;code&gt;&amp;lt;img src=&amp;quot;{leadid}&amp;quot;&amp;gt;&lt;/code&gt;&#039;And then the page would contain:&lt;/p&gt;
&lt;p&gt;referrer1=http://www.referral1.com/pixel.gif&lt;br /&gt;
referrer2=http://www.referral2.com/pixel.gif&lt;br /&gt;
referrer3=http://www.referral3.com/pixel.gif&lt;/p&gt;
 </description>
     <pubDate>Tue, 22 Nov 2005 15:19:50 +0000</pubDate>
 <dc:creator>EliteRides</dc:creator>
 <guid isPermaLink="false">comment 1186197 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/webmasters-corner/tracking-pixels#comment-1186188</link>
    <description> &lt;p&gt;The wonders of spam &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Tue, 22 Nov 2005 10:36:32 +0000</pubDate>
 <dc:creator>bja888</dc:creator>
 <guid isPermaLink="false">comment 1186188 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/webmasters-corner/tracking-pixels#comment-1186187</link>
    <description> &lt;p&gt;a tracking pixel is a form of spyware tracking, also used in emails - just a 1x1 pixel image to count/track people&lt;/p&gt;
&lt;p&gt;Use a real stats program that doesnt rely on nasty tricks like this.&lt;br /&gt;
Most decent hosts offer at least one kind of stats program (my basic host has four), if they are limited they are easy enough to download and install&lt;/p&gt;
 </description>
     <pubDate>Tue, 22 Nov 2005 10:12:40 +0000</pubDate>
 <dc:creator>Busy</dc:creator>
 <guid isPermaLink="false">comment 1186187 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/webmasters-corner/tracking-pixels#comment-1186172</link>
    <description> &lt;p&gt;What the heck is a tracking pixel? I&#039;ve never heard of such a thing.&lt;/p&gt;
 </description>
     <pubDate>Tue, 22 Nov 2005 04:31:42 +0000</pubDate>
 <dc:creator>Roo</dc:creator>
 <guid isPermaLink="false">comment 1186172 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
