Welcome to WebmasterWorld Guest from 107.20.75.63

Forum Moderators: open

Message Too Old, No Replies

Using JS to get the target URL

I need to get the url where a person is going

     
4:38 pm on Jul 24, 2003 (gmt 0)

New User

10+ Year Member

joined:July 24, 2003
posts:26
votes: 0


Hi everyone,

I need to find a way to find out where a person is going when it leaves my web site for statistical reasons. I know of the unload function of JS, but is there a way to find out where that person is going? Because I need to know if the person is staying on my site (and just moving to another page) or completely leaving my site...

Thanks!

4:45 pm on July 24, 2003 (gmt 0)

Preferred Member

10+ Year Member

joined:Apr 22, 2003
posts:441
votes: 0


Not really. You cannot see the uri string using Javascript. The best way to know whether the visitor left your site is to check your server logs.