Event Link Tracking in Content Block

Permalink
I am trying to set up Google Analytics event tracking on a number of text links. The content is added via content block and links added to text.
When clicking into 'Insert/edit link' and then viewing the Events Tab I have inserted event tracking code into the 'onClick' field, however this doesn't appear to be working correctly as no events have been logged in analytics. I have tried the code in the following 2 formats.
onClick="ga('send', 'event', 'Category' 'Action', 'Label');"
ga('send', 'event', 'Category' 'Action', 'Label');"
Please can you advise which format the tracking code should be inserted in?

1 Attachment