Firing 2 google analytics events with an outbound link
问题 I have outbound links like this in my html: <a href="http://www.example.com" class="gaLink1" target="_blank" onCLick="ga_track_link('action', '123', 'abcde', 'fghij')"> <img src="http://www.example.com/image.jpg" alt="image name" height="180" style="max-width:153px;max-height:150px;" /> </a> So, When there is a click on this image, the link www.example.com should open in a new tab, since there is target="_blank". Also, the onCLick event will call the function ga_track_link which is defined as