One of the drawbacks of using Google Analytics is the loss of error page reporting – I’ve faked it by creating a custom error page in Apache with this configuration:
ErrorDocument 404 /error.html
My error page document is in fact a slightly customized archive template with some custom additions to the urchinTracker() code for Analytics. I found a simple and good example here: Advanced Google Analytics 404 Error Page