piwik/piwik — pull request #5850 by Sija (2014-07-16 20:39:04+00:00)
Title: Support for passing callback argument

Implemented in the API #trackLink method, as it’s the one in which using callback makes most sense but it can be added to all of the other methods as well.

Somewhere in the code where link `click` is being caught:
`_paq.push(['trackLink', url, type, {}, function() { window.location = url }])`

In this way we don't block the UI in `#beforeUnloadHandler` function.