Improved efficiency of enableLinkClickTracking (fixes #254)