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

Is this referer assumption right? Involves = Iframe + Redirection + Referer

Discussion in 'Cloaking and Content Generators' started by clickwhale, Nov 16, 2013.

  1. clickwhale

    clickwhale Jr. VIP Jr. VIP Premium Member

    Joined:
    Jun 23, 2010
    Messages:
    312
    Likes Received:
    77
    Hi guys,
    Tell me if this is correct...

    1) Let's say mysecretsite.com loads my vendor's sales page in an iframe.

    2) But the iframe is loaded as a redirection. Meaning the iframe's src would be ="myapprovedsite.com/vendor/" which is actually redirected to vendor's site as a normal affiliate redirection.

    So tell me, will the vendor see the refferer as myapprovedsite.com/vendor/ or mysecretsite.com

    Thanks,
    ClickWhale
     
  2. lmxftw

    lmxftw BANNED BANNED

    Joined:
    Mar 11, 2013
    Messages:
    1,010
    Likes Received:
    1,179
    hmmm... i think the vendor will see the iframe link as that's the entry point to his website

    but try it yourself... just load the iframe and redirect it to one of your own sites through myapprovedsite.com/vendor/ and you'll be able to see the referrer with a plugin like StatPress Visitors for WP :)

    tell us how it went!
     
  3. clickwhale

    clickwhale Jr. VIP Jr. VIP Premium Member

    Joined:
    Jun 23, 2010
    Messages:
    312
    Likes Received:
    77
    Missed the big elephant in the room!
    Will check asap, any suggestions to check the referer with a firefox addon? (Don't want to waste time setting up a wp plugin)
     
  4. lmxftw

    lmxftw BANNED BANNED

    Joined:
    Mar 11, 2013
    Messages:
    1,010
    Likes Received:
    1,179
    i see that plugin as a must for any wp website so you might want to install it anyway...

    i think you can see it in Firefox by enabling the web console ... CTRL+SHIFT+K



     
  5. TZ2011

    TZ2011 Senior Member

    Joined:
    Jun 26, 2011
    Messages:
    832
    Likes Received:
    863
    Occupation:
    Cleaning servers
  6. clickwhale

    clickwhale Jr. VIP Jr. VIP Premium Member

    Joined:
    Jun 23, 2010
    Messages:
    312
    Likes Received:
    77
    Odd! It's not working...

    1) Installed statpress visitors on site 3.

    2) Setup a simple redirect on site 2. So now site2.com/middle-page/ redirects to site3.com/final-page

    3) One site1.com, setup iframe with src=site2.com/middle-page/ which redirects to the site 3's final page.

    Based on above, the site 3 stats should show referer as site2.com/middle-page right?
    But its NOT! It's still showing site1 as the referrer...

    What am I missing??
     
  7. ypaul

    ypaul Newbie

    Joined:
    Feb 5, 2012
    Messages:
    8
    Likes Received:
    0
    Occupation:
    Web Designer& Developer & IM(Newbi)
    Location:
    India
    clickwhale It'll show site1 as refferar as i understand, when you put something in i frame or load other website, or redirect it,

    at the end your ref. website will be site1 because you are using any php & JS to do this,

    Your host website is site1, site2 is guest website.

    as i know the iframe. Sorry if made this complicted for you. but this is what i understand you must use some php script for this it'll definatly work.