On my site I have a number of banner ads which link to my WordPress technical support page. I wanted to see if I could measure performance of these banner ads.
There are a number of plugins out there which will track clicks on ads, but I wanted to use Google analytic s which I use for all of my other monitoring needs.
Here is a quick video posts to show you how to track clicks on your banner ads, be they internal links or off site links to affiliate or other sites.
Here is a copy of the code I used in my sidebars
<a href="https://wpdude.com/wordpress-technical-support" onClick="_gaq.push(['_trackEvent', 'CTA', 'Click', 'Sidebar banner ad']);">
<img src="https://wpdude.com/wp-content/uploads/2011/05/WPDUDE_techsupp_250x250.png" /></a>
Image by m4tik