<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Making Money With PPC Coach &#187; PPC Coach Tips</title>
	<atom:link href="http://www.ppc-coach.info/category/ppc-coach-tips/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ppc-coach.info</link>
	<description>My quest to make $1000/day with PPC</description>
	<lastBuildDate>Thu, 18 Aug 2011 02:09:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Double Meta Refresh Tutorial &#8211; Hide Your Traffic Sources!</title>
		<link>http://www.ppc-coach.info/double-meta-refresh-tutorial-hide-your-traffic-sources</link>
		<comments>http://www.ppc-coach.info/double-meta-refresh-tutorial-hide-your-traffic-sources#comments</comments>
		<pubDate>Fri, 28 Aug 2009 14:51:40 +0000</pubDate>
		<dc:creator>chris</dc:creator>
				<category><![CDATA[PPC Coach Tips]]></category>

		<guid isPermaLink="false">http://www.ppc-coach.info/?p=410</guid>
		<description><![CDATA[I wrote a double meta refresh tutorial on the PPC Coach forums, but I wanted to post something similar to my blog as well. For those who not familiar with what a double meta refresh (DMR) is, it is basically a method that allows you to blank your referer. This is useful in the situation [...]


No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-top:15px;margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.ppc-coach.info%2Fdouble-meta-refresh-tutorial-hide-your-traffic-sources"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.ppc-coach.info%2Fdouble-meta-refresh-tutorial-hide-your-traffic-sources&amp;source=ppccoaching&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>I wrote a <strong>double meta refresh tutorial</strong> on the PPC Coach forums, but I wanted to post something similar to my blog as well. For those who not familiar with what a double meta refresh (DMR) is, it is basically a method that allows you to blank your referer.  This is useful in the situation where you don&#8217;t want your affiliate manager to see where your traffic is coming from to an offer.  </p>
<p><a href="http://wpeasypolls.com">CPA Polls</a> are an example of a method where you will want to implement this.  Although there are some networks that don&#8217;t mind poll traffic, I know for a fact most CPA networks do not like polls.  If you get caught sending this type of traffic, you risk getting banned from an offer, or even worse, not getting paid.  </p>
<p>There are also many other legitimate reasons why you might want to cloak your traffic.  Your traffic sources are one of the most valuable assets you own as an affiliate marketer and you don&#8217;t want unscrupulous affiliate networks or just rogue affiliate managers stealing them. Using a double meta refresh is one way to protect yourself and your income.  Keep in mind though that there are certain networks that will threaten you if you blank your referers.  <a href="http://cj.com">CJ.com</a> is one example.  However, I haven&#8217;t had a problem with CPA networks in general when using this method.  </p>
<p>To help you follow along with the rest of this article, I&#8217;ve put up a simple double meta refresh demo page here:</p>
<p><a target="_blank" href="http://freepayperclicktools.com/dmr/">http://freepayperclicktools.com/dmr/</a></p>
<p>To see what I mean about showing the referer, click on the link in Scenario 1 on my demo page.  This is just a regular link that you will find on any website.  The link will take you to another page where you can see it displays the exact url of where you just came from.</p>
<p>To implement the DMR, you need to create 2 PHP files.  The initial link will now go to the first PHP file, which will &#8220;meta-refresh&#8221; to the 2nd PHP file and then &#8220;meta-refresh&#8221; to your destination.  Hence the term <strong>double meta refresh</strong>.  This will result in your referer showing up as &#8220;blank&#8221;.  Try this by clicking on the links in Scenario 2 or 3.  Below is the code for PHP file 1 and PHP file 2.</p>
<p><strong>PHP File 1</strong></p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>html<span style="color: #339933;">&gt;</span>
    <span style="color: #339933;">&lt;</span>head<span style="color: #339933;">&gt;</span>
    <span style="color: #339933;">&lt;</span>meta http<span style="color: #339933;">-</span>equiv<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;refresh&quot;</span> content<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;0;url=http://xyz.com/pathtofile2.php&quot;</span> <span style="color: #339933;">/&gt;</span>
    <span style="color: #339933;">&lt;/</span>head<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;/</span>html<span style="color: #339933;">&gt;</span></pre></div></div>

<p><strong>PHP File 2</strong></p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>html<span style="color: #339933;">&gt;</span>
    <span style="color: #339933;">&lt;</span>head<span style="color: #339933;">&gt;</span>
    <span style="color: #339933;">&lt;</span>meta http<span style="color: #339933;">-</span>equiv<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;refresh&quot;</span> content<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;0;url=http://xyz.com/offer.php&quot;</span> <span style="color: #339933;">/&gt;</span>
    <span style="color: #339933;">&lt;/</span>head<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;/</span>html<span style="color: #339933;">&gt;</span></pre></div></div>

<p>One important thing to note is that there is a downside to using DMR.  <strong>It doesn&#8217;t work across all browsers!</strong> Sure it works fine on the two major browsers, Internet Explorer and Firefox.  However, it doesn&#8217;t work on Safari, Chrome and Opera.  If you have one of those browsers at your disposal, open one of them up and try clicking on my the two DMR links.  Notice that the referer leaks out.  This is bad, as just one leaked referer is enough to get you in trouble.</p>
<p>One solution is to put the first PHP file on your initial domain, and the second PHP file on a separate, unrelated domain.  When you do that, a user using Safari would have its referer show up as coming from this unrelated domain.  This is probably ok, as an affiliate manager still won&#8217;t be able to tell where the original source of traffic is coming from.</p>
<p>If you don&#8217;t want to buy an extra domain for the double-meta-refresh, you can actually place the two php files on the same domain.  However, you will need to make an additional modification to the 2nd PHP file to protect yourself.</p>
<p><strong>PHP File 2</strong></p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #000088;">$referer</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$_SERVER</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'HTTP_REFERER'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$referer</span> <span style="color: #339933;">==</span> <span style="color: #0000ff;">&quot;&quot;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
	<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;&lt;meta http-equiv=<span style="color: #000099; font-weight: bold;">\&quot;</span>refresh<span style="color: #000099; font-weight: bold;">\&quot;</span> content=<span style="color: #000099; font-weight: bold;">\&quot;</span>0;url=http://xyz.com/offer.php&quot;</span><span style="color: #339933;">;</span>    
<span style="color: #009900;">&#125;</span>
<span style="color: #b1b100;">else</span>
<span style="color: #009900;">&#123;</span>
	<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;&lt;meta http-equiv=<span style="color: #000099; font-weight: bold;">\&quot;</span>refresh<span style="color: #000099; font-weight: bold;">\&quot;</span> content=<span style="color: #000099; font-weight: bold;">\&quot;</span>0;url=http://somewherelse.com&quot;</span><span style="color: #339933;">;</span>    
<span style="color: #009900;">&#125;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>Basically, this code checks if the referer is blank, and if it is, the user will be redirected to the offer. If it is not (ie. the visitor is using Safari or Chrome) then they will be redirected to some other page.  As you can see, the cost of blanking your referer in this way will cause a certain percentage of visitors to never make it to your offer.</p>
<p>Using a double meta refresh is not the only way to cloak your traffic sources.  If you use the free <a href="http://tracking202.com">Tracking202</a> script for tracking, you can use the built in cloaking functionality of the script to hide your traffic.  This doesn&#8217;t blank the referer, but instead shows the location of your tracking script as the referer.  You can also use SSL to cloak your traffic as well, but I will leave that for another post.  Let me know if you found this double meta refresh tutorial useful.
<div id="apf_post_footer">
<h4>Related Articles:</h4>
<ul>
<li class="apf_footer"><a href="http://www.ppc-coach.info/?p=296">Personalize your Landing Pages using GeoTargeting</a></li>
<li class="apf_footer"><a href="http://www.ppc-coach.info/?p=127">Expose Profitable PPC Campaigns With Traffic Travis</a></li>
<li class="apf_footer"><a href="http://www.ppc-coach.info/?p=99">My First $100 day with the PPC Coach Poll Method</a></li>
<li class="apf_footer"><a href="http://www.ppc-coach.info/?p=46">Tracking Keywords With Prosper202</a></li>
</ul>
</div>
<p><em>If you enjoyed this post, make sure you <a href="http://ppc-coach.info/feed">subscribe to my RSS feed!</a></em></p>
<img src="http://www.ppc-coach.info/?ak_action=api_record_view&id=410&type=feed" alt="" />

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.ppc-coach.info/double-meta-refresh-tutorial-hide-your-traffic-sources/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Personalize your Landing Pages using GeoTargeting</title>
		<link>http://www.ppc-coach.info/personalize-your-landing-pages-using-geotargeting</link>
		<comments>http://www.ppc-coach.info/personalize-your-landing-pages-using-geotargeting#comments</comments>
		<pubDate>Sat, 13 Jun 2009 16:59:19 +0000</pubDate>
		<dc:creator>chris</dc:creator>
				<category><![CDATA[PPC Coach Tips]]></category>
		<category><![CDATA[cpa offers]]></category>
		<category><![CDATA[flogs]]></category>
		<category><![CDATA[geo targeting]]></category>
		<category><![CDATA[landing pages]]></category>

		<guid isPermaLink="false">http://www.ppc-coach.info/?p=296</guid>
		<description><![CDATA[Using geo targeting is a simple way to increase the conversion rates of your landing pages. By personalizing your landing pages in this way, you can increase the trust factor that visitors will have with your site. For you ppc coach members who haven&#8217;t heard of this before, geo targeting is basically a way to [...]


No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-top:15px;margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.ppc-coach.info%2Fdouble-meta-refresh-tutorial-hide-your-traffic-sources"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.ppc-coach.info%2Fdouble-meta-refresh-tutorial-hide-your-traffic-sources&amp;source=ppccoaching&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>I wrote a <strong>double meta refresh tutorial</strong> on the PPC Coach forums, but I wanted to post something similar to my blog as well. For those who not familiar with what a double meta refresh (DMR) is, it is basically a method that allows you to blank your referer.  This is useful in the situation where you don&#8217;t want your affiliate manager to see where your traffic is coming from to an offer.  </p>
<p><a href="http://wpeasypolls.com">CPA Polls</a> are an example of a method where you will want to implement this.  Although there are some networks that don&#8217;t mind poll traffic, I know for a fact most CPA networks do not like polls.  If you get caught sending this type of traffic, you risk getting banned from an offer, or even worse, not getting paid.  </p>
<p>There are also many other legitimate reasons why you might want to cloak your traffic.  Your traffic sources are one of the most valuable assets you own as an affiliate marketer and you don&#8217;t want unscrupulous affiliate networks or just rogue affiliate managers stealing them. Using a double meta refresh is one way to protect yourself and your income.  Keep in mind though that there are certain networks that will threaten you if you blank your referers.  <a href="http://cj.com">CJ.com</a> is one example.  However, I haven&#8217;t had a problem with CPA networks in general when using this method.  </p>
<p>To help you follow along with the rest of this article, I&#8217;ve put up a simple double meta refresh demo page here:</p>
<p><a target="_blank" href="http://freepayperclicktools.com/dmr/">http://freepayperclicktools.com/dmr/</a></p>
<p>To see what I mean about showing the referer, click on the link in Scenario 1 on my demo page.  This is just a regular link that you will find on any website.  The link will take you to another page where you can see it displays the exact url of where you just came from.</p>
<p>To implement the DMR, you need to create 2 PHP files.  The initial link will now go to the first PHP file, which will &#8220;meta-refresh&#8221; to the 2nd PHP file and then &#8220;meta-refresh&#8221; to your destination.  Hence the term <strong>double meta refresh</strong>.  This will result in your referer showing up as &#8220;blank&#8221;.  Try this by clicking on the links in Scenario 2 or 3.  Below is the code for PHP file 1 and PHP file 2.</p>
<p><strong>PHP File 1</strong></p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>html<span style="color: #339933;">&gt;</span>
    <span style="color: #339933;">&lt;</span>head<span style="color: #339933;">&gt;</span>
    <span style="color: #339933;">&lt;</span>meta http<span style="color: #339933;">-</span>equiv<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;refresh&quot;</span> content<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;0;url=http://xyz.com/pathtofile2.php&quot;</span> <span style="color: #339933;">/&gt;</span>
    <span style="color: #339933;">&lt;/</span>head<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;/</span>html<span style="color: #339933;">&gt;</span></pre></div></div>

<p><strong>PHP File 2</strong></p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>html<span style="color: #339933;">&gt;</span>
    <span style="color: #339933;">&lt;</span>head<span style="color: #339933;">&gt;</span>
    <span style="color: #339933;">&lt;</span>meta http<span style="color: #339933;">-</span>equiv<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;refresh&quot;</span> content<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;0;url=http://xyz.com/offer.php&quot;</span> <span style="color: #339933;">/&gt;</span>
    <span style="color: #339933;">&lt;/</span>head<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;/</span>html<span style="color: #339933;">&gt;</span></pre></div></div>

<p>One important thing to note is that there is a downside to using DMR.  <strong>It doesn&#8217;t work across all browsers!</strong> Sure it works fine on the two major browsers, Internet Explorer and Firefox.  However, it doesn&#8217;t work on Safari, Chrome and Opera.  If you have one of those browsers at your disposal, open one of them up and try clicking on my the two DMR links.  Notice that the referer leaks out.  This is bad, as just one leaked referer is enough to get you in trouble.</p>
<p>One solution is to put the first PHP file on your initial domain, and the second PHP file on a separate, unrelated domain.  When you do that, a user using Safari would have its referer show up as coming from this unrelated domain.  This is probably ok, as an affiliate manager still won&#8217;t be able to tell where the original source of traffic is coming from.</p>
<p>If you don&#8217;t want to buy an extra domain for the double-meta-refresh, you can actually place the two php files on the same domain.  However, you will need to make an additional modification to the 2nd PHP file to protect yourself.</p>
<p><strong>PHP File 2</strong></p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #000088;">$referer</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$_SERVER</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'HTTP_REFERER'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$referer</span> <span style="color: #339933;">==</span> <span style="color: #0000ff;">&quot;&quot;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
	<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;&lt;meta http-equiv=<span style="color: #000099; font-weight: bold;">\&quot;</span>refresh<span style="color: #000099; font-weight: bold;">\&quot;</span> content=<span style="color: #000099; font-weight: bold;">\&quot;</span>0;url=http://xyz.com/offer.php&quot;</span><span style="color: #339933;">;</span>    
<span style="color: #009900;">&#125;</span>
<span style="color: #b1b100;">else</span>
<span style="color: #009900;">&#123;</span>
	<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;&lt;meta http-equiv=<span style="color: #000099; font-weight: bold;">\&quot;</span>refresh<span style="color: #000099; font-weight: bold;">\&quot;</span> content=<span style="color: #000099; font-weight: bold;">\&quot;</span>0;url=http://somewherelse.com&quot;</span><span style="color: #339933;">;</span>    
<span style="color: #009900;">&#125;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>Basically, this code checks if the referer is blank, and if it is, the user will be redirected to the offer. If it is not (ie. the visitor is using Safari or Chrome) then they will be redirected to some other page.  As you can see, the cost of blanking your referer in this way will cause a certain percentage of visitors to never make it to your offer.</p>
<p>Using a double meta refresh is not the only way to cloak your traffic sources.  If you use the free <a href="http://tracking202.com">Tracking202</a> script for tracking, you can use the built in cloaking functionality of the script to hide your traffic.  This doesn&#8217;t blank the referer, but instead shows the location of your tracking script as the referer.  You can also use SSL to cloak your traffic as well, but I will leave that for another post.  Let me know if you found this double meta refresh tutorial useful.
<div id="apf_post_footer">
<h4>Related Articles:</h4>
<ul>
<li class="apf_footer"><a href="http://www.ppc-coach.info/?p=296">Personalize your Landing Pages using GeoTargeting</a></li>
<li class="apf_footer"><a href="http://www.ppc-coach.info/?p=127">Expose Profitable PPC Campaigns With Traffic Travis</a></li>
<li class="apf_footer"><a href="http://www.ppc-coach.info/?p=99">My First $100 day with the PPC Coach Poll Method</a></li>
<li class="apf_footer"><a href="http://www.ppc-coach.info/?p=46">Tracking Keywords With Prosper202</a></li>
</ul>
</div>
<p><em>If you enjoyed this post, make sure you <a href="http://ppc-coach.info/feed">subscribe to my RSS feed!</a></em></p>
<img src="http://www.ppc-coach.info/?ak_action=api_record_view&id=410&type=feed" alt="" />

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.ppc-coach.info/double-meta-refresh-tutorial-hide-your-traffic-sources/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Expose Profitable PPC Campaigns With Traffic Travis</title>
		<link>http://www.ppc-coach.info/expose-profitable-ppc-campaigns-with-traffic-travis</link>
		<comments>http://www.ppc-coach.info/expose-profitable-ppc-campaigns-with-traffic-travis#comments</comments>
		<pubDate>Tue, 05 May 2009 23:23:45 +0000</pubDate>
		<dc:creator>chris</dc:creator>
				<category><![CDATA[Affiliate Networks]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[PPC Coach Tips]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[google adwords]]></category>
		<category><![CDATA[ispionage]]></category>
		<category><![CDATA[msn adcenter]]></category>
		<category><![CDATA[pay per click]]></category>
		<category><![CDATA[pay per click tools]]></category>
		<category><![CDATA[ppc bully]]></category>
		<category><![CDATA[ppc bully 2]]></category>
		<category><![CDATA[ppc coach]]></category>
		<category><![CDATA[ppc spy tool]]></category>
		<category><![CDATA[traffic travis]]></category>
		<category><![CDATA[yahoo search marketing]]></category>

		<guid isPermaLink="false">http://www.ppc-coach.info/?p=127</guid>
		<description><![CDATA[As a PPC Coach member, you know that three important aspects of a successful PPC campaign are: finding the right product to promote, figuring out which keywords are profitable, and coming up with compelling ad copy to increase your click-thru-rates. Doing this research yourself can take some time, but fortunately there are several PPC Spy [...]


No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-top:15px;margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.ppc-coach.info%2Fdouble-meta-refresh-tutorial-hide-your-traffic-sources"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.ppc-coach.info%2Fdouble-meta-refresh-tutorial-hide-your-traffic-sources&amp;source=ppccoaching&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>I wrote a <strong>double meta refresh tutorial</strong> on the PPC Coach forums, but I wanted to post something similar to my blog as well. For those who not familiar with what a double meta refresh (DMR) is, it is basically a method that allows you to blank your referer.  This is useful in the situation where you don&#8217;t want your affiliate manager to see where your traffic is coming from to an offer.  </p>
<p><a href="http://wpeasypolls.com">CPA Polls</a> are an example of a method where you will want to implement this.  Although there are some networks that don&#8217;t mind poll traffic, I know for a fact most CPA networks do not like polls.  If you get caught sending this type of traffic, you risk getting banned from an offer, or even worse, not getting paid.  </p>
<p>There are also many other legitimate reasons why you might want to cloak your traffic.  Your traffic sources are one of the most valuable assets you own as an affiliate marketer and you don&#8217;t want unscrupulous affiliate networks or just rogue affiliate managers stealing them. Using a double meta refresh is one way to protect yourself and your income.  Keep in mind though that there are certain networks that will threaten you if you blank your referers.  <a href="http://cj.com">CJ.com</a> is one example.  However, I haven&#8217;t had a problem with CPA networks in general when using this method.  </p>
<p>To help you follow along with the rest of this article, I&#8217;ve put up a simple double meta refresh demo page here:</p>
<p><a target="_blank" href="http://freepayperclicktools.com/dmr/">http://freepayperclicktools.com/dmr/</a></p>
<p>To see what I mean about showing the referer, click on the link in Scenario 1 on my demo page.  This is just a regular link that you will find on any website.  The link will take you to another page where you can see it displays the exact url of where you just came from.</p>
<p>To implement the DMR, you need to create 2 PHP files.  The initial link will now go to the first PHP file, which will &#8220;meta-refresh&#8221; to the 2nd PHP file and then &#8220;meta-refresh&#8221; to your destination.  Hence the term <strong>double meta refresh</strong>.  This will result in your referer showing up as &#8220;blank&#8221;.  Try this by clicking on the links in Scenario 2 or 3.  Below is the code for PHP file 1 and PHP file 2.</p>
<p><strong>PHP File 1</strong></p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>html<span style="color: #339933;">&gt;</span>
    <span style="color: #339933;">&lt;</span>head<span style="color: #339933;">&gt;</span>
    <span style="color: #339933;">&lt;</span>meta http<span style="color: #339933;">-</span>equiv<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;refresh&quot;</span> content<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;0;url=http://xyz.com/pathtofile2.php&quot;</span> <span style="color: #339933;">/&gt;</span>
    <span style="color: #339933;">&lt;/</span>head<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;/</span>html<span style="color: #339933;">&gt;</span></pre></div></div>

<p><strong>PHP File 2</strong></p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>html<span style="color: #339933;">&gt;</span>
    <span style="color: #339933;">&lt;</span>head<span style="color: #339933;">&gt;</span>
    <span style="color: #339933;">&lt;</span>meta http<span style="color: #339933;">-</span>equiv<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;refresh&quot;</span> content<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;0;url=http://xyz.com/offer.php&quot;</span> <span style="color: #339933;">/&gt;</span>
    <span style="color: #339933;">&lt;/</span>head<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;/</span>html<span style="color: #339933;">&gt;</span></pre></div></div>

<p>One important thing to note is that there is a downside to using DMR.  <strong>It doesn&#8217;t work across all browsers!</strong> Sure it works fine on the two major browsers, Internet Explorer and Firefox.  However, it doesn&#8217;t work on Safari, Chrome and Opera.  If you have one of those browsers at your disposal, open one of them up and try clicking on my the two DMR links.  Notice that the referer leaks out.  This is bad, as just one leaked referer is enough to get you in trouble.</p>
<p>One solution is to put the first PHP file on your initial domain, and the second PHP file on a separate, unrelated domain.  When you do that, a user using Safari would have its referer show up as coming from this unrelated domain.  This is probably ok, as an affiliate manager still won&#8217;t be able to tell where the original source of traffic is coming from.</p>
<p>If you don&#8217;t want to buy an extra domain for the double-meta-refresh, you can actually place the two php files on the same domain.  However, you will need to make an additional modification to the 2nd PHP file to protect yourself.</p>
<p><strong>PHP File 2</strong></p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #000088;">$referer</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$_SERVER</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'HTTP_REFERER'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$referer</span> <span style="color: #339933;">==</span> <span style="color: #0000ff;">&quot;&quot;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
	<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;&lt;meta http-equiv=<span style="color: #000099; font-weight: bold;">\&quot;</span>refresh<span style="color: #000099; font-weight: bold;">\&quot;</span> content=<span style="color: #000099; font-weight: bold;">\&quot;</span>0;url=http://xyz.com/offer.php&quot;</span><span style="color: #339933;">;</span>    
<span style="color: #009900;">&#125;</span>
<span style="color: #b1b100;">else</span>
<span style="color: #009900;">&#123;</span>
	<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;&lt;meta http-equiv=<span style="color: #000099; font-weight: bold;">\&quot;</span>refresh<span style="color: #000099; font-weight: bold;">\&quot;</span> content=<span style="color: #000099; font-weight: bold;">\&quot;</span>0;url=http://somewherelse.com&quot;</span><span style="color: #339933;">;</span>    
<span style="color: #009900;">&#125;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>Basically, this code checks if the referer is blank, and if it is, the user will be redirected to the offer. If it is not (ie. the visitor is using Safari or Chrome) then they will be redirected to some other page.  As you can see, the cost of blanking your referer in this way will cause a certain percentage of visitors to never make it to your offer.</p>
<p>Using a double meta refresh is not the only way to cloak your traffic sources.  If you use the free <a href="http://tracking202.com">Tracking202</a> script for tracking, you can use the built in cloaking functionality of the script to hide your traffic.  This doesn&#8217;t blank the referer, but instead shows the location of your tracking script as the referer.  You can also use SSL to cloak your traffic as well, but I will leave that for another post.  Let me know if you found this double meta refresh tutorial useful.
<div id="apf_post_footer">
<h4>Related Articles:</h4>
<ul>
<li class="apf_footer"><a href="http://www.ppc-coach.info/?p=296">Personalize your Landing Pages using GeoTargeting</a></li>
<li class="apf_footer"><a href="http://www.ppc-coach.info/?p=127">Expose Profitable PPC Campaigns With Traffic Travis</a></li>
<li class="apf_footer"><a href="http://www.ppc-coach.info/?p=99">My First $100 day with the PPC Coach Poll Method</a></li>
<li class="apf_footer"><a href="http://www.ppc-coach.info/?p=46">Tracking Keywords With Prosper202</a></li>
</ul>
</div>
<p><em>If you enjoyed this post, make sure you <a href="http://ppc-coach.info/feed">subscribe to my RSS feed!</a></em></p>
<img src="http://www.ppc-coach.info/?ak_action=api_record_view&id=410&type=feed" alt="" />

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.ppc-coach.info/double-meta-refresh-tutorial-hide-your-traffic-sources/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My First $100 day with the PPC Coach Poll Method</title>
		<link>http://www.ppc-coach.info/my-first-100-day-with-the-ppc-coach-poll-method</link>
		<comments>http://www.ppc-coach.info/my-first-100-day-with-the-ppc-coach-poll-method#comments</comments>
		<pubDate>Thu, 12 Feb 2009 01:16:47 +0000</pubDate>
		<dc:creator>chris</dc:creator>
				<category><![CDATA[PPC Coach Tips]]></category>

		<guid isPermaLink="false">http://www.ppc-coach.info/?p=99</guid>
		<description><![CDATA[Although I&#8217;ve been with PPC Coach for almost 7 months now, I have only started running polls for the past few weeks or so. I had read all the information I could on the PPC Coach forums, and had put together a few polls and I was averaging about $25-40 a day with them. However, [...]


No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-top:15px;margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.ppc-coach.info%2Fdouble-meta-refresh-tutorial-hide-your-traffic-sources"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.ppc-coach.info%2Fdouble-meta-refresh-tutorial-hide-your-traffic-sources&amp;source=ppccoaching&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>I wrote a <strong>double meta refresh tutorial</strong> on the PPC Coach forums, but I wanted to post something similar to my blog as well. For those who not familiar with what a double meta refresh (DMR) is, it is basically a method that allows you to blank your referer.  This is useful in the situation where you don&#8217;t want your affiliate manager to see where your traffic is coming from to an offer.  </p>
<p><a href="http://wpeasypolls.com">CPA Polls</a> are an example of a method where you will want to implement this.  Although there are some networks that don&#8217;t mind poll traffic, I know for a fact most CPA networks do not like polls.  If you get caught sending this type of traffic, you risk getting banned from an offer, or even worse, not getting paid.  </p>
<p>There are also many other legitimate reasons why you might want to cloak your traffic.  Your traffic sources are one of the most valuable assets you own as an affiliate marketer and you don&#8217;t want unscrupulous affiliate networks or just rogue affiliate managers stealing them. Using a double meta refresh is one way to protect yourself and your income.  Keep in mind though that there are certain networks that will threaten you if you blank your referers.  <a href="http://cj.com">CJ.com</a> is one example.  However, I haven&#8217;t had a problem with CPA networks in general when using this method.  </p>
<p>To help you follow along with the rest of this article, I&#8217;ve put up a simple double meta refresh demo page here:</p>
<p><a target="_blank" href="http://freepayperclicktools.com/dmr/">http://freepayperclicktools.com/dmr/</a></p>
<p>To see what I mean about showing the referer, click on the link in Scenario 1 on my demo page.  This is just a regular link that you will find on any website.  The link will take you to another page where you can see it displays the exact url of where you just came from.</p>
<p>To implement the DMR, you need to create 2 PHP files.  The initial link will now go to the first PHP file, which will &#8220;meta-refresh&#8221; to the 2nd PHP file and then &#8220;meta-refresh&#8221; to your destination.  Hence the term <strong>double meta refresh</strong>.  This will result in your referer showing up as &#8220;blank&#8221;.  Try this by clicking on the links in Scenario 2 or 3.  Below is the code for PHP file 1 and PHP file 2.</p>
<p><strong>PHP File 1</strong></p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>html<span style="color: #339933;">&gt;</span>
    <span style="color: #339933;">&lt;</span>head<span style="color: #339933;">&gt;</span>
    <span style="color: #339933;">&lt;</span>meta http<span style="color: #339933;">-</span>equiv<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;refresh&quot;</span> content<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;0;url=http://xyz.com/pathtofile2.php&quot;</span> <span style="color: #339933;">/&gt;</span>
    <span style="color: #339933;">&lt;/</span>head<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;/</span>html<span style="color: #339933;">&gt;</span></pre></div></div>

<p><strong>PHP File 2</strong></p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>html<span style="color: #339933;">&gt;</span>
    <span style="color: #339933;">&lt;</span>head<span style="color: #339933;">&gt;</span>
    <span style="color: #339933;">&lt;</span>meta http<span style="color: #339933;">-</span>equiv<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;refresh&quot;</span> content<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;0;url=http://xyz.com/offer.php&quot;</span> <span style="color: #339933;">/&gt;</span>
    <span style="color: #339933;">&lt;/</span>head<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;/</span>html<span style="color: #339933;">&gt;</span></pre></div></div>

<p>One important thing to note is that there is a downside to using DMR.  <strong>It doesn&#8217;t work across all browsers!</strong> Sure it works fine on the two major browsers, Internet Explorer and Firefox.  However, it doesn&#8217;t work on Safari, Chrome and Opera.  If you have one of those browsers at your disposal, open one of them up and try clicking on my the two DMR links.  Notice that the referer leaks out.  This is bad, as just one leaked referer is enough to get you in trouble.</p>
<p>One solution is to put the first PHP file on your initial domain, and the second PHP file on a separate, unrelated domain.  When you do that, a user using Safari would have its referer show up as coming from this unrelated domain.  This is probably ok, as an affiliate manager still won&#8217;t be able to tell where the original source of traffic is coming from.</p>
<p>If you don&#8217;t want to buy an extra domain for the double-meta-refresh, you can actually place the two php files on the same domain.  However, you will need to make an additional modification to the 2nd PHP file to protect yourself.</p>
<p><strong>PHP File 2</strong></p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #000088;">$referer</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$_SERVER</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'HTTP_REFERER'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$referer</span> <span style="color: #339933;">==</span> <span style="color: #0000ff;">&quot;&quot;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
	<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;&lt;meta http-equiv=<span style="color: #000099; font-weight: bold;">\&quot;</span>refresh<span style="color: #000099; font-weight: bold;">\&quot;</span> content=<span style="color: #000099; font-weight: bold;">\&quot;</span>0;url=http://xyz.com/offer.php&quot;</span><span style="color: #339933;">;</span>    
<span style="color: #009900;">&#125;</span>
<span style="color: #b1b100;">else</span>
<span style="color: #009900;">&#123;</span>
	<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;&lt;meta http-equiv=<span style="color: #000099; font-weight: bold;">\&quot;</span>refresh<span style="color: #000099; font-weight: bold;">\&quot;</span> content=<span style="color: #000099; font-weight: bold;">\&quot;</span>0;url=http://somewherelse.com&quot;</span><span style="color: #339933;">;</span>    
<span style="color: #009900;">&#125;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>Basically, this code checks if the referer is blank, and if it is, the user will be redirected to the offer. If it is not (ie. the visitor is using Safari or Chrome) then they will be redirected to some other page.  As you can see, the cost of blanking your referer in this way will cause a certain percentage of visitors to never make it to your offer.</p>
<p>Using a double meta refresh is not the only way to cloak your traffic sources.  If you use the free <a href="http://tracking202.com">Tracking202</a> script for tracking, you can use the built in cloaking functionality of the script to hide your traffic.  This doesn&#8217;t blank the referer, but instead shows the location of your tracking script as the referer.  You can also use SSL to cloak your traffic as well, but I will leave that for another post.  Let me know if you found this double meta refresh tutorial useful.
<div id="apf_post_footer">
<h4>Related Articles:</h4>
<ul>
<li class="apf_footer"><a href="http://www.ppc-coach.info/?p=296">Personalize your Landing Pages using GeoTargeting</a></li>
<li class="apf_footer"><a href="http://www.ppc-coach.info/?p=127">Expose Profitable PPC Campaigns With Traffic Travis</a></li>
<li class="apf_footer"><a href="http://www.ppc-coach.info/?p=99">My First $100 day with the PPC Coach Poll Method</a></li>
<li class="apf_footer"><a href="http://www.ppc-coach.info/?p=46">Tracking Keywords With Prosper202</a></li>
</ul>
</div>
<p><em>If you enjoyed this post, make sure you <a href="http://ppc-coach.info/feed">subscribe to my RSS feed!</a></em></p>
<img src="http://www.ppc-coach.info/?ak_action=api_record_view&id=410&type=feed" alt="" />

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.ppc-coach.info/double-meta-refresh-tutorial-hide-your-traffic-sources/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tracking Keywords With Prosper202</title>
		<link>http://www.ppc-coach.info/tracking-keywords-with-prosper202</link>
		<comments>http://www.ppc-coach.info/tracking-keywords-with-prosper202#comments</comments>
		<pubDate>Sat, 07 Feb 2009 07:37:58 +0000</pubDate>
		<dc:creator>chris</dc:creator>
				<category><![CDATA[PPC Coach Tips]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://www.ppc-coach.info/?p=46</guid>
		<description><![CDATA[Tracking your leads is extremely important when creating your PPC Campaigns. By knowing which keywords are converting for you and which ones are not, is the difference between a highly profitable campaign, and one that you have to throw away. When you join PPC Coach, you get access to a tracking script called PPC Coach [...]


No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-top:15px;margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.ppc-coach.info%2Fdouble-meta-refresh-tutorial-hide-your-traffic-sources"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.ppc-coach.info%2Fdouble-meta-refresh-tutorial-hide-your-traffic-sources&amp;source=ppccoaching&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>I wrote a <strong>double meta refresh tutorial</strong> on the PPC Coach forums, but I wanted to post something similar to my blog as well. For those who not familiar with what a double meta refresh (DMR) is, it is basically a method that allows you to blank your referer.  This is useful in the situation where you don&#8217;t want your affiliate manager to see where your traffic is coming from to an offer.  </p>
<p><a href="http://wpeasypolls.com">CPA Polls</a> are an example of a method where you will want to implement this.  Although there are some networks that don&#8217;t mind poll traffic, I know for a fact most CPA networks do not like polls.  If you get caught sending this type of traffic, you risk getting banned from an offer, or even worse, not getting paid.  </p>
<p>There are also many other legitimate reasons why you might want to cloak your traffic.  Your traffic sources are one of the most valuable assets you own as an affiliate marketer and you don&#8217;t want unscrupulous affiliate networks or just rogue affiliate managers stealing them. Using a double meta refresh is one way to protect yourself and your income.  Keep in mind though that there are certain networks that will threaten you if you blank your referers.  <a href="http://cj.com">CJ.com</a> is one example.  However, I haven&#8217;t had a problem with CPA networks in general when using this method.  </p>
<p>To help you follow along with the rest of this article, I&#8217;ve put up a simple double meta refresh demo page here:</p>
<p><a target="_blank" href="http://freepayperclicktools.com/dmr/">http://freepayperclicktools.com/dmr/</a></p>
<p>To see what I mean about showing the referer, click on the link in Scenario 1 on my demo page.  This is just a regular link that you will find on any website.  The link will take you to another page where you can see it displays the exact url of where you just came from.</p>
<p>To implement the DMR, you need to create 2 PHP files.  The initial link will now go to the first PHP file, which will &#8220;meta-refresh&#8221; to the 2nd PHP file and then &#8220;meta-refresh&#8221; to your destination.  Hence the term <strong>double meta refresh</strong>.  This will result in your referer showing up as &#8220;blank&#8221;.  Try this by clicking on the links in Scenario 2 or 3.  Below is the code for PHP file 1 and PHP file 2.</p>
<p><strong>PHP File 1</strong></p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>html<span style="color: #339933;">&gt;</span>
    <span style="color: #339933;">&lt;</span>head<span style="color: #339933;">&gt;</span>
    <span style="color: #339933;">&lt;</span>meta http<span style="color: #339933;">-</span>equiv<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;refresh&quot;</span> content<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;0;url=http://xyz.com/pathtofile2.php&quot;</span> <span style="color: #339933;">/&gt;</span>
    <span style="color: #339933;">&lt;/</span>head<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;/</span>html<span style="color: #339933;">&gt;</span></pre></div></div>

<p><strong>PHP File 2</strong></p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>html<span style="color: #339933;">&gt;</span>
    <span style="color: #339933;">&lt;</span>head<span style="color: #339933;">&gt;</span>
    <span style="color: #339933;">&lt;</span>meta http<span style="color: #339933;">-</span>equiv<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;refresh&quot;</span> content<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;0;url=http://xyz.com/offer.php&quot;</span> <span style="color: #339933;">/&gt;</span>
    <span style="color: #339933;">&lt;/</span>head<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;/</span>html<span style="color: #339933;">&gt;</span></pre></div></div>

<p>One important thing to note is that there is a downside to using DMR.  <strong>It doesn&#8217;t work across all browsers!</strong> Sure it works fine on the two major browsers, Internet Explorer and Firefox.  However, it doesn&#8217;t work on Safari, Chrome and Opera.  If you have one of those browsers at your disposal, open one of them up and try clicking on my the two DMR links.  Notice that the referer leaks out.  This is bad, as just one leaked referer is enough to get you in trouble.</p>
<p>One solution is to put the first PHP file on your initial domain, and the second PHP file on a separate, unrelated domain.  When you do that, a user using Safari would have its referer show up as coming from this unrelated domain.  This is probably ok, as an affiliate manager still won&#8217;t be able to tell where the original source of traffic is coming from.</p>
<p>If you don&#8217;t want to buy an extra domain for the double-meta-refresh, you can actually place the two php files on the same domain.  However, you will need to make an additional modification to the 2nd PHP file to protect yourself.</p>
<p><strong>PHP File 2</strong></p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #000088;">$referer</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$_SERVER</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'HTTP_REFERER'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$referer</span> <span style="color: #339933;">==</span> <span style="color: #0000ff;">&quot;&quot;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
	<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;&lt;meta http-equiv=<span style="color: #000099; font-weight: bold;">\&quot;</span>refresh<span style="color: #000099; font-weight: bold;">\&quot;</span> content=<span style="color: #000099; font-weight: bold;">\&quot;</span>0;url=http://xyz.com/offer.php&quot;</span><span style="color: #339933;">;</span>    
<span style="color: #009900;">&#125;</span>
<span style="color: #b1b100;">else</span>
<span style="color: #009900;">&#123;</span>
	<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;&lt;meta http-equiv=<span style="color: #000099; font-weight: bold;">\&quot;</span>refresh<span style="color: #000099; font-weight: bold;">\&quot;</span> content=<span style="color: #000099; font-weight: bold;">\&quot;</span>0;url=http://somewherelse.com&quot;</span><span style="color: #339933;">;</span>    
<span style="color: #009900;">&#125;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>Basically, this code checks if the referer is blank, and if it is, the user will be redirected to the offer. If it is not (ie. the visitor is using Safari or Chrome) then they will be redirected to some other page.  As you can see, the cost of blanking your referer in this way will cause a certain percentage of visitors to never make it to your offer.</p>
<p>Using a double meta refresh is not the only way to cloak your traffic sources.  If you use the free <a href="http://tracking202.com">Tracking202</a> script for tracking, you can use the built in cloaking functionality of the script to hide your traffic.  This doesn&#8217;t blank the referer, but instead shows the location of your tracking script as the referer.  You can also use SSL to cloak your traffic as well, but I will leave that for another post.  Let me know if you found this double meta refresh tutorial useful.
<div id="apf_post_footer">
<h4>Related Articles:</h4>
<ul>
<li class="apf_footer"><a href="http://www.ppc-coach.info/?p=296">Personalize your Landing Pages using GeoTargeting</a></li>
<li class="apf_footer"><a href="http://www.ppc-coach.info/?p=127">Expose Profitable PPC Campaigns With Traffic Travis</a></li>
<li class="apf_footer"><a href="http://www.ppc-coach.info/?p=99">My First $100 day with the PPC Coach Poll Method</a></li>
<li class="apf_footer"><a href="http://www.ppc-coach.info/?p=46">Tracking Keywords With Prosper202</a></li>
</ul>
</div>
<p><em>If you enjoyed this post, make sure you <a href="http://ppc-coach.info/feed">subscribe to my RSS feed!</a></em></p>
<img src="http://www.ppc-coach.info/?ak_action=api_record_view&id=410&type=feed" alt="" />

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.ppc-coach.info/double-meta-refresh-tutorial-hide-your-traffic-sources/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Top 5 Reasons Not To Join PPC Coach</title>
		<link>http://www.ppc-coach.info/top-5-reasons-not-to-join-ppc-coach</link>
		<comments>http://www.ppc-coach.info/top-5-reasons-not-to-join-ppc-coach#comments</comments>
		<pubDate>Sun, 18 Jan 2009 02:24:59 +0000</pubDate>
		<dc:creator>chris</dc:creator>
				<category><![CDATA[PPC Coach Tips]]></category>

		<guid isPermaLink="false">http://www.ppc-coach.info/?p=41</guid>
		<description><![CDATA[I&#8217;m a big fan of PPC Coach in case you couldn&#8217;t tell. However, from reading more than six months of posts on the PPC Coach forums and through my own experiences, I can say that PPC Coach is not for everyone. PPC marketing is very competitive, and the people who are successful need a certain [...]


No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-top:15px;margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.ppc-coach.info%2Fdouble-meta-refresh-tutorial-hide-your-traffic-sources"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.ppc-coach.info%2Fdouble-meta-refresh-tutorial-hide-your-traffic-sources&amp;source=ppccoaching&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>I wrote a <strong>double meta refresh tutorial</strong> on the PPC Coach forums, but I wanted to post something similar to my blog as well. For those who not familiar with what a double meta refresh (DMR) is, it is basically a method that allows you to blank your referer.  This is useful in the situation where you don&#8217;t want your affiliate manager to see where your traffic is coming from to an offer.  </p>
<p><a href="http://wpeasypolls.com">CPA Polls</a> are an example of a method where you will want to implement this.  Although there are some networks that don&#8217;t mind poll traffic, I know for a fact most CPA networks do not like polls.  If you get caught sending this type of traffic, you risk getting banned from an offer, or even worse, not getting paid.  </p>
<p>There are also many other legitimate reasons why you might want to cloak your traffic.  Your traffic sources are one of the most valuable assets you own as an affiliate marketer and you don&#8217;t want unscrupulous affiliate networks or just rogue affiliate managers stealing them. Using a double meta refresh is one way to protect yourself and your income.  Keep in mind though that there are certain networks that will threaten you if you blank your referers.  <a href="http://cj.com">CJ.com</a> is one example.  However, I haven&#8217;t had a problem with CPA networks in general when using this method.  </p>
<p>To help you follow along with the rest of this article, I&#8217;ve put up a simple double meta refresh demo page here:</p>
<p><a target="_blank" href="http://freepayperclicktools.com/dmr/">http://freepayperclicktools.com/dmr/</a></p>
<p>To see what I mean about showing the referer, click on the link in Scenario 1 on my demo page.  This is just a regular link that you will find on any website.  The link will take you to another page where you can see it displays the exact url of where you just came from.</p>
<p>To implement the DMR, you need to create 2 PHP files.  The initial link will now go to the first PHP file, which will &#8220;meta-refresh&#8221; to the 2nd PHP file and then &#8220;meta-refresh&#8221; to your destination.  Hence the term <strong>double meta refresh</strong>.  This will result in your referer showing up as &#8220;blank&#8221;.  Try this by clicking on the links in Scenario 2 or 3.  Below is the code for PHP file 1 and PHP file 2.</p>
<p><strong>PHP File 1</strong></p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>html<span style="color: #339933;">&gt;</span>
    <span style="color: #339933;">&lt;</span>head<span style="color: #339933;">&gt;</span>
    <span style="color: #339933;">&lt;</span>meta http<span style="color: #339933;">-</span>equiv<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;refresh&quot;</span> content<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;0;url=http://xyz.com/pathtofile2.php&quot;</span> <span style="color: #339933;">/&gt;</span>
    <span style="color: #339933;">&lt;/</span>head<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;/</span>html<span style="color: #339933;">&gt;</span></pre></div></div>

<p><strong>PHP File 2</strong></p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>html<span style="color: #339933;">&gt;</span>
    <span style="color: #339933;">&lt;</span>head<span style="color: #339933;">&gt;</span>
    <span style="color: #339933;">&lt;</span>meta http<span style="color: #339933;">-</span>equiv<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;refresh&quot;</span> content<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;0;url=http://xyz.com/offer.php&quot;</span> <span style="color: #339933;">/&gt;</span>
    <span style="color: #339933;">&lt;/</span>head<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;/</span>html<span style="color: #339933;">&gt;</span></pre></div></div>

<p>One important thing to note is that there is a downside to using DMR.  <strong>It doesn&#8217;t work across all browsers!</strong> Sure it works fine on the two major browsers, Internet Explorer and Firefox.  However, it doesn&#8217;t work on Safari, Chrome and Opera.  If you have one of those browsers at your disposal, open one of them up and try clicking on my the two DMR links.  Notice that the referer leaks out.  This is bad, as just one leaked referer is enough to get you in trouble.</p>
<p>One solution is to put the first PHP file on your initial domain, and the second PHP file on a separate, unrelated domain.  When you do that, a user using Safari would have its referer show up as coming from this unrelated domain.  This is probably ok, as an affiliate manager still won&#8217;t be able to tell where the original source of traffic is coming from.</p>
<p>If you don&#8217;t want to buy an extra domain for the double-meta-refresh, you can actually place the two php files on the same domain.  However, you will need to make an additional modification to the 2nd PHP file to protect yourself.</p>
<p><strong>PHP File 2</strong></p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #000088;">$referer</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$_SERVER</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'HTTP_REFERER'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$referer</span> <span style="color: #339933;">==</span> <span style="color: #0000ff;">&quot;&quot;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
	<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;&lt;meta http-equiv=<span style="color: #000099; font-weight: bold;">\&quot;</span>refresh<span style="color: #000099; font-weight: bold;">\&quot;</span> content=<span style="color: #000099; font-weight: bold;">\&quot;</span>0;url=http://xyz.com/offer.php&quot;</span><span style="color: #339933;">;</span>    
<span style="color: #009900;">&#125;</span>
<span style="color: #b1b100;">else</span>
<span style="color: #009900;">&#123;</span>
	<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;&lt;meta http-equiv=<span style="color: #000099; font-weight: bold;">\&quot;</span>refresh<span style="color: #000099; font-weight: bold;">\&quot;</span> content=<span style="color: #000099; font-weight: bold;">\&quot;</span>0;url=http://somewherelse.com&quot;</span><span style="color: #339933;">;</span>    
<span style="color: #009900;">&#125;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>Basically, this code checks if the referer is blank, and if it is, the user will be redirected to the offer. If it is not (ie. the visitor is using Safari or Chrome) then they will be redirected to some other page.  As you can see, the cost of blanking your referer in this way will cause a certain percentage of visitors to never make it to your offer.</p>
<p>Using a double meta refresh is not the only way to cloak your traffic sources.  If you use the free <a href="http://tracking202.com">Tracking202</a> script for tracking, you can use the built in cloaking functionality of the script to hide your traffic.  This doesn&#8217;t blank the referer, but instead shows the location of your tracking script as the referer.  You can also use SSL to cloak your traffic as well, but I will leave that for another post.  Let me know if you found this double meta refresh tutorial useful.
<div id="apf_post_footer">
<h4>Related Articles:</h4>
<ul>
<li class="apf_footer"><a href="http://www.ppc-coach.info/?p=296">Personalize your Landing Pages using GeoTargeting</a></li>
<li class="apf_footer"><a href="http://www.ppc-coach.info/?p=127">Expose Profitable PPC Campaigns With Traffic Travis</a></li>
<li class="apf_footer"><a href="http://www.ppc-coach.info/?p=99">My First $100 day with the PPC Coach Poll Method</a></li>
<li class="apf_footer"><a href="http://www.ppc-coach.info/?p=46">Tracking Keywords With Prosper202</a></li>
</ul>
</div>
<p><em>If you enjoyed this post, make sure you <a href="http://ppc-coach.info/feed">subscribe to my RSS feed!</a></em></p>
<img src="http://www.ppc-coach.info/?ak_action=api_record_view&id=410&type=feed" alt="" />

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.ppc-coach.info/double-meta-refresh-tutorial-hide-your-traffic-sources/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Served from: www.ppc-coach.info @ 2012-02-03 18:44:33 -->
