Forum Moderators: martinibuster
var elements = document.getElementsByTagName("iframe");
for (var i = 0; i < elements.length; i++)
{
if(elements[i].src.indexOf('googlesyndication.com') > -1)
{
elements[i].onfocus = TrackIt;
}
}
It looks like it should pick up each ad unit and tell it to call 'TrackIt' on focus, does anyone out there see any problems with this? Possibility of missing clicks or double counting, etc?
Thanks for your help
Aaron
Thanks again
Aaron