Forum Moderators: Robert Charlton & goodroi
<a href="http://other-site.example.com" onclick="javascript: this.href='http://my-site.example.com/links/logclick/?link=1370&site=109568&goto=http%3a%2f%2fwww.out-website.com">text</a>
I have no possibility to change this in a normal textual link. Otherwise I woiuld not here.
My questions are:
Do these kind of links pass the pr?
Do these kind of links considerated cloaking?
[edited by: Receptional_Andy at 10:53 am (utc) on Jan. 14, 2009]
[edit reason] Please use example.com - it can never be owned [/edit]
Completely javascript links do not pass PageRank. However that link style only includes some javascript - there IS still a direct href attribute in the anchor element, so it is a normal link that can pass PageRank.
Cloaking means serving googlebot different source code than you serve to a browser. Google may not execute the javascript, but as long as you serve it to googlebot and to browsers, it's not cloaking.
I only scare that google could think: hey you have a website on href, but you have another on onclick(). What are you doing?
Google could be right because they are different websites even if they point to the same external website.
What do you think?