Y T Nuke  
Results 1 to 3 of 3
I'm using this dmr script: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <?php ...
  1. #1
    flow's Avatar
    flow is offline Jr. VIP
    Join Date
    Oct 2008
    Posts
    356
    Reputation
    25
    Thanks
    209
    Thanked 109 Times in 69 Posts

    Default Safari not blanking referrer?

    I'm using this dmr script:

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <?php //Grab arguments from the GET string
    $SEC = $_GET['S'];
    //If on second bounce SEC = 1
    if ( $SEC == '1' )
    {
    //Validate (make sure the referer cleared)
    if ( $_SERVER['HTTP_REFERER'] == '' )
    {
    //Landing page
    $bounce_loc='www.landingpagewhateverrrrrrrr.com';
    }
    else //Bad! dump them somewhere!
    {
    //Dump location (for metas that didn't clear)
    $bounce_loc="http://www.google.com";
    }
    }
    else //First time through--bounce them back!
    {
    $self = $_SERVER['SCRIPT_NAME'];
    $bounce_loc="$self?S=1";
    }
    ?><?php print("<meta http-equiv=refresh content='0;url=$bounce_loc'>");
    ?>
    </head>
    <body>
    <br>
    </body>
    </html>

    When I navigate to the page with firefox, it bounces me to landing page-- when I navigate to it with Safari, it bounces me to Google. Any ideas?

  2. #2
    drkenneth's Avatar
    drkenneth is offline Executive VIP
    Join Date
    Nov 2008
    Location
    USA
    Posts
    285
    Reputation
    26
    Thanks
    20
    Thanked 167 Times in 79 Posts

    Default Re: Safari not blanking referrer?

    Safari doesn't clear the referer on a meta refresh apparently. (I just tested and verified this myself.) At least the script makes sure the referer doesn't get passed on to your affiliate

    I do not know any good ways to blank the referer for Safari. So, you have three real options.
    A. Take the Safari users as a loss (3.5-4% of web users)
    B. Make all the traffic appear to come from a certain page that looks legitimate. (i.e. has an affiliate banner on top when normally displayed, but acts as a javascript bounce page (which leaves Referer) when being used as a bouncer.
    C. Make only the non-cleared traffic to appear as in B, as opposed to all of it, though this might look weird to the affiliate

  3. The Following User Says Thank You to drkenneth For This Useful Post:

    flow (12-03-2008)

  4. #3
    abcdabcd is offline Junior Member
    Join Date
    Feb 2008
    Posts
    181
    Reputation
    14
    Thanks
    4,294,967,286
    Thanked 15 Times in 9 Posts

    Default Re: Safari not blanking referrer?

    what about if you use 2 different domains with a meta refresh?

Natural Slow Link Building


SEO Blasts - High quality link building service

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
  SEnukeX SEO Software
Proudly Powered by Hostwinds.com Web Hosting Click Here For Exclusive BHW Discounts!

Cheap Web Hosting


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76