Ok so it's not really new anymore, but I updated the regular tracking code and event tracking code on my company's super outdated website from gaq to ga, and although the page tracking works fine, the event tracking does not. Here's the page tracking code:
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-21883696-1', 'auto');
ga('send', 'pageview');
</script>
And a download event:
<div style="float:left; margin:15px 0 0 7px">
<a href="../checklists/Texas-LLCkit-LawyersAid.pdf" target="_blank" onclick="ga('send', 'event', 'Checklist', 'Download', ‘LLC Book’);">
<img src="../images2/btn_DL_LLCkit.gif"
alt="Download the LLC kit checklist"
/>
</a>
</div>
And here's a link: http://www.lawyersaidservice.com/company-kits/limited-liability-company-kit.php
What am I doing wrong? Thanks in advance!