I am trying to fire a Google Analytics Event on a simple image rollover. When clicking the image rollover it needs to go to a URL as well as fire the event. The code that I've tried is below. The only thing that doesn't work is the onclick event.
<a onClick="ga('set', 'nonInteraction', true);ga('send', 'event', 'graphic', 'click', 'Example Title Here',1);" href="#">