Forum Moderators: DixonJones
I'm thinking that a possible way to do this would be to build a custom 404 page and put WebTrends Live tracking script on it... but I don't know if this would work, and if it would report which page was originally requested.
I've been through all the help files and cannot locate any information about tracking 404's. Maybe a support request to WTL will provide information on this subject, I'd like to find out too. As a matter of fact, I'm sending in a request right after this reply.
P.S. I replied to your sticky.
If you want to get away from looking at your physical log files for the 404 errors, your only option to track them would be to use a customized 404 page. Essentially, the problem is the page view is sent to us via a cookie when the page executes the JavaScript. Well, if there is not a page to execute the script, you won't get a cookie sent to WebTrendsLive. So, you can either look at the web server's log files or use a custom 404 page.Many web servers can be configured to serve up a static html page when a 404 or other type error code is presented. These pages usually consist of a company logo and any other important information (webmaster email address, etc). You can put the tracking code on this page and it will submit a view to us on a 404 error.
FYI, it's the cs-uri-query field of the typical log.
I run a server-side script that writes some of the info about what the visitor was looking for to a table in my database, but you could just as easily have it write to a text file that you could look at from time to time. It's also helpful to see what kind of hacker attacks you're getting.