I am trying to add custom event tracking to a link on a site I built. For some reason it does not seem to be working. The code I have is:
onClick="_gaq.push(['_trackEvent', 'SOU Links', 'Click', 'Top edu banner']);"
The site URL is http://sou.wpengine.com/. The link with the event tracking is the "Sign Up Now" link at the top of the page. Any ideas?
It appears you're using the advanced configuration setup described by google here. To track events, you'll want to use the event tracking methods described by google here.
Hope this helps.
Adding another helpful link: https://developers.google.com/analytics/devguides/collection/gajs/eventTrackerGuide
This will work for older tracking version: Tracking Basics (Asynchronous Syntax)