Posted: Thu May 15, 2008 6:13 am Use of referrer to identify visitor history
I wish to identify visitors of my website coming from <xxxdomain.com/page1.htm>. I used this code, which works fine
<SCRIPT LANGUAGE=JAVASCRIPT TYPE="TEXT/JAVASCRIPT">
<!-- Hide script from old browsers<br>
if (document.referrer = "<xxxdomain.com/page1.htm>")
. . . . . . . . . . .
//-- Stop hiding script -->
</SCRIPT>
How could I identify visitors from a given domain (xxxdomain.com)(not from a specific URL address)? Can I use wildcard * or some other syntax to do so?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum