[FREE] Fake Referrer Script, tested in Chrome, Firefox and IE.

Status
Not open for further replies.
Would this work for something like Amazon associates and autosurf sites that have members use browsers to autosurf? Then it would insert a cookie into the users browser and if the user bought something from amazon in 30 days or whatever the time frame is I would get the commission. Amazon would think the sale was from my page and not autosurf. Or would I just get banned from amazon? Sorry if this seems stupid, but just had to ask cause of won't get out of my head until I do, thanks.
 
Would this work for something like Amazon associates and autosurf sites that have members use browsers to autosurf? Then it would insert a cookie into the users browser and if the user bought something from amazon in 30 days or whatever the time frame is I would get the commission. Amazon would think the sale was from my page and not autosurf. Or would I just get banned from amazon? Sorry if this seems stupid, but just had to ask cause of won't get out of my head until I do, thanks.


You are thinking of Cookie Stuffing and CS discussions are not permitted on BHW
 
Thanks for letting me know. I'm still new at this and had no idea what CS was and after researching it I definitely want to stay away from that. Would this method work though with amazon associates and a paid advertising service (adwords, bing ads, etc) or is amazon too sophisticated that they would know and ban me? Or does it not matter and I can just advertise directly without this script? I feel like this is basic knowledge, but figured I should ask since I didn't even know what CS was.
 
Thanks! i used to use CPA Redirector 2 back in the days too, is there any way i can test this script?
 
This method is the preferred method, remember meta refresh no longer works and php's header("Location: url"); no longer works.
 
Can someone check code? I implemented this code but secret token also redirect me to landingpage.php.

Edit: Code works, thanks OP
 
Last edited:
I just test the code, send 1000 clicks from trafficholder, and received 200, lost so much. maybe use script for the Redirect, can you fix it?
 
Are you getting traffic lost from the script or something else? Anyone else have issues with the script before i implement?
 
Code seems to work properly.

I changed it to support multiple urls...


<?php


function js($url) {
return "<script>window.location.href = \"" . $url . "\"</script>";
}


$secret = "sp";
$cookie = "v";


$urls = [
"https://httpbin.org/headers"
];


$afflink = $urls[array_rand($urls)];


if (isset($_GET["token"]) && $_GET["token"] == $secret) {
setcookie($cookie, $secret, time() + 3600); /* expire in 1 hour */
echo js(strtok($_SERVER["REQUEST_URI"], '?'));
}


if (isset($_COOKIE[$cookie]) && $_COOKIE[$cookie] == $secret) {
setcookie($cookie, "", time() - 3600); /* unset cookie */
echo js($afflink);
}


?>
 
Code seems to work properly.

I changed it to support multiple urls...


So, I hate to dig up an old topic , but im having an issue with your code. Where do I put my links and how do I format them to work properly? What is the cookie"V" value does this need to change? Lastly does this still work and would it be sufficient to lose my ref data. These are silly questions im sure but I'd appreciate a response. Maybe a minor tutorial?
 
Great thanks for this.
It can be useful in many other things.
The token trick is really interesting.
 
Great share!!! I am tempted to try this soon. Thanks man
 
This is great share OP! As I'm just beginning to explore some side streams of income and I hear all the same hubub about facebook traffic, this is going to prove very useful >:-D

Thank you and stay blessed!
 
This is great and will work most of the time but be aware some affiliate managers are smarter than this. They actually will contact people and see where they came from.

So this will work most of the time but just be aware of that before sinking huge money in to advertising or something.
 
Last edited:
I don't want people to know where the traffic is coming from (in your example Facebook) if they decide to check the traffic going to the whitehat LP (e.g. http://whitehat.com/some-landing-page.php). Is there anyway to blank that referrer while still having the fake referrer functionality work? Thanks.
 
Status
Not open for further replies.
Back
Top