1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to fake the referrer

Discussion in 'CPA' started by im n0t lurer, Aug 5, 2009.

  1. im n0t lurer

    im n0t lurer Regular Member

    Joined:
    Jun 29, 2009
    Messages:
    229
    Likes Received:
    54
    NOTE: I DID NOT DO THIS "GUIDE" I FOUND IT WHEN I DID SOME SEARCHES, AND WANTED TO GIVE BACK TO THE COMMUNITY HOPE THIS HELP, Thanks.


    Here is a simple way to hide your real traffic source and show your CPA a fake referrer. I am going to assume you already know how to implement double meta refresh to blank your traffic source.
    Ok you know how to make your referrer blank which is great but some (or most) CPA's want to know how you get your traffic, if you don't your aff manager might give you some shit if you bring in serious money. Plus I hate to have to SLOW DOWN on how much I milk an offer just bc I get traffic from a source they don't like.

    A very simple way of faking your referrer is to set up a selective page redirect using simple javascript on a genuine landing page. Here is the code:

    HTML Code:
    <script language=Javascript>
    var ref;
    ref=document.referrer;

    if (ref.replace("YOUR_REFERRER.com","") != ref)
    {
    window.location.href='http://www.Genuinely .com';
    }
    //=====Code By: metalcolin=====
    if (ref.replace("YOUR_REFERRER_2.com","") != ref)
    {
    window.location.href='http://YOUR_CPA_OFFER.com';
    }
    //===== metalcolin ======
    if (ref.replace("http://YOUR_REFERRER_3.com","") != ref)
    {
    window.location.href='http://www.YOUR_CPA_OFFER.com';
    }
    //=====
    </script>
    This is how you do it, you set up your basic double meta to point to your landing page and configure your javascript to redirect the traffic coming from your 2nd redirects ONLY (important). For example, in the 'YOUR_REFERRER.com' you put in the FULL url of your 2nd meta refresh which will only redirect the traffic that comes from that source and it will leave the referrer as your landing page for your CPA network to see (which is what you want).

    When someone from the CPA Network comes to check out your landing page they will NOT be redirected and everything looks perfectly legit
     
  2. cookz4u

    cookz4u Newbie

    Joined:
    Dec 25, 2008
    Messages:
    44
    Likes Received:
    1
    Say javascript was disabled hypothetically, would it be possible to recreate the same effect with php?
     
  3. im n0t lurer

    im n0t lurer Regular Member

    Joined:
    Jun 29, 2009
    Messages:
    229
    Likes Received:
    54
    NO IDEA hehe :p