How do you hide referrers from your CPA network

Discussion in 'Black Hat SEO' started by black_ice007, Mar 12, 2008.

  1. black_ice007

    black_ice007 Regular Member

    Joined:
    Nov 28, 2007
    Messages:
    350
    Likes Received:
    141
    Occupation:
    Software Engineer
    Location:
    Raleigh, NC
    I have a site that has the following html code:

    <frameset rows="100%,*" border="0">

    <frame src="MY AFFILIATE ID" frameborder="0" />
    <frame frameborder="0" noresize />

    </frameset>

    I'm trying to understand whether the CPA network will know where my traffic is coming from. I'm basically loading the CPA networks offer landing page into a frame on my site. Is this the best way to hide referrers?
     
  2. stephan

    stephan Jr. VIP Jr. VIP

    Joined:
    Mar 7, 2008
    Messages:
    1,947
    Likes Received:
    151
    They still see where it comes from.

    You can do it this way.

    Don't put your affiliate link into the source. Create a php file on your server (get a free one if you need one. Look in my signature if you need some free hosting) and put this code in the index.php file

    <?php
    $header = "Location: YOUR AFFILIATE LINK\n";
    $header = "Referer: \n";
    header($header);
    ?>

    I haven't tested it yet but it should work
     
    Last edited: Mar 12, 2008
  3. stephan

    stephan Jr. VIP Jr. VIP

    Joined:
    Mar 7, 2008
    Messages:
    1,947
    Likes Received:
    151
    Just played with the code and it doesn't work. Will keep playing and let you know.
     
  4. Professor

    Professor BANNED BANNED

    Joined:
    Feb 13, 2008
    Messages:
    67
    Likes Received:
    3
    You could use this meta refresh:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns=" http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Refresh" content="0;URL=http://www.afflink.com">
    <title>Title</title>
    </head>
    <body>
    </body>
    </html>

    That should work, as far as I understand. This was taken from Ruck's blog btw.
     
  5. arcarc

    arcarc Newbie

    Joined:
    Mar 5, 2008
    Messages:
    38
    Likes Received:
    4
    how about refresh in php?

    header( 'refresh: 1; url=http://urlgoeshere' );
     
  6. jelf1

    jelf1 Newbie

    Joined:
    Feb 21, 2008
    Messages:
    23
    Likes Received:
    0
    meta refresh works i was hoping this guys php code would work above (not the refresh one) but it doesnt a php solution would rock my world
     
  7. arcarc

    arcarc Newbie

    Joined:
    Mar 5, 2008
    Messages:
    38
    Likes Received:
    4
    what? my method won't work? :)

    originally i used to use:

    <?
    header("Location:http://www.affiliatelinkgoeshere");
    ?>

    but switched to

    <?
    header( 'refresh: 1; url=http://www.affiliatelinkgoeshere' );
    ?>

    then looked at the http header plugin from firefox to see and less info was passed with the 2nd method.

    hope i'm right. right?
     
  8. Pryda

    Pryda Registered Member

    Joined:
    Sep 9, 2007
    Messages:
    95
    Likes Received:
    36
  9. Butler

    Butler Registered Member Premium Member

    Joined:
    Feb 4, 2008
    Messages:
    71
    Likes Received:
    1
  10. black_ice007

    black_ice007 Regular Member

    Joined:
    Nov 28, 2007
    Messages:
    350
    Likes Received:
    141
    Occupation:
    Software Engineer
    Location:
    Raleigh, NC
    I just checked out Ruck's blog at

    hxxp://cashtactics.net/01/07/sneaky-links-meta-refresh-vs-php-redirect/

    It gives me everything i needed to know about hiding the referrer!!

    Thanks alot people.
     
  11. Butler

    Butler Registered Member Premium Member

    Joined:
    Feb 4, 2008
    Messages:
    71
    Likes Received:
    1
    So will the meta refresh work if you were to use the forum image stuffing technique?
     
  12. black_ice007

    black_ice007 Regular Member

    Joined:
    Nov 28, 2007
    Messages:
    350
    Likes Received:
    141
    Occupation:
    Software Engineer
    Location:
    Raleigh, NC
    Hello all,

    I just tested this with a CPA network of mine that actually shows the referrer information in my panel and I found that it no longer shows the referrer information of people coming to my site. So this WORKS!!!!


    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns=" http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Refresh" content="0;URL=AFFILIATE URL HERE">
    <title>SITE TITLE HERE</title>
    </head>
    <body>
    </body>
     
  13. genomicist

    genomicist Newbie

    Joined:
    Dec 15, 2007
    Messages:
    23
    Likes Received:
    3
    Do you mind sharing which CPA network you were able to test this out with? I'm trying to use this code as well, but I don't know how to test to see if it's working.
     
  14. raj564

    raj564 Regular Member

    Joined:
    Dec 6, 2007
    Messages:
    317
    Likes Received:
    93
    Location:
    theres a guy who wrote a detailed blog about it.
    Code:
    slightlyshadyseo.com
     
  15. 10kay

    10kay Registered Member

    Joined:
    Oct 13, 2007
    Messages:
    87
    Likes Received:
    38
  16. Cabal

    Cabal Newbie

    Joined:
    Feb 18, 2008
    Messages:
    7
    Likes Received:
    0
    This method is obvious, you will be banned because the guy can see your code in the source page .......
     
  17. 10kay

    10kay Registered Member

    Joined:
    Oct 13, 2007
    Messages:
    87
    Likes Received:
    38
    thats true cabal, i could be wrong but the point is i think when the guy looks thru his logs, he has no clue where the traffic is even coming from right?
     
  18. 44blackhatters

    44blackhatters Registered Member

    Joined:
    Jan 21, 2008
    Messages:
    52
    Likes Received:
    3
    The other problem (besides code being out in open), is that sometimes showing NO referrer information causes red flags for the networks. If they question your traffic/payout, then they will attempt to find your landing pages and look at the code.

    Anyone know a good explanation to give networks as to why referrer info would be blank?
     
  19. BHBodeezy

    BHBodeezy BANNED BANNED

    Joined:
    Nov 25, 2007
    Messages:
    515
    Likes Received:
    704
    You can also use http://www.cloakdomain.com to cloak your links on the fly.
     
  20. 1mill_soon

    1mill_soon Registered Member

    Joined:
    Apr 1, 2008
    Messages:
    58
    Likes Received:
    54
    Occupation:
    Web Designer
    Location:
    USA

    I am interested in this as well, as most of my sites are using the meta refresh trick.

    On another note:
    Is their a way to pass false header information on? Sort of like inject a fake header tag so if your affiliate will not see a blank link or if the did track back the link they would see a clean page?

    MUCH THANKS!!!