Skip to content

Resources

Back To Top document.querySelectorAll('a[href$=".pdf"]').forEach(function(link) { link.addEventListener('click', function() { gtag('event', 'file_download', { 'event_category': 'Documents', 'event_label': link.href, 'page_path': window.location.pathname // This sends the current page path }); }); });