Added analytics to error page.