PDA

View Full Version : Java redirect-PLEASE help


Choker2
04-26-2002, 06:37 PM
I'm looking for a java redirect to put on a page, like a meta refresh but one that will include a referring url, so my script can track the traffic as it clicks on my site.. I need to know the exact url it came from and it's productivty. If anyone can help, thanks a million:bounce:

SexySites
04-26-2002, 07:42 PM
<SCRIPT>
function go(url)
{
location.href=url + "?" + document.referrer;
}

</SCRIPT>

this will send to the url specified when go is called in the form:

url?referrer

:D

laters,
Chris