to make sure everything is passed correctly, I would use this syntax:
ga('set', 'nonInteraction', true);
ga('send', 'event', 'category', 'action', 'label', value);
So with the onClick event, it would be:
onClick="ga('set', 'nonInteraction', true);ga('send', 'event', 'category', 'action', 'label', value);"
Also, if you are sending event value, make sure it's an INTEGER. Otherwise, the event won't fire at all.