Link question

Discussion in 'Link Development' started by durango, Oct 20, 2005.

  1. #1
    I don't know if this is too technical for this forum, but here goes.

    Would Google see the following link and count it as a backlink for www.xyz.com, assuming the link is on www.zyx.com:

    
    <a href="http://www.xyz.com" onclick="window.open('http://www.zyx.com/go.php?u=http://www.xyz.com'); return false;">XYZ.COM</a>
    
    Code (markup):
    In essence, the href is pointing to www.xyz.com, but the javascript tells the browser to open a new window with a page from zyx.com instead.

    Reason for the question: I'd like to track the clicks, but also give backlink credit to the site I'm linking to.
     
    durango, Oct 20, 2005 IP
  2. just-4-teens

    just-4-teens Peon

    Messages:
    3,967
    Likes Received:
    168
    Best Answers:
    0
    Trophy Points:
    0
    #2
    yes they would count it as a backlink since its still has a clean <a href=""> section
     
    just-4-teens, Oct 20, 2005 IP
    durango likes this.
  3. sarahk

    sarahk iTamer Staff

    Messages:
    28,808
    Likes Received:
    4,534
    Best Answers:
    123
    Trophy Points:
    665
    #3
    Yes it would, because Google won't be reading the javascript - and even when it does the others will lag behind. Check out my onclick experiment
     
    sarahk, Oct 20, 2005 IP
    durango likes this.