Y T Nuke  
Results 1 to 7 of 7
Can google see the referer for pages on which there are adsense ads? As far ...
  1. #1
    champpion2 is offline Newbies
    Join Date
    Jul 2009
    Posts
    7
    Reputation
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Adsense and referers

    Can google see the referer for pages on which there are adsense ads?

    As far as I know, an iframe sees the page on which it's embedded on as the referer, but I could be wrong.

  2. #2
    angelas111's Avatar
    angelas111 is online now Jr. VIP
    Join Date
    Jan 2009
    Location
    ohio
    Posts
    1,430
    Reputation
    242
    Thanks
    705
    Thanked 875 Times in 428 Posts

    Default Re: Adsense and referers

    yes, absolutely. make sure to hide your referer if you have a questionable source of traffic.


    and keep in mind.........the big "g" can see way more than your regular affiliate networks.

  3. #3
    champpion2 is offline Newbies
    Join Date
    Jul 2009
    Posts
    7
    Reputation
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Adsense and referers

    Any idea on how it's done?

    I tried to recreate it with the following scenario:



    First, we have ref.php
    Loading this script will simply display "none".

    ref.php
    Code:
    <?php
    
    if (isset($_SERVER['HTTP_REFERER'])) echo $_SERVER['HTTP_REFERER'];
    else echo 'none';
    
    ?>
    If we link to it with link.php, ref.php to display "link.php" as the referring site.

    link.php
    Code:
    <a href="ref.php">link</a>
    iframe.php places ref.php in an iframe. If we load iframe.php directly we will see "none" as the referer to iframe.php, and "iframe.php" as the referer to ref.php.

    iframe.php
    Code:
    <?php
    
    if (isset($_SERVER['HTTP_REFERER'])) echo $_SERVER['HTTP_REFERER'];
    else echo 'none';
    
    ?>
    
    <br />
    <iframe src="ref.php" width="400" height="100"></iframe>
    Now if we change link.php to link to iframe.php instead of ref.php, we will see "link.php" as the referer to iframe.php, but ref.php will keep detecting "iframe.php" as the referer. It will not detect link.php. The attachment shows the output.

    link.php
    Code:
    <?php ?><a href="iframe.php">link</a>

    So in essance, link.php is the site that sends you traffic, iframe.php is your site, and ref.php is the google ad. In the above example, there is no way for ref.php to find out about link.php.

    So how does google do it? It has access to the same headers as everyone else does.
    Attached Images Attached Images

  4. #4
    oldenstylehats's Avatar
    oldenstylehats is offline trophaeum's bitch
    Join Date
    Apr 2008
    Posts
    1,895
    Reputation
    63
    Thanks
    630
    Thanked 1,177 Times in 437 Posts

    Default Re: Adsense and referers

    I actually wrote a bit about referer leaking with iframes yesterday on the bhz blog. Iframes, under certain conditions with certain browsers, will absolutely leak the referer, even with various cloaking mechanisms in between.

    On top of that, in my humble opinion, the biggest issue with trying this with AdSense is that it is programmatically very simple to follow iframe stacks "up" and "down" if you have as much indexed site information as Google. Unless your top level blog wasn't indexed by Google, it would only be a matter of time.

    That said, as far as I know, Google only discourages displaying ads in iframes because the spider isn't able to capture the text on the same page as the ad, hence less relevant ads. I don't believe they've outlawed it completely, but I may be wrong. AdSense isn't really something I spend too much time thinking about

  5. The Following User Says Thank You to oldenstylehats For This Useful Post:

    Nhoc.SieuWay (01-14-2010)

  6. #5
    johntan09 is offline BANNED
    Join Date
    Dec 2009
    Posts
    249
    Reputation
    9
    Thanks
    5
    Thanked 64 Times in 20 Posts

    Default Re: Adsense and referers

    I agreed with you oldenstylehats. It is better to play safe otherwise, use a dummy adsense account to test out. Better to be safe than sorry.

  7. #6
    champpion2 is offline Newbies
    Join Date
    Jul 2009
    Posts
    7
    Reputation
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Adsense and referers

    What if you put all the content on your site (including the ads) in an iframe? This way the ad has access to the keywords but will only see your iframe parent as the referer. Any reason this wouldn't work?

  8. #7
    goawayplease is offline Regular Member
    Join Date
    Apr 2008
    Posts
    301
    Reputation
    14
    Thanks
    57
    Thanked 65 Times in 38 Posts

    Default Re: Adsense and referers

    Quote Originally Posted by champpion2 View Post
    What if you put all the content on your site (including the ads) in an iframe? This way the ad has access to the keywords but will only see your iframe parent as the referer. Any reason this wouldn't work?
    You could iframe a white-hat site's adsense block kinda like cakeslicing a cpa ad.

    You could content cloak, and insert the iframe whenever a human user is there, when in doubt insert adbrite or some other contextual adverts.

    As for relevancy, just create low value white-hat content keyed into your splog niche and host it on a parasite that allows adsense.

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