I found the solution:
PHP Code:
function adSenseClick() {
(new Image()).src = '/AdSenseTracker.php?Q=bwidgets&D=http://widgets.com/';
}
...which is the call I started with. The real problem is this:
HERE'S THE REAL PROBLEM...
Google's iframe sets the anchors to "target=_top". I changed the anchor targets in my test Google iframe to "_blank" vs. "_top" and it works great. It definitely seems that the problem lies with the JavaScript not executing before the visitor leaves the page.
Anyone know how to override the anchor target in a frame you have no control over?
.