Hide traffic from iframe

goldmercury

ゲイウェブマ&#
Sep 13, 2009
608
12
0
Anyone lead my in the right direction of hiding traffic from an iframe on my site?

I'm not too worried about my site just how the traffic is getting to my site - do not want to reveal this to the client.

Thanks in advance.
 


Nothing shady just don't want to out my keywords to affiliate managers. They already managed to figure out one of my main ones. I can only assume because I have their iframe form sitting on my site.
 
What about sending the traffic from HTTPS to your page w/iframe in order to blank the referers?
 
When you call the url in the iframe src you need it to redirect to the cpa offer. Simplest way to do it is to go to bit.ly and create a link for it. That way the network will only see the bit.ly link as the referrer.

@(O_o): All of these networks are shady as fuck. You can't even trust your affiliate manager. Why would you willingly out your traffic source/landing page? As long as your traffic is legit and backs out for the advertiser he won't have an issue.
 
I would do it by having the iframe page do a double meta refresh. That way you know for sure nothing is getting passed through. Here is the code I use in php:

<?php
$hidedomain = 'domaintohide.com';
$outlink = 'http://www.jim.am';
if(strpos($_SERVER['HTTP_REFERER'],$hidedomain) !== false) {
echo '<html><head><title>Loading...</title></head><body>';
echo "<meta http-equiv=\"refresh\" content=\"0;url=".'http://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']."\">";
echo '</body></html>';
exit;
}

header("HTTP/1.1 301 Moved Permanently");
header("Location: $outlink");
exit();

?>