If I have html, like on my own site, then how can it track the event? Is it possible for the browser to start downloading http://google.com in the same window before the tracking request is executed as asynchronous?
<a href="http://google.com" onclick="_gaq.push(['_trackEvent', 'category', 'event']);">click</a>
In the case of using the synchronous API, the browser explicitly waits until the script in onclick is run, but I can not wrap it around this.
source
share