I have a php file generating XHTML content and I use
at the top of the page to d
Have you tried removing the javascript from the inline anchor element and creating a listener which is wrapped in a CDATA tag?
Example:
<a id="my_anchor" href="someZip.zip">Click me</a>
<script type="text/javascript">
/* <![CDATA[ */
// Ensure scope for _gaq ....
// Jquery syntax..
$('#my_anchor').click(function()
{
_gaq.push(['_trackEvent', 'Item', 'Download', 'file-name']);
});
/* ]]> */
</script>