$('a[href$=".pdf"]').click(function(){ | |
ga('send', { | |
hitType: 'event', | |
eventCategory: 'Download', | |
eventAction: 'PDF', | |
eventLabel: this.href | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment