views:

50

answers:

2

i want to find out the websites that are people are coming from when they come on my website. so lets say someone comes from google.com or yahoo.com or someone came through email or somewhere else. how can i do this?

+4  A: 

I assume you are using ASP.NET:

Dim myReferrer As String = Request.UrlReferrer.ToString()

myReferrer now contains the URL of the referring page.

Cocowalla
cool thanks. gonna try this
ader
+1  A: 

HttpContext.Current.Request.UrlReferrer should do the trick

Matt Greer