posted 21 years ago
Hi,
Whenever customer access our web site from third party we recieve the referer in HTTP header but unfortunately the way out site function is that "entry" page loads twice and hence we lose the "referer" information and its very difficult to know where customer went after the entry page. Here is the flow:
- Let say customer access our site from yahoo.com
- It hit the home page and HTTP header contains referer as "yahoo.com"
- Now "home page" is entry page, before displaying the home page content, we send some javascript to capture browser information (using third party software BrowserHawk) and browser itself calls entry page using "location.replace". Now with this secound request, we lost the referer to this site.
Now in this case, I was wondering if I can either set the referer or preserve the referer from origonal request which is for site trafic analysis purpose. One way is to set it as a parameter but that may not be very effective compare to setting referer in HTTP header.
Thanks in advance.
SK