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

how would i check referer of iframe..

Discussion in 'CPA' started by kammykhan, Aug 24, 2009.

  1. kammykhan

    kammykhan Regular Member

    Joined:
    Dec 23, 2008
    Messages:
    208
    Likes Received:
    96
    Occupation:
    Grafter!!
    Location:
    At Home!
    what process would you take to check if your iframe is faking properly or leaking?

    how would you check what referel data is being sent...

    someone must know how to check!?


    please let me know asap!

    thanks peeps!
     
  2. jabbidoo

    jabbidoo Junior Member

    Joined:
    Oct 21, 2008
    Messages:
    173
    Likes Received:
    151
    Just send the user to a php page (instead of sending him to your aff link) which includes this:

    bla.php
    Code:
    <?php
    $referrer = $_SERVER['HTTP_REFERER'];
    $browser = $_SERVER['HTTP_USER_AGENT'];
    $information = $referrer. " | " .$browser. "\n"; 
    $datei_handle=fopen("datei.txt",a);
    fwrite($datei_handle,$information);
    fclose($datei_handle);
    ?>
    
    Now, put a txt file with the name datei (datei.txt) in the same folder and set the rights to 777. Now, you get the referrer and the user agent of every user who gets on the page.
     
    • Thanks Thanks x 1
  3. kammykhan

    kammykhan Regular Member

    Joined:
    Dec 23, 2008
    Messages:
    208
    Likes Received:
    96
    Occupation:
    Grafter!!
    Location:
    At Home!
    using this.. would i be able to tell if my iframed page has leaked or if its been faked wel??
     
  4. S M W

    S M W Junior Member

    Joined:
    May 8, 2009
    Messages:
    135
    Likes Received:
    49
    go to your cpa acct stats and check your stats to see where your referers came from. some networks provide this info - others dont. waaahh
     
    • Thanks Thanks x 1
  5. kammykhan

    kammykhan Regular Member

    Joined:
    Dec 23, 2008
    Messages:
    208
    Likes Received:
    96
    Occupation:
    Grafter!!
    Location:
    At Home!
    yea problem is the one im using doesnt..lol.. otherwise that was my usual way of checking!
     
  6. jabbidoo

    jabbidoo Junior Member

    Joined:
    Oct 21, 2008
    Messages:
    173
    Likes Received:
    151
    yeah, of course. In the txt file it looks like this:

    referrer | user agent
    referrer | user agent
    ...

    So, you basically send a few hundred or thousand people to your site and then check the txt file. When you blank the referrer it has to look like this:

    | user agent
    | user agent
    ...

    Hope this helped
     
  7. betster77

    betster77 Regular Member

    Joined:
    Mar 21, 2009
    Messages:
    246
    Likes Received:
    237
    you can also just email it to yourself if it's a short test.
    Just drop this on a test page target instead of the cpa offer::

    Code:
    <?php mail('your@email.com','reftest',$_SERVER['HTTP_REFERER'],'From: bot@test.com'); ?>
     
  8. tangch00

    tangch00 Newbie

    Joined:
    Jun 19, 2009
    Messages:
    4
    Likes Received:
    32
    When I send blackhat traffic to an iframe offer on my own domain, what referral URL will my affiliate manager see if the visitor converts to a lead? Will he see my blackhat traffic source or from my own URL which contains the iframe?
     
  9. CClark56

    CClark56 Regular Member

    Joined:
    May 25, 2009
    Messages:
    298
    Likes Received:
    128
    Location:
    Indiana
    It will see the page you've iframed not the page that contains the iframe.

    This is why you must DMR/FR the URL that is being iframed.