Event Tracking Code for Google Analytics

When there is an on-click event that you wish to track (e.g. a contact form submission) but you don’t have a confirmation page to use when setting up your goals, you can still track conversions. To do that, you'll use Google Analytics' Universal event tracking onclick scripts. They are easy to set up and give you the flexibility to track almost any "event" on your site that requires a click.