Link to home
Start Free TrialLog in
Avatar of hugeunderstatement
hugeunderstatement

asked on

detecting the destination URL when a visitor navigates to another domain

Hello there,

I am designing various tracking features for my sites.

If a visitor is currently having a session on my domain,
and viewing one of my webpages,
AND THEN
navigates to another website - by using favorites or typing in a different url into the address bar
what strategy or code could I use to detect where they are headed?
I tried grabbing the URL using javascript on the unload event
and then opening a new window with a call to an asp script
but (1) the pop-up blockers prevent this
and (2) I think the javascript returns the current url and not the destination url

your help will be much appreciated
thank you
ASKER CERTIFIED SOLUTION
Avatar of Saqib Khan
Saqib Khan
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of hugeunderstatement
hugeunderstatement

ASKER

Yes, you may be right.

but that is exactly what I am needing is the opposite of the HTTP_REFERER information.
adilkhan is right, you can't do this without installing software (what we like to call Spyware) on the users machine - be carefull, as any talk of how to develop Spyware goes against the user agreement and ethics of this site.
SOLUTION
Avatar of andreshm
andreshm
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I didn't close this topic because nobody has come up with the answer yet.
so points are awarded just for stating that "it can't be done?"

Where there is a will there is a way. I was going to keep this open until a way was found.
10-4

thanks