This should fix #9924
I tested it in Chrome and Firefox so far. If website was already loaded we will now execute the enableLinkTracking logic directly.
@tsteur do you mind testing that it still works fine on IE10 / IE11 or so?
Once confirmed +1 to merge this PR :+1: (note: there is currently a conflict, maybe you can remove the merged piwik.js from the commit)
Tested on IE10 and works. Will merge and do afterwards some more tests
I tested with IE8 and the callback works. I had some other problems tracking outlinks on IE8 but that was due to debugging mode likely.