Solved

detecting the destination URL when a visitor navigates to another domain

Posted on 2004-08-15
11
414 Views
Last Modified: 2008-03-03
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
0
Comment
Question by:hugeunderstatement
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
11 Comments
 
LVL 23

Accepted Solution

by:
Saqib Khan earned 250 total points
ID: 11807152
I dont think its possible.
The Reverse of this is possible by using HTTP_REFERER.
0
 

Author Comment

by:hugeunderstatement
ID: 11807213
Yes, you may be right.

but that is exactly what I am needing is the opposite of the HTTP_REFERER information.
0
 
LVL 5

Expert Comment

by:LlamaJoe
ID: 11807244
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.
0
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

 
LVL 3

Assisted Solution

by:andreshm
andreshm earned 250 total points
ID: 11807253
The only way to track what comes to your site (HTTP_referrer), is actually when someone clicks a link to your site from somewhere else.
If someone types your website on the address bar or comes from  a favortire link... there is no referrer. Same thing happens when you want to track where your visitors go. If they type  something in the address bar when viewing your site -  as far as I know - is impossible. However If you have links (to other websites) in your site you can track where are they going, and from which page are they leaving. just make a "redirect page.asp" and point all your links there, telling the script  what website should be visited. the page can save to a database the information of the page they want to visit, where the click was originated and then jump to the desired site.
0
 

Author Comment

by:hugeunderstatement
ID: 12769861
I didn't close this topic because nobody has come up with the answer yet.
0
 

Author Comment

by:hugeunderstatement
ID: 12769866
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.
0
 

Author Comment

by:hugeunderstatement
ID: 12795755
10-4

thanks
0

Featured Post

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
ASP SQL Syntax Duplicate Key 7 116
wordpress display sub menu only when click 12 75
Select record with the most recent date 14 71
Building JSON Results Table FROM DB 9 37
I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
This demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming/…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question