Forum Moderators: DixonJones

Message Too Old, No Replies

Passing a URL

using HTML metatags or javascript?

         

happydud

2:43 pm on Jul 28, 2005 (gmt 0)



Hia. Found this site through google, hoping you guys can help me out! (I'm pretty sure this is the right forum, but sorry in advance if it's not.)

My company uses WebTrends to track website information and statistics.

We have a website using .net that just has one page, main_form. When a user follows a link to another page, it hits a 404, but also tells the server to simulate a redirect to Main_form and create a page by combining other forms and controls, and then we put a fake URL in the URL bar. This works fine, but WebTrends just sees the 404 and logs that, it doesn't record the hits to the other pages. Is there any way we could imbed a javascript header or HTML Metatag to pass the fake URL along to Webtrends, so it records that page as being hit, instead of the 404?
Alternatively, and perhaps preferably, does anyone know of any alternative analysis software like Webtrends that can do this?

Thanks!

[edit- oops. I forgot to finish the subject line.. Oh well.]

encyclo

1:08 am on Jul 30, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to the forums, happydud.

The way your site is set up at the moment makes it totally unspiderable - bots such as Googlebot will see the 404 Not Found header and assume that the page does not exist. Your statistics program is seeing the same thing: all your pages are served with a 404 error code.

The way to fix this is to change your application. When the "fake" URL is called, the server will redirect the URL to the script. What the script should be doing is testing to ensure that there is relevant content associated with that fake URL, and return a 200 OK response, followed by the generated page. Only when there is no appropriate content, the script should return a 404.

larryn

4:54 pm on Aug 1, 2005 (gmt 0)

10+ Year Member



Happy,

Have you looking into using web beacons or page tags to generate your log data?

Larry