These can be built into JavaScript events, like onClick, onMouseOver, onChange etc. and allow for more tracking of user activity on the site.
What to Track
In general any non-page reload / page change functionality - this is very much linked to Google Webmaster Tools and the Parameter handling feature (ie. if you use GET parameters to track page changes eg. showing a Table Of Contents etc.).Generally, any visitor action on the site that doesn't result in a Page Load/Refresh will require an event to track it's behavior - this included embedded Flash movies.
Example Things to Track
File Downloads
User JavaScript 'OnMouseover' events
Select Box Form Changes
Page Scrolling
DIV OnMouseover Events (touch extreme)
Analytics Code
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-XXXXX-X']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>












