title: google maps - track click event on info window content
body: <p>my google map code is:</p>
  
  <pre><code>function initialize(mapdata){
      var LatLng=new google.maps.LatLng(mapdata[0],mapdata[1]);
      var myOptions= {
          zoom:16,
          scaleControl:true,
          streetViewControl:false,
          panControl:true,
          mapTypeControl:true,
          center:new google.maps.LatLng(mapdata[0],mapdata[1]),
          mapTypeId:google.maps.MapTypeId.ROADMAP
      };
      var map=new google.maps.Map(document.getElementById("map"), myOptions);
      document.getElementById("map").style.height="200px";
      document.getElementById("map").style.width="450px";
      var infowindow=new google.maps.InfoWindow();
      var marker=new google.maps.Marker({position:LatLng});
      marker.setMap(map);
      google.maps.event.addListener(marker,'mouseover',function(){
          infowindow.setContent(&lt;div style="text-align:right; font-size:8pt; color:black;"&gt;click here&lt;a href="http://www.google.com/"&gt;&lt;/a&gt; &lt;/div&gt;');
          infowindow.open(map,marker);
      });
  }
  </code></pre>
  
  <p>my question is how can I track with analytics after a click event in the info window content?</p>
  
  <p>Thanks in advance,
  Irena</p>