Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

HTML
<script type="text/javascript">
   AJS.$("div.wiki-content > ul > li > a").click(function() {
        var title = AJS.$(this).attr("title");
        if (!title) {
            title = "Untitled Plugin";
        }
        title = title.replace("'", "_");

        _gaq.push(['_setAccount', 'UA-940435-14']);
        _gaq.push(['_trackEvent', 'Follow links', 'TeamCity ::Plugins "- ' + title + "']);
   });
</script>