SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Feb 2009
    0 Post(s)
    0 Thread(s)

    Will IFRAME give appropriate credit for ad clicks?

    I have a question about the details of how HTML's "iframe" tag actually works.

    Background: My site will allow users to type in a URL, and the request will be sent to my server, which will send back two "divs" to the user (two windows on the page): one will be an iframe where src= the url they typed in (thus displaying the website, ads and all), the second window will be my "sentence diagramming/grammar analysis" display. I plan for the former to occupy most space on the page, with my window as a sidebar.

    Now my intention is to play nice and if users actually click on an ad on the target site, the owner of that site will actually get credit for the click. Will this happen if they are viewing the site through an iframe sent by my server?

    If not, then I fear I may encounter some legal issues down the road, and my alternative would be to open either their site or my analysis tool in a separate window. This would work, but would be far less elegant.

    I'm not asking about the legal issues here (although if anyone has thoughts I'd be happy to hear them), but technically, will the target site get credit for ad clicks through the iframe tag?



  2. #2
    Programming Since 1978 silver trophybronze trophy felgall's Avatar
    Join Date
    Sep 2005
    Sydney, NSW, Australia
    25 Post(s)
    1 Thread(s)
    The ads will be credited to whoever's ad account code is used to display the ads. The only difference placing ads in an iframe might make is where the ads are context sensitive there is no content for them to use to work out what ad to display (since the ad code can't see outside the iframe) and so irrelevant ads will display.
    Stephen J Chapman, Book Reviews, follow me on Twitter
    HTML Help, CSS Help, JavaScript Help, PHP/mySQL Help, blog
    <input name="html5" type="text" required pattern="^$">

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts