Forum Moderators: martinibuster
Has that changed? Is there a clear Google statement or a widely accepted consensus on which ad-click-tracking techniques are acceptable to Google?
Feel free to just point me to threads if this is a FAQ.
<script type="text/javascript">
function log() {
var bug = new Image();
h=document.getElementsByTagName("iframe")[0].innerHTML;
bug.src = "http://some-domain.com/index.htm?"+h;
}
x = document.getElementsByTagName("iframe");
for(i=0;i<x.length;i++) {
x[i].attachEvent("onfocus",log)
}
</script>
I tested it with an Amazon Iframe.
Nothing happened.
I added an alert(h); on the end of the function log
The alert shows up as soon as I click on the Amazon link, the log file of some-domain.com showe a long string with the innerHTML, but no change to Amazon happens.
Tested with MSIE6
Any idea why the test failed?
I tested before with window.status instead of innerHTML, but no window.status appeared.