The following snippet will make it easier to find content that is erroring:
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-XXXXXX-X']);
_gaq.push(['_setDomainName', 'xxxxxxx.com']);
<% if(title.indexOf('404') != -1 ) { %>
_gaq.push(['_trackPageview'],'/404.html/?url=' + document.location.pathname + document.location.search + '&ref=' + document.referrer]);