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

Double Meta Refresh + iFrame

Discussion in 'CPA' started by IGKing, Jun 30, 2011.

  1. IGKing

    IGKing Jr. VIP Jr. VIP Premium Member

    Joined:
    May 9, 2010
    Messages:
    736
    Likes Received:
    682
    Occupation:
    Instagram
    Location:
    Ron Paul's America
    I have a serious question. Are you ready? Okay.

    I would like to incorporate a CPA offer into one of my websites (iFrame), however my website only gets traffic that those big CPA firms don't like.

    So I decided to go with a basic double meta refresh on my offer.

    URL1
    PHP:
    <title>Logging information...</title>
    <?php 
        $referer 
    $_SERVER['HTTP_REFERER']; 
        if(
    $referer == ""
        { 
            echo 
    "<meta http-equiv=\"refresh\" content=\"0;url=URL2.php\">";     
        } 
    ?>
    URL2
    PHP:
    <title>Processing Server Request...</title>
    <?php 
        $referer 
    $_SERVER['HTTP_REFERER']; 
        if(
    $referer == ""
        { 
            echo 
    "www.cpaoffer.com";     
        } 
    ?>
    My question now is iFraming.

    If I use cakeslice, what do I iframe? Do I put in Cakeslice my URL1? Or do I put in my cpa offer?

    I am confused.

    A big cookie to whoever solves this dilemma.
     
  2. nesterdwarf

    nesterdwarf Regular Member

    Joined:
    May 30, 2008
    Messages:
    276
    Likes Received:
    539
    Location:
    State of Misery...er, Missouri...
    To answer your question, you would put URL1 in cakeslice...

    However, IE will still pass the referer when using an iframe, even with the DMR...if you want to be safe and not send IE users into a loop, use CPA Redirector and fake it instead...

    HTH
    ND
     
  3. IGKing

    IGKing Jr. VIP Jr. VIP Premium Member

    Joined:
    May 9, 2010
    Messages:
    736
    Likes Received:
    682
    Occupation:
    Instagram
    Location:
    Ron Paul's America
    If I am using HTML web only...(not wordpress), I would use the standalone version, correct?
     
  4. nesterdwarf

    nesterdwarf Regular Member

    Joined:
    May 30, 2008
    Messages:
    276
    Likes Received:
    539
    Location:
    State of Misery...er, Missouri...
    Yes. look for the 2.1 version that only shows the directory as the referer. Then you can safely say that you have a tracking script installed there and you'd prefer to not reveal your traffic source because of dishonest AM's ;)

    HTH
    ND
     
    • Thanks Thanks x 1
  5. IGKing

    IGKing Jr. VIP Jr. VIP Premium Member

    Joined:
    May 9, 2010
    Messages:
    736
    Likes Received:
    682
    Occupation:
    Instagram
    Location:
    Ron Paul's America
    I installed the first 1.0 package. I ran that by my AM today and he said my traffic looked good so I should be safe. But thanks, if I get in trouble, I will do that!