I want to track when a button has been clicked on. I have tried multiple ways of doing this and nothing shows up in my Google Analytics. What am I doing wrong?
<a href="#Reserve" class="btn-large btn-primary text-white" onClick="ga([ '_trackEvent', 'button', 'click', 'reserve now' ]);" >RESERVE NOW<span class="glyphicon glyphicon-menu-right pull-right"></span></a>