function trackDownloadEvent(e){if("undefined"!=typeof e.text||"undefined"!=typeof e.className||"undefined"!=typeof e.href){var n=e.className.toUpperCase()+": "+e.text+" ["+e.href.substring(e.href.lastIndexOf("/")+1)+"]",t={category:"Files",action:"Download",label:n};sendEvent(t)}}function sendEvent(e){"undefined"==typeof e.category&&"undefined"==typeof e.action&&"undefined"==typeof e.label||ga("send",{hitType:"event",eventCategory:e.category,eventAction:e.action,eventLabel:e.label})}!function(e){e("body").on("click",".downloads a",function(n){var t=e(this);"undefined"!=typeof t[0]&&trackDownloadEvent(t[0])})}(jQuery);