Using <a href="" can cause conflicts with third-party software

I stumbled upon strange lags, transition animation started about half a second after click on markers or back-forward controls. Short investigation led me to third-party tracking code, which processed every click on <a href="".
This tracking software is bad and should burn in hell, but it is possible for us to circumvent such misbehavior, so let's do it.