I've never tried, but why do you want to blank it completely? Faking it to a nice clean full page ad or similar on a clean domain is generally a better strategy if you're dealing with affiliate programs. It has the same effect of hiding your traffic source, but it looks less suspicious.
server.whatever.com/?sitename=whatever ---> CPA redirector 2 fakes referrer as server.whatever.com/my_ad.html or just server.whatever.com ---> final destination
It's a couple more steps but if you keep CPA redirector 2 on the same domain then it should be fast because there are no extra DNS lookups in the middle.
Then you'd have to put CPA redirector on another domain. You take a slight hit with the extra DNS lookup but I don't see any other alternative if you want to eradicate all trace of your tracking server from the trail. If you have fast hosting then it's not really a huge issue - I do something similar with Twitter traffic to track and then hide referrers. You sacrifice some track-ability and a small proportion of clicks lost to http errors in return for anonymity.
In any case I'd definitely advise against completely blanking your referrer because I've seen heaps of affiliate reps cite it as a cause for suspicion. If you fake it to a pretty full page ad, you can just say "I bought my traffic at {second tier PPC company} and sent it to this full page ad."
I'm talking about ppc > analytics > fake referrer > cpa.
I think you're possibly overestimating how much time the affiliate reps have to check up on your stuff. Their main concerns are a) make sure you're not sending fraud traffic and b) that the advertisers are happy with your traffic.
Many programs ban Twitter traffic but I send it to them all day going Twitter > my own fake short url domains which fake referrer (to FPA on another domain) > CPA and I've never had a problem. However, if you're just sending shitty traffic then you have a bigger problem than your referrers.
Also if you're worried about compete etc then you are going to have a hard time tricking them because a lot of those sites are based on toolbar data which is basically impossible to fake (ie. you can't manipulate the http header data that is sent back through the toolbar).
Yep but that's basically unavoidable.
If you're looking at http referrer data then the short urls are hidden when the referrer is faked through the full page ad.
Is there still not a PHP based solution for blanking the referrer with Chrome?
//echo 1; exit;
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $redirect_url);
curl_setopt($ch, CURLOPT_COOKIESESSION, true);
curl_setopt($ch, CURLOPT_FAILONERROR, false);
curl_setopt($ch, CURLOPT_VERBOSE, 1);
curl_setopt($ch, CURLOPT_REFERER, $spoof_referrer_url);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($ch, CURLOPT_FRESH_CONNECT, true);
curl_setopt($ch, CURLOPT_HEADER, fasle);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 30);
$result = curl_exec($ch);
curl_close($ch);
$pattern = "#Set-Cookie: (.*?; path=.*?;.*?)\n#";
preg_match_all($pattern, $result, $matches);
array_shift($matches);
$cookie = implode("\n", $matches[0]);
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $redirect_url);
// Then, once we have the cookie, let's use it in the next request:
curl_setopt($ch, CURLOPT_COOKIE, $cookie );
curl_setopt($ch, CURLOPT_VERBOSE, 1);
curl_setopt($ch, CURLOPT_REFERER, $spoof_referrer_url);
curl_setopt($ch, CURLOPT_COOKIESESSION, true);
curl_setopt($ch, CURLOPT_FAILONERROR, false);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true );
curl_setopt($ch, CURLOPT_FRESH_CONNECT, true);
curl_setopt($ch, CURLOPT_HEADER, false);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 30);
$result = curl_exec($ch);
curl_close($ch);
//echo 1;
//echo $redirect_url;
echo $result;