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

DMR Inside Iframe IE Workaround

Discussion in 'Black Hat SEO' started by ChanzGrande, Sep 4, 2009.

  1. ChanzGrande

    ChanzGrande Jr. VIP Jr. VIP Premium Member

    Joined:
    Feb 16, 2008
    Messages:
    2,484
    Likes Received:
    1,159
    Occupation:
    Accountant
    Location:
    Northern Woods Counting Money
    I noticed a lot of people sharing a similar challenge I've experienced when using GodCPA/Cakeslice to crop an offer. Specifically, the best way to blank your referrer is to actually open a DMR to your offer INSIDE the IFRAME spit out by cakeslice/GodCPA.

    Unfortunately, if you do this the page will infinitely loop for virtually all IE browsers(I have not cross-tested anything else other than firefox).

    I actually don't care about the other browsers as far as whether or not the cropped offer page works right because there just isn't enough traffic using anything other than IE/FF. With that said, you could easily adapt the suggestions I am going to give below to "browser detect" other browsers if you wanted to do so.

    Anyway - on to the workaround.

    What you will do is send your traffic to a page that will check to see if the browser is an IE browser, and if so, it will send the visitor to a standard DMR instead of going anywhere near your cropped IFRAME from cakeslice/GodCPA.

    Here is the code:

    Code:
    <?php
    $br = strtolower($_SERVER['HTTP_USER_AGENT']); // what browser they use.
    
    if(ereg("msie", $br)) {
        header("location: STANDARD-DMR-URL");
    } else {
        header("location: CROPPED-IFRAME-URL");
    }
    ?> 
    Of course, you will want to substitute the correct URLs for your unique offer pages.

    That's it. However, in order to ensure that you don't have FF browser heavy conversions on your offer, you should ensure that the offer you are promoting on your CROP is also present in the standard DMR. Otherwise, all your traffic and conversions will come from browsers other than IE...that will definitely look ODD to your AM.

    I hope this helps, and if it does, feel free to donate some rep or a thanks or something.

    Til next time BHW...
     
    • Thanks Thanks x 2
  2. ChanzGrande

    ChanzGrande Jr. VIP Jr. VIP Premium Member

    Joined:
    Feb 16, 2008
    Messages:
    2,484
    Likes Received:
    1,159
    Occupation:
    Accountant
    Location:
    Northern Woods Counting Money
    Well isn't that interesting?

    I'm surprised nobody is finding this valuable since I saw about 15 distinct posts with people trying to figure out how to deal with this DMR loop problem.

    Good news though. It still works for me. :)
     
  3. mrgodlike

    mrgodlike BANNED BANNED

    Joined:
    Aug 24, 2009
    Messages:
    37
    Likes Received:
    105
    If i were you, i'd make your explanation a bit more noob friendly ;)

    I think it's sexy though so i gave you some loving by pushing your button
     
  4. ChanzGrande

    ChanzGrande Jr. VIP Jr. VIP Premium Member

    Joined:
    Feb 16, 2008
    Messages:
    2,484
    Likes Received:
    1,159
    Occupation:
    Accountant
    Location:
    Northern Woods Counting Money
    Thanks for pushing my button. I would make it a little more noob friendly, but the fact is - noobs really shouldn't be messing around with Cakeslice/GodCPA anyway.

    It's probably the case that people just haven't discovered the thread, or don't like the solution since it's only a workaround.

    I know it isn't ideal for my situation either, but it's better than not being able to use the cropped iframes at all. :)

    Thanks again for your feedback.
     
  5. wowhaxor

    wowhaxor Executive VIP Premium Member

    Joined:
    Apr 28, 2007
    Messages:
    2,021
    Likes Received:
    3,353
    Location:
    ?¿?
    Home Page:
    This is actually awesome. Previously with my iframes I was telling people in my mailings to use firefox if it didn't load properly, this will be a great addition - you have no idea how much Googling I did to try to find something like this a few months back :)
     
  6. ChanzGrande

    ChanzGrande Jr. VIP Jr. VIP Premium Member

    Joined:
    Feb 16, 2008
    Messages:
    2,484
    Likes Received:
    1,159
    Occupation:
    Accountant
    Location:
    Northern Woods Counting Money
    Actually, I do know how much Googling you did - roughly anyway. It took me quite awhile to find a viable solution as well.

    I'm glad it will help you.