Click to See Complete Forum and Search --> : how do I onUnload to get target url?


guyoverthere
10-15-2003, 03:04 PM
Say you have a script you are trying to direct through and some links are in flash and such and cant be tracked with the onClick method. I already set up a php script to track linkthroughs. I need to be able to track browser movement, because not all clickouts/change URLs are using href / html codes. I want to be able to track where users go when they leave my site. I want to use this with onUnload and not script every link and I need to find out where they are going and I'm trying to use the onUnload command. How do I do this or is there an alternative way?

Khalid Ali
10-15-2003, 11:58 PM
I seriously doubt there is any way to get that info.
As a matter of fact onunload event is not much reliable at all,becuase browsers do ttrigger theis event but they do not give you enough time to run any usefull actions.

guyoverthere
10-16-2003, 01:53 AM
Would there be any way to do this using javascript or another programming language?

Khalid Ali
10-16-2003, 02:17 AM
I seriously doubt that you can get the information about where the user will go to from your site...