homepage Welcome to WebmasterWorld Guest from 54.227.67.175
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld
Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

    
Using JS to get the target URL
I need to get the url where a person is going
Kronos




msg:1474596
 4:38 pm on Jul 24, 2003 (gmt 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!

 

AWildman




msg:1474597
 4:45 pm on Jul 24, 2003 (gmt 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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved